| Package | Description |
|---|---|
| org.bson |
Contains the base BSON classes.
|
| org.bson.json |
JSON serialization and deserialization.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
BsonBinaryWriter.Context |
| Modifier and Type | Method and Description |
|---|---|
AbstractBsonWriter.Context |
AbstractBsonWriter.Context.copy()
Copies the values from this
Context into a new instance. |
protected AbstractBsonWriter.Context |
AbstractBsonWriter.getContext()
Get the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
|
AbstractBsonWriter.Context |
AbstractBsonWriter.Context.getParentContext()
Returns the parent context.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBsonWriter.setContext(AbstractBsonWriter.Context context)
Set the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
|
| Constructor and Description |
|---|
Context(AbstractBsonWriter.Context from)
Creates a new instance, copying values from an existing context.
|
Context(AbstractBsonWriter.Context parentContext,
BsonContextType contextType)
Creates a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonWriter.Context
The context for the writer, inheriting all the values from
AbstractBsonWriter.Context, and additionally providing
settings for the indentation level and whether there are any child elements at this level. |
Copyright © 2017. All Rights Reserved.