-
- All Known Implementing Classes:
StAXDocumentParser
public interface FastInfosetStreamReader
Fast Infoset Stream Reader.This interface provides additional optimized methods to that of
XMLStreamReader
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
accessLocalName()
int
accessNamespaceCount()
java.lang.String
accessNamespaceURI()
java.lang.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 javax.xml.stream.XMLStreamException
Peek at the next event.- Returns:
- the event, which will be the same as that returned from
XMLStreamReader.next()
. - Throws:
javax.xml.stream.XMLStreamException
-
accessNamespaceCount
int accessNamespaceCount()
-
accessLocalName
java.lang.String accessLocalName()
-
accessNamespaceURI
java.lang.String accessNamespaceURI()
-
accessPrefix
java.lang.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()
-
-