protected abstract class AbstractBsonReader.Context
extends java.lang.Object
BsonContextType, indicating whether the reader is reading a document, array, or other
complex sub-structure.| 限定符 | 构造器和说明 |
|---|---|
protected |
Context(AbstractBsonReader.Context parentContext,
BsonContextType contextType)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected BsonContextType |
getContextType()
Return the type of this context.
|
protected AbstractBsonReader.Context |
getParentContext()
Returns the parent context.
|
protected Context(AbstractBsonReader.Context parentContext, BsonContextType contextType)
parentContext - a possibly null value for the context that came before this onecontextType - the type of this contextprotected AbstractBsonReader.Context getParentContext()
protected BsonContextType getContextType()