protected static enum AbstractStreamDecoder.TokenType extends java.lang.Enum<AbstractStreamDecoder.TokenType>
Enum Constant and Description |
---|
BOOLEAN
A boolean.
|
END_ARRAY
End of an array.
|
END_OBJECT
End of an object.
|
KEY
A key.
|
NULL
A
null value. |
NUMBER
A number.
|
OTHER
Any other token.
|
START_ARRAY
Start of an array.
|
START_OBJECT
Start of an object.
|
STRING
A string.
|
Modifier and Type | Method and Description |
---|---|
static AbstractStreamDecoder.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractStreamDecoder.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractStreamDecoder.TokenType START_ARRAY
public static final AbstractStreamDecoder.TokenType END_ARRAY
public static final AbstractStreamDecoder.TokenType START_OBJECT
public static final AbstractStreamDecoder.TokenType END_OBJECT
public static final AbstractStreamDecoder.TokenType KEY
public static final AbstractStreamDecoder.TokenType NUMBER
public static final AbstractStreamDecoder.TokenType STRING
public static final AbstractStreamDecoder.TokenType BOOLEAN
public static final AbstractStreamDecoder.TokenType NULL
null
value.public static final AbstractStreamDecoder.TokenType OTHER
public static AbstractStreamDecoder.TokenType[] values()
for (AbstractStreamDecoder.TokenType c : AbstractStreamDecoder.TokenType.values()) System.out.println(c);
public static AbstractStreamDecoder.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