Package org.bson
Class AbstractBsonWriter.Mark
- java.lang.Object
-
- org.bson.AbstractBsonWriter.Mark
-
- Direct Known Subclasses:
BsonBinaryWriter.Mark
- Enclosing class:
- AbstractBsonWriter
protected class AbstractBsonWriter.Mark extends Object
Capture the current state of this writer - itsAbstractBsonWriter.Context,AbstractBsonWriter.State, field name and depth.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMark()Creates a new snapshopt of the current state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreset()Resets theAbstractBsonWriterinstance that contains thisMarkto the state the writer was in when the Mark was created.
-