org.jvnet.fastinfoset.stax
Interface FastInfosetStreamReader

All Known Implementing Classes:
FastInfosetStreamReaderRecyclable, StAXDocumentParser, WSTCPFastInfosetStreamReaderRecyclable

public interface FastInfosetStreamReader

Fast Infoset Stream Reader.

This interface provides additional optimized methods to that of XMLStreamReader.


Method Summary
 String accessLocalName()
           
 int accessNamespaceCount()
           
 String accessNamespaceURI()
           
 String accessPrefix()
           
 char[] accessTextCharacters()
          Returns a cloned char[] representation of the internal char[] buffer.
 int accessTextLength()
           
 int accessTextStart()
           
 int peekNext()
          Peek at the next event.
 

Method Detail

peekNext

int peekNext()
             throws XMLStreamException
Peek at the next event.

Returns:
the event, which will be the same as that returned from #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()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.