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 Details

    • Context

      public Context(JsonDocumentWriter.Context parentContext, org.bson.BsonContextType contextType)
      Creates a new context.
      Parameters:
      parentContext - the parent context that can be used for going back up to the parent level
      contextType - the type of this context
  • Method Details

    • getParentContext

      public JsonDocumentWriter.Context getParentContext()
      Overrides:
      getParentContext in class org.bson.AbstractBsonWriter.Context