Class ConfigNode
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.ConfigurationNode
-
- 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
Fields Modifier and Type Field Description static java.lang.String_rcsid-
Fields inherited from class org.apache.manifoldcf.core.interfaces.ConfigurationNode
attributes, children, readOnly, type, value
-
-
Constructor Summary
Constructors Constructor Description ConfigNode(java.lang.String type)Constructor.ConfigNode(ConfigurationNode source)Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationNodecreateNewNode()Create a new node of this same type and class.protected ConfigurationNodecreateNewNode(ConfigurationNode source)Make a new node that is a copy of the specified node.ConfigNodeduplicate(boolean readOnly)Duplicate.ConfigNodegetChild(int index)Get child n.-
Methods inherited from class org.apache.manifoldcf.core.interfaces.ConfigurationNode
addChild, clearChildren, cloneAttributes, createDuplicate, equals, findChild, getAttributeCount, getAttributes, getAttributeValue, getChildCount, getType, getValue, hashCode, makeReadOnly, removeChild, setAttribute, setValue, toString
-
-
-
-
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:
createNewNodein classConfigurationNode- Returns:
- the new node.
-
createNewNode
protected ConfigurationNode createNewNode(ConfigurationNode source)
Make a new node that is a copy of the specified node.- Overrides:
createNewNodein classConfigurationNode
-
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.
-
-