Package org.frankframework.mongodb
Class JsonDocumentWriter.Context
java.lang.Object
org.bson.AbstractBsonWriter.Context
org.frankframework.mongodb.JsonDocumentWriter.Context
- Enclosing class:
- JsonDocumentWriter
public class JsonDocumentWriter.Context
extends org.bson.AbstractBsonWriter.Context
The context for the writer, inheriting all the values from
AbstractBsonWriter.Context
, and additionally providing
settings for the indentation level and whether there are any child elements
at this level.-
Constructor Summary
ConstructorDescriptionContext
(JsonDocumentWriter.Context parentContext, org.bson.BsonContextType contextType) Creates a new context. -
Method Summary
Methods inherited from class org.bson.AbstractBsonWriter.Context
copy, getContextType
-
Constructor Details
-
Context
Creates a new context.- Parameters:
parentContext
- the parent context that can be used for going back up to the parent levelcontextType
- the type of this context
-
-
Method Details
-
getParentContext
- Overrides:
getParentContext
in classorg.bson.AbstractBsonWriter.Context
-