public class Specification extends Configuration
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
children, JSON_ATTRIBUTE, JSON_CHILDREN, JSON_TYPE, JSON_VALUE, readOnly, rootNodeLabel| Constructor and Description |
|---|
Specification()
Constructor.
|
Specification(String xml)
Construct from XML.
|
| Modifier and Type | Method and Description |
|---|---|
protected Configuration |
createNew()
Create a new object of the appropriate class.
|
protected ConfigurationNode |
createNewNode(String type)
Create a new child node of the appropriate type and class.
|
Specification |
duplicate(boolean readOnly)
Duplicate.
|
SpecificationNode |
getChild(int index)
Get child n.
|
addChild, addOuterNode, clearChildren, clearOuterNodes, createDuplicate, equals, findChild, fromJSON, fromXML, fromXML, getChildCount, hashCode, initializeFromDoc, makeReadOnly, processObject, processObject, readNode, readNode, removeChild, removeOuterNode, toJSON, toString, toXML, writeNode, writeNodepublic static final String _rcsid
public Specification()
public Specification(String xml) throws ManifoldCFException
xml - is the input XML.ManifoldCFExceptionprotected Configuration createNew()
createNew in class Configurationprotected ConfigurationNode createNewNode(String type)
createNewNode in class Configurationpublic SpecificationNode getChild(int index)
index - is the child number.public Specification duplicate(boolean readOnly)