Package org.apache.xmlbeans.samples.any

Examples of org.apache.xmlbeans.samples.any.StringelementDocument


     */
    private Arrayofany buildArrayOfAny(Arrayofany arrayOfAny)
    {
        // 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

Related Classes of org.apache.xmlbeans.samples.any.StringelementDocument

Copyright © 2018 www.massapicom. 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.