|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.HierarchicalConfiguration.Node
org.apache.commons.configuration.XMLConfiguration.XMLNode
A specialized Node
class that is connected with an XML
element. Changes on a node are also performed on the associated element.
Constructor Summary | |
XMLConfiguration.XMLNode(Element elem)
Creates a new instance of XMLNode and initializes it
with the corresponding XML element. |
|
XMLConfiguration.XMLNode(String name,
Element elem)
Creates a new instance of XMLNode and initializes it
with a name and the corresponding XML element. |
Method Summary | |
protected void |
removeReference()
Updates the associated XML elements when a node is removed. |
void |
setValue(Object value)
Sets the value of this node. |
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration.Node |
addChild, clone, getChildren, getChildren, getName, getParent, getReference, getValue, remove, remove, removeChildren, setName, setParent, setReference, visit |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLConfiguration.XMLNode(Element elem)
XMLNode
and initializes it
with the corresponding XML element.
elem
- the XML elementpublic XMLConfiguration.XMLNode(String name, Element elem)
XMLNode
and initializes it
with a name and the corresponding XML element.
name
- the node's nameelem
- the XML elementMethod Detail |
public void setValue(Object value)
setValue
in class HierarchicalConfiguration.Node
value
- the node's new valueprotected void removeReference()
removeReference
in class HierarchicalConfiguration.Node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |