public static enum IonCursor.Event extends java.lang.Enum<IonCursor.Event>
| Enum Constant and Description |
|---|
END_CONTAINER
The cursor has reached the end of the current container, and requires an instruction to proceed.
|
NEEDS_DATA
There is not enough data in the stream to complete the requested operation.
|
NEEDS_INSTRUCTION
The cursor has completed an operation (e.g.
|
START_CONTAINER
The cursor is positioned on a container value.
|
START_SCALAR
The cursor is positioned on a scalar value.
|
VALUE_READY
The cursor has successfully buffered the entirety of the value on which it is currently positioned, as
requested by an invocation of `fillValue()`.
|
| Modifier and Type | Method and Description |
|---|---|
static IonCursor.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IonCursor.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IonCursor.Event NEEDS_DATA
public static final IonCursor.Event NEEDS_INSTRUCTION
public static final IonCursor.Event START_SCALAR
public static final IonCursor.Event VALUE_READY
public static final IonCursor.Event START_CONTAINER
public static final IonCursor.Event END_CONTAINER
public static IonCursor.Event[] values()
for (IonCursor.Event c : IonCursor.Event.values()) System.out.println(c);
public static IonCursor.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