Top Description Methods
org.jvnet.fastinfoset.stax

public Interface FastInfosetStreamReader

Known Direct Implementers
com.sun.xml.fastinfoset.stax.StAXDocumentParser
Imports
javax.xml.stream.XMLStreamException, .XMLStreamReader

Fast Infoset Stream Reader.

This interface provides additional optimized methods to that of javax.xml.stream.XMLStreamReader.

Method Summary

Modifier and TypeMethod and Description
public String
public int
public String
public String
public char[]

Returns:

a cloned char[] representation of the internal char[] buffer.
accessTextCharacters
()

Returns a cloned char[] representation of the internal char[] buffer.

public int
public int
public int

Returns:

the event, which will be the same as that returned from XMLStreamReader#next.
peekNext
()

Peek at the next event.

Method Detail

accessLocalNameback to summary
public String accessLocalName()
accessNamespaceCountback to summary
public int accessNamespaceCount()
accessNamespaceURIback to summary
public String accessNamespaceURI()
accessPrefixback to summary
public String accessPrefix()
accessTextCharactersback to summary
public 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:char[]

a cloned char[] representation of the internal char[] buffer.

accessTextLengthback to summary
public int accessTextLength()
accessTextStartback to summary
public int accessTextStart()
peekNextback to summary
public int peekNext() throws XMLStreamException

Peek at the next event.

Returns:int

the event, which will be the same as that returned from XMLStreamReader#next.