protected class AbstractBsonReader.Mark extends java.lang.Object implements BsonReaderMark
Modifier and Type | Field and Description |
---|---|
private BsonContextType |
contextType |
private BsonType |
currentBsonType |
private java.lang.String |
currentName |
private AbstractBsonReader.Context |
parentContext |
private AbstractBsonReader.State |
state |
Modifier | Constructor and Description |
---|---|
protected |
Mark() |
Modifier and Type | Method and Description |
---|---|
protected BsonContextType |
getContextType() |
protected AbstractBsonReader.Context |
getParentContext() |
void |
reset()
Reset the
BsonReader to its state at the time the mark was created. |
private final AbstractBsonReader.State state
private final AbstractBsonReader.Context parentContext
private final BsonContextType contextType
private final BsonType currentBsonType
private final java.lang.String currentName
protected AbstractBsonReader.Context getParentContext()
protected BsonContextType getContextType()
public void reset()
BsonReaderMark
BsonReader
to its state at the time the mark was created.reset
in interface BsonReaderMark