Package org.bson
Class BsonDocumentReader.Mark
java.lang.Object
org.bson.AbstractBsonReader.Mark
org.bson.BsonDocumentReader.Mark
- All Implemented Interfaces:
BsonReaderMark
- Enclosing class:
- BsonDocumentReader
An implementation of
AbstractBsonReader.Mark
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
Reset theBsonReader
to its state at the time the mark was created.Methods inherited from class org.bson.AbstractBsonReader.Mark
getContextType, getParentContext
-
Constructor Details
-
Mark
protected Mark()Construct an instance.
-
-
Method Details
-
reset
public void reset()Description copied from interface:BsonReaderMark
Reset theBsonReader
to its state at the time the mark was created.- Specified by:
reset
in interfaceBsonReaderMark
- Overrides:
reset
in classAbstractBsonReader.Mark
-