Class BsonGenerator.DocumentInfo

java.lang.Object
de.undercouch.bson4jackson.BsonGenerator.DocumentInfo
Enclosing class:
BsonGenerator

protected static class BsonGenerator.DocumentInfo extends Object
A structure describing the document currently being generated
  • Constructor Details

    • DocumentInfo

      public DocumentInfo(BsonGenerator.DocumentInfo parent, int headerPos, boolean array)
      Creates a new DocumentInfo object
      Parameters:
      parent - information about the parent document (may be null if this document is the top-level one)
      headerPos - the position of the document's header in the output buffer
      array - true if the document is an array