Package org.apache.axiom.om

Examples of org.apache.axiom.om.NodeUnavailableException


            IParentNode parent = node.getIParentNode();
            if (parent != null && parent.getBuilder() != null) {
                switch (parent.getState()) {
                    case IParentNode.DISCARDED:
                        ((StAXBuilder)parent.getBuilder()).debugDiscarded(parent);
                        throw new NodeUnavailableException();
                    case IParentNode.INCOMPLETE:
                        do {
                            OMContainerHelper.buildNext(parent);
                        } while (parent.getState() == IParentNode.INCOMPLETE
                                && (nextSibling = node.getNextOMSiblingIfAvailable()) == null);
View Full Code Here


        OMNode firstChild = that.getFirstOMChildIfAvailable();
        if (firstChild == null) {
            switch (that.getState()) {
                case IParentNode.DISCARDED:
                    ((StAXBuilder)that.getBuilder()).debugDiscarded(that);
                    throw new NodeUnavailableException();
                case IParentNode.INCOMPLETE:
                    do {
                        buildNext(that);
                    } while (that.getState() == IParentNode.INCOMPLETE
                            && (firstChild = that.getFirstOMChildIfAvailable()) == null);
View Full Code Here

        if (container.getState() == IContainer.DISCARDED) {
            StAXBuilder builder = (StAXBuilder)container.getBuilder();
            if (builder != null) {
                builder.debugDiscarded(container);
            }
            throw new NodeUnavailableException();
        }
        if (cache) {
            INode child = (INode)container.getFirstOMChild();
            while (child != null) {
                child.internalSerialize(this, format, true);
View Full Code Here

TOP

Related Classes of org.apache.axiom.om.NodeUnavailableException

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.