org.apache.manifoldcf.core.interfaces
Class ConfigNode

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

public class ConfigNode
extends ConfigurationNode

This class represents a node in a repository configuration 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
ConfigNode(ConfigurationNode source)
          Copy constructor.
ConfigNode(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.
 ConfigNode duplicate(boolean readOnly)
          Duplicate.
 ConfigNode 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

ConfigNode

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


ConfigNode

public ConfigNode(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 ConfigNode duplicate(boolean readOnly)
Duplicate.

Returns:
the duplicate.

getChild

public ConfigNode getChild(int index)
Get child n.

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