Examples of OMContainerEx


Examples of org.apache.axiom.om.impl.OMContainerEx

                    elementName,
                    false);
            ((OMNodeEx) lastNode).setNextOMSibling(node);
            ((OMNodeEx) node).setPreviousOMSibling(lastNode);
        } else {
            OMContainerEx e = (OMContainerEx) lastNode;
            node = constructNode((OMElement) lastNode, elementName, false);
            e.setFirstChild(node);
        }

        if(isDebugEnabled) {
            log.debug("Build the OMElelment " + node.getLocalName() +
                    "By the StaxSOAPModelBuilder");
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

        node = omfactory.createOMText(contentID, (OMElement) lastNode
            .getParent(), this);
        ((OMNodeEx) lastNode).setNextOMSibling(node);
        ((OMNodeEx) node).setPreviousOMSibling(lastNode);
      } else {
        OMContainerEx e = (OMContainerEx) lastNode;
        node = omfactory.createOMText(contentID, (OMElement) lastNode,
            this);
                 e.setFirstChild(node);
      }
      return node;

    } else {
      return super.createOMElement();
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

        node = omfactory.createOMText(contentID, (OMElement) lastNode
            .getParent(), this);
        ((OMNodeEx) lastNode).setNextOMSibling(node);
        ((OMNodeEx) node).setPreviousOMSibling(lastNode);
      } else {
        OMContainerEx e = (OMContainerEx) lastNode;
        node = omfactory.createOMText(contentID, (OMElement) lastNode,this);
                e.setFirstChild(node);
      }
      return node;
    } else {
      return super.createOMElement();
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

            node = omfactory.createOMElement(elementName, null,
                    lastNode.getParent(), this);
            ((OMNodeEx) lastNode).setNextOMSibling(node);
            ((OMNodeEx) node).setPreviousOMSibling(lastNode);
        } else {
            OMContainerEx e = (OMContainerEx) lastNode;
            node = omfactory.createOMElement(elementName, null,
                    (OMElement) lastNode, this);
            e.setFirstChild(node);
        }
        populateOMElement(node);
        return node;
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

            e = factory.createOMElement(localName, null, lastNode.getParent(),
                    null);
            ((OMNodeEx)lastNode).setNextOMSibling(e);
            ((OMNodeEx)e).setPreviousOMSibling(lastNode);
        } else {
            OMContainerEx parent = (OMContainerEx) lastNode;
            e = factory.createOMElement(localName, null, (OMElement) lastNode,
                    null);
            parent.setFirstChild(e);
        }
        return e;
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

                            new String(ch,
                                    start, length));
            ((OMNodeEx)lastNode).setNextOMSibling(node);
            ((OMNodeEx)node).setPreviousOMSibling(lastNode);
        } else {
            OMContainerEx e = (OMContainerEx) lastNode;
            node = factory.createOMText(e, new String(ch, start, length));
            e.setFirstChild(node);
        }
        lastNode = node;
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

                    "Parser already accessed!");
        }
        if (!cache) {
            parserAccessed = true;
            // Mark all containers in the hierarchy as discarded because they can no longer be built
            OMContainerEx current = target;
            while (elementLevel > 0) {
                discarded(current);
                current = (OMContainerEx)((OMElement)current).getParent();
                elementLevel--;
            }
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

     * For internal use only.
     */
    // This method expects that the parser is currently positioned on the
    // end event corresponding to the container passed as parameter
    public void reenableCaching(OMContainer container) {
        OMContainerEx current = target;
        while (true) {
            discarded(current);
            if (elementLevel == 0) {
                if (current != container || current != document) {
                    throw new IllegalStateException();
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

                                     false);
                ((OMNodeEx) lastNode).setNextOMSibling(node);
                ((OMNodeEx) node).setPreviousOMSibling(lastNode);
            }
        } else {
            OMContainerEx e = (OMContainerEx) lastNode;
            node = constructNode((OMElement) lastNode, elementName, false);
            e.setFirstChild(node);
        }

        if (isDebugEnabled) {
            log.debug("Build the OMElement " + node.getLocalName() +
                    " by the StaxSOAPModelBuilder");
View Full Code Here

Examples of org.apache.axiom.om.impl.OMContainerEx

                    Object dh = node.getDataHandler();
                    String dhClass = (dh==null) ? "null" : dh.getClass().toString();
                    log.debug("The datahandler is " + dhClass);
                }
            } else {
                OMContainerEx e = (OMContainerEx) lastNode;
                node = omfactory.createOMText(contentID, (OMElement) lastNode,
                                              this);
                e.setFirstChild(node);
            }
            return node;

        } else {
            return super.createOMElement();
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.