Package org.bson

Class BsonDocumentReader.Context

java.lang.Object
org.bson.AbstractBsonReader.Context
org.bson.BsonDocumentReader.Context
Enclosing class:
BsonDocumentReader

protected class BsonDocumentReader.Context extends AbstractBsonReader.Context
An implementation of AbstractBsonReader.Context.
  • Constructor Details

  • Method Details

    • getNextElement

      public Map.Entry<String,BsonValue> getNextElement()
      Gets the next element.
      Returns:
      the next element, which may be null
    • mark

      protected void mark()
      Create a mark.
    • reset

      protected void reset()
      Reset the context.
    • getNextValue

      public BsonValue getNextValue()
      Gets the next value.
      Returns:
      the next value, which may be null