public static enum Token.TokenType extends java.lang.Enum<Token.TokenType>
Enum Constant and Description |
---|
Character |
Comment |
Doctype |
EndTag |
EOF |
StartTag |
Modifier and Type | Method and Description |
---|---|
static Token.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.TokenType Doctype
public static final Token.TokenType StartTag
public static final Token.TokenType EndTag
public static final Token.TokenType Comment
public static final Token.TokenType Character
public static final Token.TokenType EOF
public static Token.TokenType[] values()
for (Token.TokenType c : Token.TokenType.values()) System.out.println(c);
public static Token.TokenType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null