public static enum JSONLexer.Token extends java.lang.Enum<JSONLexer.Token>
JSONLexer
and consumed by the JSONStreamReader
class.Enum Constant and Description |
---|
END |
END_ARRAY |
END_OBJECT |
FALSE_VALUE |
KEY_SEPARATOR |
NULL_VALUE |
NUMBER_VALUE |
START_ARRAY |
START_OBJECT |
STRING_VALUE |
TRUE_VALUE |
VALUE_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
static JSONLexer.Token |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSONLexer.Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONLexer.Token STRING_VALUE
public static final JSONLexer.Token NUMBER_VALUE
public static final JSONLexer.Token NULL_VALUE
public static final JSONLexer.Token TRUE_VALUE
public static final JSONLexer.Token FALSE_VALUE
public static final JSONLexer.Token START_ARRAY
public static final JSONLexer.Token END_ARRAY
public static final JSONLexer.Token START_OBJECT
public static final JSONLexer.Token END_OBJECT
public static final JSONLexer.Token KEY_SEPARATOR
public static final JSONLexer.Token VALUE_SEPARATOR
public static final JSONLexer.Token END
public static JSONLexer.Token[] values()
for (JSONLexer.Token c : JSONLexer.Token.values()) System.out.println(c);
public static JSONLexer.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 null