org.apache.manifoldcf.core.interfaces
Interface IHierarchyParent

All Known Implementing Classes:
ConfigNode, ConfigParams, Configuration, ConfigurationNode, DocumentSpecification, ManifoldCFConfiguration, OutputSpecification, Specification, SpecificationNode

public interface IHierarchyParent

This interface describes the methods for support configuration parent/child relationships.


Field Summary
static java.lang.String _rcsid
           
 
Method Summary
 void addChild(int index, ConfigurationNode child)
          Add child at specified position.
 ConfigurationNode findChild(int index)
          Get child n.
 int getChildCount()
          Get child count.
 void removeChild(int index)
          Remove child n.
 

Field Detail

_rcsid

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

getChildCount

int getChildCount()
Get child count.

Returns:
the count.

findChild

ConfigurationNode findChild(int index)
Get child n.

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

removeChild

void removeChild(int index)
Remove child n.

Parameters:
index - is the child to remove.

addChild

void addChild(int index,
              ConfigurationNode child)
Add child at specified position.

Parameters:
index - is the position to add the child.
child - is the child to add.