Package org.bson
Class BsonBinaryWriter.Mark
- java.lang.Object
-
- org.bson.AbstractBsonWriter.Mark
-
- org.bson.BsonBinaryWriter.Mark
-
- Enclosing class:
- BsonBinaryWriter
protected class BsonBinaryWriter.Mark extends AbstractBsonWriter.Mark
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Mark()
Creates a new instance storing the current position of theBsonOutput
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
reset()
Resets theAbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created.
-
-
-
Constructor Detail
-
Mark
protected Mark()
Creates a new instance storing the current position of theBsonOutput
.
-
-
Method Detail
-
reset
protected void reset()
Description copied from class:AbstractBsonWriter.Mark
Resets theAbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created.- Overrides:
reset
in classAbstractBsonWriter.Mark
-
-