public static enum AbstractBsonReader.State extends java.lang.Enum<AbstractBsonReader.State>
| 枚举常量和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AbstractBsonReader.State |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static AbstractBsonReader.State[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值