public class BSONCallbackAdapter.Context extends AbstractBsonWriter.Context
| Modifier and Type | Field and Description |
|---|---|
private BSONCallback |
callback |
private java.lang.String |
code |
private int |
index |
private java.lang.String |
name |
| Constructor and Description |
|---|
Context(BSONCallbackAdapter.Context parentContext,
BsonContextType contextType) |
| Modifier and Type | Method and Description |
|---|---|
BSONCallbackAdapter.Context |
getParentContext()
Returns the parent context.
|
copy, getContextTypeprivate int index
private BSONCallback callback
private java.lang.String code
private java.lang.String name
public Context(BSONCallbackAdapter.Context parentContext, BsonContextType contextType)
public BSONCallbackAdapter.Context getParentContext()
AbstractBsonWriter.ContextgetParentContext in class AbstractBsonWriter.Context