public enum ParserState extends java.lang.Enum<ParserState>
| Enum Constant and Description |
|---|
END_LIST |
END_OBJECT |
START |
START_LIST |
START_OBJECT |
| Modifier and Type | Method and Description |
|---|---|
static ParserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserState START
public static final ParserState START_OBJECT
public static final ParserState END_OBJECT
public static final ParserState START_LIST
public static final ParserState END_LIST
public static ParserState[] values()
for (ParserState c : ParserState.values()) System.out.println(c);
public static ParserState 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