Class StAXDocumentParser

java.lang.Object
com.sun.xml.fastinfoset.Decoder
com.sun.xml.fastinfoset.stax.StAXDocumentParser
All Implemented Interfaces:
OctetBufferListener, XMLStreamConstants, XMLStreamReader, FastInfosetParser, org.jvnet.fastinfoset.stax.FastInfosetStreamReader

public class StAXDocumentParser extends Decoder implements XMLStreamReader, org.jvnet.fastinfoset.stax.FastInfosetStreamReader, OctetBufferListener
The Fast Infoset StAX parser.

Instantiate this parser to parse a fast infoset document in accordance with the StAX API.

More than one fast infoset document may be decoded from the InputStream.

  • Field Details

    • INTERNAL_STATE_START_DOCUMENT

      protected static final int INTERNAL_STATE_START_DOCUMENT
      See Also:
    • INTERNAL_STATE_START_ELEMENT_TERMINATE

      protected static final int INTERNAL_STATE_START_ELEMENT_TERMINATE
      See Also:
    • INTERNAL_STATE_SINGLE_TERMINATE_ELEMENT_WITH_NAMESPACES

      protected static final int INTERNAL_STATE_SINGLE_TERMINATE_ELEMENT_WITH_NAMESPACES
      See Also:
    • INTERNAL_STATE_DOUBLE_TERMINATE_ELEMENT

      protected static final int INTERNAL_STATE_DOUBLE_TERMINATE_ELEMENT
      See Also:
    • INTERNAL_STATE_END_DOCUMENT

      protected static final int INTERNAL_STATE_END_DOCUMENT
      See Also:
    • INTERNAL_STATE_VOID

      protected static final int INTERNAL_STATE_VOID
      See Also:
    • _internalState

      protected int _internalState
    • _eventType

      protected int _eventType
      Current event
    • _qNameStack

      protected QualifiedName[] _qNameStack
      Stack of qualified names and namespaces
    • _namespaceAIIsStartStack

      protected int[] _namespaceAIIsStartStack
    • _namespaceAIIsEndStack

      protected int[] _namespaceAIIsEndStack
    • _stackCount

      protected int _stackCount
    • _namespaceAIIsPrefix

      protected String[] _namespaceAIIsPrefix
    • _namespaceAIIsNamespaceName

      protected String[] _namespaceAIIsNamespaceName
    • _namespaceAIIsPrefixIndex

      protected int[] _namespaceAIIsPrefixIndex
    • _namespaceAIIsIndex

      protected int _namespaceAIIsIndex
    • _currentNamespaceAIIsStart

      protected int _currentNamespaceAIIsStart
      Namespaces associated with START_ELEMENT or END_ELEMENT
    • _currentNamespaceAIIsEnd

      protected int _currentNamespaceAIIsEnd
    • _qualifiedName

      protected QualifiedName _qualifiedName
      Qualified name associated with START_ELEMENT or END_ELEMENT.
    • _attributes

      protected com.sun.xml.fastinfoset.sax.AttributesHolder _attributes
      List of attributes
    • _clearAttributes

      protected boolean _clearAttributes
    • _characters

      protected char[] _characters
      Characters associated with event.
    • _charactersOffset

      protected int _charactersOffset
    • _algorithmURI

      protected String _algorithmURI
    • _algorithmId

      protected int _algorithmId
    • _isAlgorithmDataCloned

      protected boolean _isAlgorithmDataCloned
    • _algorithmData

      protected byte[] _algorithmData
    • _algorithmDataOffset

      protected int _algorithmDataOffset
    • _algorithmDataLength

      protected int _algorithmDataLength
    • _piTarget

      protected String _piTarget
      State for processing instruction
    • _piData

      protected String _piData
    • _nsContext

    • _characterEncodingScheme

      protected String _characterEncodingScheme
    • _manager

      protected StAXManager _manager
  • Constructor Details

    • StAXDocumentParser

      public StAXDocumentParser()
    • StAXDocumentParser

      public StAXDocumentParser(InputStream s)
    • StAXDocumentParser

      public StAXDocumentParser(InputStream s, StAXManager manager)
  • Method Details