public static enum AbstractBsonWriter.State extends java.lang.Enum<AbstractBsonWriter.State>
Enum Constant and Description |
---|
CLOSED
The writer is closed.
|
DONE
The writer is done.
|
INITIAL
The initial state.
|
NAME
The writer is positioned to write a name.
|
SCOPE_DOCUMENT
The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document).
|
VALUE
The writer is positioned to write a value.
|
Modifier and Type | Method and Description |
---|---|
static AbstractBsonWriter.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractBsonWriter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractBsonWriter.State INITIAL
public static final AbstractBsonWriter.State NAME
public static final AbstractBsonWriter.State VALUE
public static final AbstractBsonWriter.State SCOPE_DOCUMENT
public static final AbstractBsonWriter.State DONE
public static final AbstractBsonWriter.State CLOSED
public static AbstractBsonWriter.State[] values()
for (AbstractBsonWriter.State c : AbstractBsonWriter.State.values()) System.out.println(c);
public static AbstractBsonWriter.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