public static enum JsonParser.Event extends Enum<JsonParser.Event>
| Enum Constant and Description |
|---|
END_ARRAY |
END_OBJECT |
KEY_NAME |
START_ARRAY |
START_OBJECT |
VALUE_FALSE |
VALUE_NULL |
VALUE_NUMBER |
VALUE_STRING |
VALUE_TRUE |
| Modifier and Type | Method and Description |
|---|---|
static JsonParser.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParser.Event START_ARRAY
public static final JsonParser.Event START_OBJECT
public static final JsonParser.Event KEY_NAME
public static final JsonParser.Event VALUE_STRING
public static final JsonParser.Event VALUE_NUMBER
public static final JsonParser.Event VALUE_TRUE
public static final JsonParser.Event VALUE_FALSE
public static final JsonParser.Event VALUE_NULL
public static final JsonParser.Event END_OBJECT
public static final JsonParser.Event END_ARRAY
public static JsonParser.Event[] values()
for (JsonParser.Event c : JsonParser.Event.values()) System.out.println(c);
public static JsonParser.Event valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved