Package org.bson
Class AbstractBsonWriter.Mark
java.lang.Object
org.bson.AbstractBsonWriter.Mark
- Direct Known Subclasses:
BsonBinaryWriter.Mark
- Enclosing class:
- AbstractBsonWriter
Capture the current state of this writer - its
AbstractBsonWriter.Context, AbstractBsonWriter.State, field name and depth.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreset()Resets theAbstractBsonWriterinstance that contains thisMarkto the state the writer was in when the Mark was created.
-
Constructor Details
-
Mark
protected Mark()Creates a new snapshopt of the current state.
-
-
Method Details
-
reset
protected void reset()Resets theAbstractBsonWriterinstance that contains thisMarkto the state the writer was in when the Mark was created.
-