protected class AbstractBsonWriter.Mark
extends java.lang.Object
AbstractBsonWriter.Context
, AbstractBsonWriter.State
, field name and depth.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
currentName |
private AbstractBsonWriter.Context |
markedContext |
private AbstractBsonWriter.State |
markedState |
private int |
serializationDepth |
Modifier | Constructor and Description |
---|---|
protected |
Mark()
Creates a new snapshopt of the current state.
|
Modifier and Type | Method and Description |
---|---|
protected void |
reset()
Resets the
AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was
created. |
private final AbstractBsonWriter.Context markedContext
private final AbstractBsonWriter.State markedState
private final java.lang.String currentName
private final int serializationDepth