org.apache.manifoldcf.core.interfaces
Class SpecificationNode

java.lang.Object
  extended by org.apache.manifoldcf.core.interfaces.ConfigurationNode
      extended by org.apache.manifoldcf.core.interfaces.SpecificationNode
All Implemented Interfaces:
IHierarchyParent

public class SpecificationNode
extends ConfigurationNode

This class represents a node in a specification structure. Its existence apart from ConfigurationNode is largely a relic.


Field Summary
static java.lang.String _rcsid
           
 
Fields inherited from class org.apache.manifoldcf.core.interfaces.ConfigurationNode
attributes, children, readOnly, type, value
 
Constructor Summary
SpecificationNode(ConfigurationNode source)
          Copy constructor.
SpecificationNode(java.lang.String type)
          Constructor.
 
Method Summary
protected  ConfigurationNode createNewNode()
          Create a new node of this same type and class.
protected  ConfigurationNode createNewNode(ConfigurationNode source)
          Make a new node that is a copy of the specified node.
 SpecificationNode duplicate(boolean readOnly)
          Duplicate.
 SpecificationNode getChild(int index)
          Get child n.
 
Methods inherited from class org.apache.manifoldcf.core.interfaces.ConfigurationNode
addChild, createDuplicate, equals, findChild, getAttributeCount, getAttributes, getAttributeValue, getChildCount, getType, getValue, hashCode, makeReadOnly, removeChild, setAttribute, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values
Constructor Detail

SpecificationNode

public SpecificationNode(java.lang.String type)
Constructor.


SpecificationNode

public SpecificationNode(ConfigurationNode source)
Copy constructor.

Method Detail

createNewNode

protected ConfigurationNode createNewNode()
Create a new node of this same type and class.

Overrides:
createNewNode in class ConfigurationNode
Returns:
the new node.

createNewNode

protected ConfigurationNode createNewNode(ConfigurationNode source)
Make a new node that is a copy of the specified node.

Overrides:
createNewNode in class ConfigurationNode

duplicate

public SpecificationNode duplicate(boolean readOnly)
Duplicate.

Returns:
the duplicate.

getChild

public SpecificationNode getChild(int index)
Get child n.

Parameters:
index - is the child number.
Returns:
the child node.