Package org.bson

Class AbstractBsonReader.Mark

java.lang.Object
org.bson.AbstractBsonReader.Mark
All Implemented Interfaces:
BsonReaderMark
Direct Known Subclasses:
BsonBinaryReader.Mark, BsonDocumentReader.Mark, JsonReader.Mark
Enclosing class:
AbstractBsonReader

protected class AbstractBsonReader.Mark extends Object implements BsonReaderMark
An implementation of BsonReaderMark.
  • Constructor Details

    • Mark

      protected Mark()
      Construct an instance.
  • Method Details

    • getParentContext

      protected AbstractBsonReader.Context getParentContext()
      Gets the parent context.
      Returns:
      the parent context
    • getContextType

      protected BsonContextType getContextType()
      Gets the context type.
      Returns:
      the context type
    • reset

      public void reset()
      Description copied from interface: BsonReaderMark
      Reset the BsonReader to its state at the time the mark was created.
      Specified by:
      reset in interface BsonReaderMark