public static enum ResultReader.Event extends java.lang.Enum<ResultReader.Event>
Enum Constant and Description |
---|
END_ARRAY
The end of an array has been read.
|
END_ELEMENT
The end of an array element has been read.
|
END_NODE
The end of a result node has been read.
|
END_RESULTS
The end of the result tree has been read.
|
RESULT
A result has been read.
|
START_ARRAY
A result array has been read.
|
START_ELEMENT
A result array element has been read.
|
START_NODE
A result node has been read.
|
START_RESULTS
The result tree root has been read.
|
Modifier and Type | Method and Description |
---|---|
static ResultReader.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultReader.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultReader.Event START_RESULTS
public static final ResultReader.Event END_RESULTS
public static final ResultReader.Event START_NODE
public static final ResultReader.Event END_NODE
public static final ResultReader.Event RESULT
public static final ResultReader.Event START_ARRAY
public static final ResultReader.Event END_ARRAY
public static final ResultReader.Event START_ELEMENT
public static final ResultReader.Event END_ELEMENT
public static ResultReader.Event[] values()
for (ResultReader.Event c : ResultReader.Event.values()) System.out.println(c);
public static ResultReader.Event 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