Class OMStAXWrapper

  • All Implemented Interfaces:
    XMLStreamConstants, XMLStreamReader, org.apache.axiom.om.OMAttachmentAccessor, org.apache.axiom.om.OMXMLStreamReader

    public class OMStAXWrapper
    extends org.apache.axiom.om.impl.OMStAXWrapper
    Empty subclass of OMStAXWrapper to keep compatibility with existing code.
    • Constructor Detail

      • OMStAXWrapper

        public OMStAXWrapper​(org.apache.axiom.om.OMXMLParserWrapper builder,
                             org.apache.axiom.om.OMContainer startNode)
        When constructing the OMStaxWrapper, the creator must produce the builder (an instance of the OMXMLparserWrapper of the input) and the Element Node to start parsing. The wrapper will parse(proceed) until the end of the given element. Hence care should be taken to pass the root element if the entire document is needed.
        Parameters:
        builder -
        startNode -
      • OMStAXWrapper

        public OMStAXWrapper​(org.apache.axiom.om.OMXMLParserWrapper builder,
                             org.apache.axiom.om.OMContainer startNode,
                             boolean cache)
        Constructor OMStAXWrapper.
        Parameters:
        builder -
        startNode -
        cache -