Package org.jvnet.fastinfoset.stax
Interface FastInfosetStreamReader
-
- All Known Implementing Classes:
FastInfosetStreamReaderRecyclable,StAXDocumentParser,WSTCPFastInfosetStreamReaderRecyclable
public interface FastInfosetStreamReaderFast 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 StringaccessLocalName()intaccessNamespaceCount()StringaccessNamespaceURI()StringaccessPrefix()char[]accessTextCharacters()Returns a cloned char[] representation of the internal char[] buffer.intaccessTextLength()intaccessTextStart()intpeekNext()Peek at the next event.
-
-
-
Method Detail
-
peekNext
int peekNext() throws XMLStreamExceptionPeek 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()
-
-