Package org.jvnet.fastinfoset.stax
Interface FastInfosetStreamReader
- All Known Implementing Classes:
FastInfosetReader,FastInfosetStreamReaderRecyclable,StAXDocumentParser,WSTCPFastInfosetStreamReaderRecyclable
public interface FastInfosetStreamReader
Fast Infoset Stream Reader.
This interface provides additional optimized methods to that of
XMLStreamReader.
-
Method Summary
Modifier and TypeMethodDescriptionintchar[]Returns a cloned char[] representation of the internal char[] buffer.intintintpeekNext()Peek at the next event.
-
Method Details
-
peekNext
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()
-