| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| Modifier and Type | Field and Description |
|---|---|
private BSONContextType |
BSONWriter.Context.contextType |
| Modifier and Type | Method and Description |
|---|---|
BSONContextType |
BSONWriter.Context.getContextType() |
static BSONContextType |
BSONContextType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BSONContextType[] |
BSONContextType.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.throwInvalidContextType(java.lang.String methodName,
BSONContextType actualContextType,
BSONContextType... validContextTypes)
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
|
protected void |
BSONWriter.throwInvalidContextType(java.lang.String methodName,
BSONContextType actualContextType,
BSONContextType... validContextTypes)
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
|
| Constructor and Description |
|---|
Context(BSONBinaryWriter.Context parentContext,
BSONContextType contextType,
int startPosition) |
Context(BSONWriter.Context parentContext,
BSONContextType contextType) |