Package org.apache.xmlbeans.samples.any

Examples of org.apache.xmlbeans.samples.any.StringelementDocument.newCursor()


        // Create a simple <stringelement> and move it into place
        // under <arrayofany>.
        StringelementDocument stringElementDoc =
            StringelementDocument.Factory.newInstance();       
        stringElementDoc.setStringelement("some text");
        XmlCursor childCursor = stringElementDoc.newCursor();
        childCursor.toFirstContentToken();

        // Add a cursor to mark the position at which the new child
        // XML will be moved.
        XmlCursor arrayCursor = arrayOfAny.newCursor();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.