content
private final char[] content
TokenStream.CharacterStream
TokenStream.CharacterStream
that works with a single character array.private int
private final char[]
private int
private int
private final int
private boolean
boolean
hasNext()
int
index()
TokenStream.CharacterStream.next()
.boolean
isNext(char c)
boolean
isNext(char nextChar1,
char nextChar2)
boolean
isNext(char nextChar1,
char nextChar2,
char nextChar3)
boolean
isNextAnyOf(char[] characters)
boolean
isNextAnyOf(String characters)
boolean
letter or digit
.boolean
valid XML character
.boolean
valid XML NCName character
.boolean
valid XML NCName character
.boolean
whitespace character
.char
next()
position(int startIndex)
TokenStream.CharacterStream.next()
.substring(int startIndex,
int endIndex)
TokenStream.CharacterStream
hasNext
in interface TokenStream.CharacterStream
TokenStream.CharacterStream.next()
can be called), or false otherwiseTokenStream.CharacterStream
TokenStream.CharacterStream.next()
.index
in interface TokenStream.CharacterStream
TokenStream.CharacterStream
TokenStream.CharacterStream.next()
.position
in interface TokenStream.CharacterStream
startIndex
- the starting indexTokenStream.CharacterStream
substring
in interface TokenStream.CharacterStream
startIndex
- the starting indexendIndex
- the index after the last character to includeTokenStream.CharacterStream
next
in interface TokenStream.CharacterStream
TokenStream.CharacterStream
isNext
in interface TokenStream.CharacterStream
c
- the character value to compare to the next character on the streamnext
character and it is the supplied character, or false otherwiseTokenStream.CharacterStream
isNext
in interface TokenStream.CharacterStream
nextChar1
- the character value to compare to the next character on the streamnextChar2
- the character value to compare to the character immediately after the next character on the streamnextChar
and
the second matches followingChar
TokenStream.CharacterStream
isNext
in interface TokenStream.CharacterStream
nextChar1
- the character value to compare to the next character on the streamnextChar2
- the character value to compare to the second character on the streamnextChar3
- the character value to compare to the second character on the streamnextChar
and
the second matches followingChar
TokenStream.CharacterStream
isNextAnyOf
in interface TokenStream.CharacterStream
characters
- the characters to matchnext
character and it does match one of the supplied characters, or false
otherwiseTokenStream.CharacterStream
isNextAnyOf
in interface TokenStream.CharacterStream
characters
- the characters to matchnext
character and it does match one of the supplied characters, or false
otherwiseTokenStream.CharacterStream
whitespace character
. This
method does not advance the stream.isNextWhitespace
in interface TokenStream.CharacterStream
next
character and it is a whitespace character, or false otherwiseTokenStream.CharacterStream
letter or digit
. This method
does not advance the stream.isNextLetterOrDigit
in interface TokenStream.CharacterStream
next
character and it is a letter or digit, or false otherwiseTokenStream.CharacterStream
valid XML character
. This method
does not advance the stream.isNextValidXmlCharacter
in interface TokenStream.CharacterStream
next
character and it is a valid XML character, or false otherwiseTokenStream.CharacterStream
valid XML NCName character
.
This method does not advance the stream.isNextValidXmlNameCharacter
in interface TokenStream.CharacterStream
next
character and it is a valid XML Name character, or false otherwiseTokenStream.CharacterStream
valid XML NCName character
.
This method does not advance the stream.isNextValidXmlNcNameCharacter
in interface TokenStream.CharacterStream
next
character and it is a valid XML NCName character, or false otherwise