Package com.thaiopensource.xml.tok
Class Token
- java.lang.Object
-
- com.thaiopensource.xml.tok.Token
-
- Direct Known Subclasses:
ContentToken
public class Token extends java.lang.ObjectRepresents information returned by the tokenizing methods inTokenizer.- See Also:
Tokenizer.tokenizeContent(char[], int, int, com.thaiopensource.xml.tok.ContentToken),Tokenizer.tokenizeProlog(char[], int, int, com.thaiopensource.xml.tok.Token),Tokenizer.tokenizeAttributeValue(char[], int, int, com.thaiopensource.xml.tok.Token),Tokenizer.tokenizeEntityValue(char[], int, int, com.thaiopensource.xml.tok.Token)
-
-
Constructor Summary
Constructors Constructor Description Token()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNameEnd()chargetRefChar()voidgetRefCharPair(char[] ch, int off)intgetTokenEnd()protected voidsetNameEnd(int i)protected voidsetTokenEnd(int i)
-
-
-
Method Detail
-
getTokenEnd
public final int getTokenEnd()
-
setTokenEnd
protected final void setTokenEnd(int i)
-
getNameEnd
public final int getNameEnd()
-
setNameEnd
protected final void setNameEnd(int i)
-
getRefChar
public final char getRefChar()
-
getRefCharPair
public final void getRefCharPair(char[] ch, int off)
-
-