Package org.apache.axiom.om.impl.llom
Class OMStAXWrapper
- java.lang.Object
-
- javax.xml.stream.util.StreamReaderDelegate
-
- org.apache.axiom.om.impl.OMStAXWrapper
-
- org.apache.axiom.om.impl.llom.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.OMStAXWrapperEmpty subclass ofOMStAXWrapperto keep compatibility with existing code.
-
-
Field Summary
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description 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.OMStAXWrapper(org.apache.axiom.om.OMXMLParserWrapper builder, org.apache.axiom.om.OMContainer startNode, boolean cache)Constructor OMStAXWrapper.
-
Method Summary
-
Methods inherited from class org.apache.axiom.om.impl.OMStAXWrapper
enableDataSourceEvents, getBuilder, getDataHandler, getDataSource, isAllowSwitching, isClosed, isInlineMTOM, releaseParserOnClose, setAllowSwitching, setInlineMTOM, setNamespaceURIInterning, setParser
-
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, setParent, standaloneSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
-
-
-
-
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-
-
-