public static enum TagScanner.Token extends java.lang.Enum<TagScanner.Token>
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Returns the unique code associated with this
Token . |
static TagScanner.Token |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TagScanner.Token[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagScanner.Token TOKEN_ERROR_EOI_IN_DQUOTES
public static final TagScanner.Token TOKEN_ERROR_BUF_NULL
public static final TagScanner.Token TOKEN_UNKNOWN
public static final TagScanner.Token TOKEN_WHITESPACE
public static final TagScanner.Token TOKEN_STRING
public static final TagScanner.Token TOKEN_COLON
public static final TagScanner.Token TOKEN_DOUBLE_QUOTE
public static final TagScanner.Token TOKEN_BEGIN_ANGLE_BRACKET
public static final TagScanner.Token TOKEN_BEGIN_ANGLE_BRACKET_SLASH
public static final TagScanner.Token TOKEN_END_ANGLE_BRACKET
public static final TagScanner.Token TOKEN_SLASH_END_ANGLE_BRACKET
public static final TagScanner.Token TOKEN_EQUALS
public static final TagScanner.Token TOKEN_EOI
public static TagScanner.Token[] values()
for (TagScanner.Token c : TagScanner.Token.values()) System.out.println(c);
public static TagScanner.Token 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 nullpublic int getCode()
Token
.Copyright © 2012–2018 Jett Team. All rights reserved.