public static EditableDocument newDocument ( String name , Object value ) { return new DocumentEditor ( new BasicDocument ( name , value ) , DEFAULT_FACTORY ) ; }
Create a new editable document initialized with a single field that can be used as a new document entry in a SchematicDb or as nested documents for other documents .