public enum JParseEvent extends java.lang.Enum<JParseEvent>
Enum Constant and Description |
---|
DELIMITER
Parser reader fires the event DELIMITER when has meet ',' symbol in a parsing stream.
|
END_ARRAY
Parser reader fires the event END_ARRAY when has meet ']' symbol in a parsing stream.
|
END_OBJECT
Parser reader fires the event END_OBJECT when has meet '}' symbol in a parsing stream.
|
FIELD_NAME
Parser reader fires the event FIELD_NAME when has found field name (name of object property) in a parsing stream.
|
START_ARRAY
Parser reader fires the event START_ARRAY when has meet '[' symbol in a parsing stream.
|
START_OBJECT
Parser reader fires the event START_OBJECT when has meet '{' symbol in a parsing stream.
|
VALUE
Parser reader fires the event VALUE when has found value after ':' in a parsing stream that is not OBJECT or ARRAY.
|
VALUE_STRING
Parser reader fires the event VALUE_STRING when has found value after ':' in a parsing stream and this value is String.
|
Modifier and Type | Method and Description |
---|---|
static JParseEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JParseEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JParseEvent START_OBJECT
public static final JParseEvent START_ARRAY
public static final JParseEvent END_OBJECT
public static final JParseEvent END_ARRAY
public static final JParseEvent FIELD_NAME
public static final JParseEvent VALUE
public static final JParseEvent VALUE_STRING
public static final JParseEvent DELIMITER
public static JParseEvent[] values()
for (JParseEvent c : JParseEvent.values()) System.out.println(c);
public static JParseEvent 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