|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.interfaces.Configuration
org.apache.manifoldcf.core.interfaces.Specification
public class Specification
This class represents a specification, which is a generalized hierarchy of nodes that can be interpreted by an appropriate connector in an appropriate way.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
| Fields inherited from class org.apache.manifoldcf.core.interfaces.Configuration |
|---|
children, JSON_ATTRIBUTE, JSON_CHILDREN, JSON_TYPE, JSON_VALUE, readOnly, rootNodeLabel |
| Constructor Summary | |
|---|---|
Specification()
Constructor. |
|
Specification(java.lang.String xml)
Construct from XML. |
|
| Method Summary | |
|---|---|
protected Configuration |
createNew()
Create a new object of the appropriate class. |
protected ConfigurationNode |
createNewNode(java.lang.String type)
Create a new child node of the appropriate type and class. |
SpecificationNode |
getChild(int index)
Get child n. |
| Methods inherited from class org.apache.manifoldcf.core.interfaces.Configuration |
|---|
addChild, addOuterNode, clearChildren, clearOuterNodes, createDuplicate, equals, findChild, fromJSON, fromXML, fromXML, getChildCount, hashCode, initializeFromDoc, makeReadOnly, processObject, processObject, readNode, readNode, removeChild, removeOuterNode, toJSON, toXML, writeNode, writeNode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
| Constructor Detail |
|---|
public Specification()
public Specification(java.lang.String xml)
throws ManifoldCFException
xml - is the input XML.
ManifoldCFException| Method Detail |
|---|
protected Configuration createNew()
createNew in class Configurationprotected ConfigurationNode createNewNode(java.lang.String type)
createNewNode in class Configurationpublic SpecificationNode getChild(int index)
index - is the child number.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||