abstract class Token extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Token.Character |
(package private) static class |
Token.Comment |
(package private) static class |
Token.Doctype |
(package private) static class |
Token.EndTag |
(package private) static class |
Token.EOF |
(package private) static class |
Token.StartTag |
(package private) static class |
Token.Tag |
(package private) static class |
Token.TokenType |
Modifier and Type | Field and Description |
---|---|
(package private) Token.TokenType |
type |
Modifier | Constructor and Description |
---|---|
private |
Token() |
Modifier and Type | Method and Description |
---|---|
(package private) Token.Character |
asCharacter() |
(package private) Token.Comment |
asComment() |
(package private) Token.Doctype |
asDoctype() |
(package private) Token.EndTag |
asEndTag() |
(package private) Token.StartTag |
asStartTag() |
(package private) boolean |
isCharacter() |
(package private) boolean |
isComment() |
(package private) boolean |
isDoctype() |
(package private) boolean |
isEndTag() |
(package private) boolean |
isEOF() |
(package private) boolean |
isStartTag() |
(package private) abstract Token |
reset()
Reset the data represent by this token, for reuse.
|
(package private) static void |
reset(StringBuilder sb) |
(package private) String |
tokenType() |
Token.TokenType type
private Token()
abstract Token reset()
static void reset(StringBuilder sb)
final boolean isDoctype()
final Token.Doctype asDoctype()
final boolean isStartTag()
final Token.StartTag asStartTag()
final boolean isEndTag()
final Token.EndTag asEndTag()
final boolean isComment()
final Token.Comment asComment()
final boolean isCharacter()
final Token.Character asCharacter()
final boolean isEOF()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses