public class DocumentSpecification extends Specification
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
children, JSON_ATTRIBUTE, JSON_CHILDREN, JSON_TYPE, JSON_VALUE, readOnly, rootNodeLabel
Constructor and Description |
---|
DocumentSpecification()
Constructor.
|
DocumentSpecification(String xml)
Construct from XML.
|
Modifier and Type | Method and Description |
---|---|
DocumentSpecification |
duplicate(boolean readOnly)
Duplicate.
|
createNew, createNewNode, getChild
addChild, addOuterNode, clearChildren, clearOuterNodes, createDuplicate, equals, findChild, fromJSON, fromXML, fromXML, getChildCount, hashCode, initializeFromDoc, makeReadOnly, processObject, processObject, readNode, readNode, removeChild, removeOuterNode, toJSON, toString, toXML, writeNode, writeNode
public static final String _rcsid
public DocumentSpecification()
public DocumentSpecification(String xml) throws ManifoldCFException
xml
- is the input XML.ManifoldCFException
public DocumentSpecification duplicate(boolean readOnly)
duplicate
in class Specification