Interface FastInfosetStreamReader

All Known Implementing Classes:
StAXDocumentParser

public interface FastInfosetStreamReader
Fast Infoset Stream Reader.

This interface provides additional optimized methods to that of XMLStreamReader.

  • Method Details

    • peekNext

      int peekNext() throws XMLStreamException
      Peek at the next event.
      Returns:
      the event, which will be the same as that returned from XMLStreamReader.next().
      Throws:
      XMLStreamException
    • accessNamespaceCount

      int accessNamespaceCount()
    • accessLocalName

      String accessLocalName()
    • accessNamespaceURI

      String accessNamespaceURI()
    • accessPrefix

      String accessPrefix()
    • accessTextCharacters

      char[] accessTextCharacters()
      Returns a cloned char[] representation of the internal char[] buffer. So be careful, when using this method due to possible performance and memory inefficiency.
      Returns:
      a cloned char[] representation of the internal char[] buffer.
    • accessTextStart

      int accessTextStart()
    • accessTextLength

      int accessTextLength()