code: public static EditableDocument newDocument( String name1,
                                                  Object value1,
                                                  String name2,
                                                  Object value2 ) {
          return new DocumentEditor(new BasicDocument(name1, value1, name2, value2), DEFAULT_FACTORY);
      }
docs: Create a new editable document, initialized with two fields, that can be used as a new document entry in a SchematicDb or
  as nested documents for other documents.
  
  @param name1 the name of the first field in the resulting document; if null, the field will not be added to the returned
  document
  @param value1 the value of the first field in the resulting document
  @param name2 the name of the second field in the resulting document; if null, the field will not be added to the returned
  document
  @param value2 the value of the second field in the resulting document
  @return the editable document; never null