public enum JsonStreamElementType extends java.lang.Enum<JsonStreamElementType>
StajParser
can produce.Enum Constant and Description |
---|
END_ARRAY |
END_DOCUMENT |
END_FIELD |
END_OBJECT |
FALSE |
NULL |
NUMBER |
START_ARRAY |
START_DOCUMENT |
START_FIELD |
START_OBJECT |
STRING |
TRUE |
Modifier and Type | Method and Description |
---|---|
static JsonStreamElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonStreamElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonStreamElementType START_ARRAY
public static final JsonStreamElementType END_ARRAY
public static final JsonStreamElementType START_OBJECT
public static final JsonStreamElementType END_OBJECT
public static final JsonStreamElementType START_FIELD
public static final JsonStreamElementType END_FIELD
public static final JsonStreamElementType STRING
public static final JsonStreamElementType TRUE
public static final JsonStreamElementType FALSE
public static final JsonStreamElementType NULL
public static final JsonStreamElementType NUMBER
public static final JsonStreamElementType START_DOCUMENT
public static final JsonStreamElementType END_DOCUMENT
public static JsonStreamElementType[] values()
for (JsonStreamElementType c : JsonStreamElementType.values()) System.out.println(c);
public static JsonStreamElementType 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