Creates a new instance of DefaultConfigurationNode and
initializes it with the name and a value.
Parameters: name - the node's name Parameters: value - the node's value
Checks if a modification of this node is allowed. Some properties of a
node must not be changed when the node has a parent. This method checks
this and throws a runtime exception if necessary.
Creates a SubNodes instance that is used for storing
either this node's children or attributes.
Parameters: attributes - true if the returned instance is used forstoring attributes, false for storing child nodes the SubNodes object to use
Returns a list of all children with the given name.
Parameters: name - the name; can be null , then all children are returned a list of all children with the given name
Returns the number of children with the given name.
Parameters: name - the name; can be null , then the number of allchildren is returned the number of child nodes with this name
Deals with the reference when a node is removed. This method is called
for each removed child node or attribute. It can be overloaded in sub
classes, for which the reference has a concrete meaning and remove
operations need some update actions. This default implementation is
empty.