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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reset()
Resets theAbstractBsonWriter
instance that contains thisMark
to 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 theAbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created.
-