org.apache.axiom.om.impl.llom
Class OMStAXWrapper

java.lang.Object
  extended by javax.xml.stream.util.StreamReaderDelegate
      extended by org.apache.axiom.om.impl.OMStAXWrapper
          extended by org.apache.axiom.om.impl.llom.OMStAXWrapper
All Implemented Interfaces:
XMLStreamConstants, XMLStreamReader, OMAttachmentAccessor, OMXMLStreamReader

public class OMStAXWrapper
extends OMStAXWrapper

Empty subclass of OMStAXWrapper to 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
OMStAXWrapper(OMXMLParserWrapper builder, 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(OMXMLParserWrapper builder, 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(OMXMLParserWrapper builder,
                     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(OMXMLParserWrapper builder,
                     OMContainer startNode,
                     boolean cache)
Constructor OMStAXWrapper.

Parameters:
builder -
startNode -
cache -


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.