Package org.bson.json
Class JsonReader.Context
- java.lang.Object
 - 
- org.bson.AbstractBsonReader.Context
 - 
- org.bson.json.JsonReader.Context
 
 
 
- 
- Enclosing class:
 - JsonReader
 
protected class JsonReader.Context extends AbstractBsonReader.Context
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedContext(AbstractBsonReader.Context parentContext, BsonContextType contextType) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BsonContextTypegetContextType()Return the type of this context.protected JsonReader.ContextgetParentContext()Returns the parent context. 
 - 
 
- 
- 
Constructor Detail
- 
Context
protected Context(AbstractBsonReader.Context parentContext, BsonContextType contextType)
 
 - 
 
- 
Method Detail
- 
getParentContext
protected JsonReader.Context getParentContext()
Description copied from class:AbstractBsonReader.ContextReturns the parent context. Allows users of this context object to transition to this parent context.- Overrides:
 getParentContextin classAbstractBsonReader.Context- Returns:
 - the context that came before this one
 
 
- 
getContextType
protected BsonContextType getContextType()
Description copied from class:AbstractBsonReader.ContextReturn the type of this context.- Overrides:
 getContextTypein classAbstractBsonReader.Context- Returns:
 - the context type.
 
 
 - 
 
 -