public static enum AbstractBsonReader.State extends Enum<AbstractBsonReader.State>
| Enum Constant and Description | 
|---|
| CLOSEDThe reader is closed. | 
| DONEThe reader has finished reading a document. | 
| END_OF_ARRAYThe reader is positioned at the end of an array. | 
| END_OF_DOCUMENTThe reader is positioned at the end of a document. | 
| INITIALThe initial state. | 
| NAMEThe reader is positioned at the name of an element. | 
| SCOPE_DOCUMENTThe reader is positioned at a scope document. | 
| TYPEThe reader is positioned at the type of an element or value. | 
| VALUEThe reader is positioned at a value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AbstractBsonReader.State | valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null