| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| Modifier and Type | Field and Description |
|---|---|
private BSONWriter.State |
BSONWriter.Mark.markedState |
private BSONWriter.State |
BSONWriter.state |
| Modifier and Type | Method and Description |
|---|---|
protected BSONWriter.State |
BSONWriter.getNextState() |
protected BSONWriter.State |
BSONWriter.getState() |
static BSONWriter.State |
BSONWriter.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BSONWriter.State[] |
BSONWriter.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BSONWriter.checkPreconditions(java.lang.String methodName,
BSONWriter.State... validStates) |
protected boolean |
BSONWriter.checkState(BSONWriter.State[] validStates) |
protected void |
BSONWriter.setState(BSONWriter.State state) |
protected void |
BSONWriter.throwInvalidState(java.lang.String methodName,
BSONWriter.State... validStates)
Throws an InvalidOperationException when the method called is not valid for the current state.
|