|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.common.Node
Keeps track of a hirearchy of information.
Constructor Summary | |
Node()
Creates new Node |
|
Node(java.lang.String inName)
Creates new Node |
Method Summary | |
void |
addAttribute(java.lang.String inAttributeName,
java.lang.String inAttributeValue)
Add an attribute to this node |
void |
addChild(Node inNode)
Add a child node to this node. |
java.lang.String |
getAttribute(java.lang.String inAttributeName)
Retrieve the value of this attribute |
java.lang.String[] |
getAttributeNames()
Retrieve the list of attribute names |
Node |
getChild(java.lang.String inName)
return the first child with the given name |
Node[] |
getChildren()
return the list of child nodes |
Node[] |
getChildren(java.lang.String inName)
return the children with the given name |
java.lang.String |
getName()
Retrieve the name of this node |
java.lang.String |
getValue()
Get the value of this node |
void |
setName(java.lang.String inName)
Set the name of this node |
void |
setValue(java.lang.String inValue)
Set the value of this node |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Node()
public Node(java.lang.String inName)
Method Detail |
public void setName(java.lang.String inName)
public java.lang.String getName()
public void setValue(java.lang.String inValue)
public java.lang.String getValue()
public void addChild(Node inNode)
public Node getChild(java.lang.String inName)
public Node[] getChildren()
public Node[] getChildren(java.lang.String inName)
public void addAttribute(java.lang.String inAttributeName, java.lang.String inAttributeValue)
public java.lang.String getAttribute(java.lang.String inAttributeName)
public java.lang.String[] getAttributeNames()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |