Package org.apache.axiom.om.impl.common

Examples of org.apache.axiom.om.impl.common.INode


                builder.debugDiscarded(container);
            }
            throw new NodeUnavailableException();
        }
        if (cache) {
            INode child = (INode)container.getFirstOMChild();
            while (child != null) {
                child.internalSerialize(this, format, true);
                child = (INode)child.getNextOMSibling();
            }
        } else {
            // First, recursively serialize all child nodes that have already been created
            INode child = (INode)container.getFirstOMChildIfAvailable();
            while (child != null) {
                child.internalSerialize(this, format, cache);
                child = (INode)child.getNextOMSiblingIfAvailable();
            }
            // Next, if the container is incomplete, disable caching (temporarily)
            // and serialize the nodes that have not been built yet by copying the
            // events from the underlying XMLStreamReader.
            if (!container.isComplete() && container.getBuilder() != null) {
View Full Code Here

TOP

Related Classes of org.apache.axiom.om.impl.common.INode

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.