public static enum JsonParser.TokenType extends java.lang.Enum<JsonParser.TokenType>
Enum Constant and Description |
---|
BOOL
真偽値
|
NULL
null
|
NUMERIC
数値
|
SEPARATOR
セパレータ
|
STRING
文字列
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String token)
トークンがパターンにマッチするか判定します
|
static JsonParser.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParser.TokenType STRING
public static final JsonParser.TokenType NUMERIC
public static final JsonParser.TokenType BOOL
public static final JsonParser.TokenType NULL
public static final JsonParser.TokenType SEPARATOR
public static JsonParser.TokenType[] values()
for (JsonParser.TokenType c : JsonParser.TokenType.values()) System.out.println(c);
public static JsonParser.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 nullpublic boolean matches(java.lang.String token)
token
- トークン