- All Known Implementing Classes:
StAXDocumentParser
public interface FastInfosetStreamReader
Fast Infoset Stream Reader.
This interface provides additional optimized methods to that of
XMLStreamReader
.
-
Method Summary
Modifier and TypeMethodDescriptionint
char[]
Returns a cloned char[] representation of the internal char[] buffer.int
int
int
peekNext()
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()
-