public static enum AbstractBsonReader.State extends java.lang.Enum<AbstractBsonReader.State>
Enum Constant and Description |
---|
CLOSED
The reader is closed.
|
DONE
The reader has finished reading a document.
|
END_OF_ARRAY
The reader is positioned at the end of an array.
|
END_OF_DOCUMENT
The reader is positioned at the end of a document.
|
INITIAL
The initial state.
|
NAME
The reader is positioned at the name of an element.
|
SCOPE_DOCUMENT
The reader is positioned at a scope document.
|
TYPE
The reader is positioned at the type of an element or value.
|
VALUE
The reader is positioned at a value.
|
Modifier and Type | Method and Description |
---|---|
static AbstractBsonReader.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractBsonReader.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractBsonReader.State INITIAL
public static final AbstractBsonReader.State TYPE
public static final AbstractBsonReader.State NAME
public static final AbstractBsonReader.State VALUE
public static final AbstractBsonReader.State SCOPE_DOCUMENT
public static final AbstractBsonReader.State END_OF_DOCUMENT
public static final AbstractBsonReader.State END_OF_ARRAY
public static final AbstractBsonReader.State DONE
public static final AbstractBsonReader.State CLOSED
public static AbstractBsonReader.State[] values()
for (AbstractBsonReader.State c : AbstractBsonReader.State.values()) System.out.println(c);
public static AbstractBsonReader.State 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved