|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.gazetteer.GazetteerResponseTree
Field Summary | |
private Node |
root
|
Constructor Summary | |
GazetteerResponseTree(java.lang.String id)
|
Method Summary | |
void |
action(Node node)
|
private Node |
getNodeAtId(Node node,
java.lang.String id)
returns the node at the specified ID |
Node |
getNodeAtId(java.lang.String id)
returns the node at the specified ID. |
Node |
getRoot()
|
void |
setDataAtId(java.lang.String id,
java.lang.Object data)
sets the node at the given id with the given data |
void |
traversePreorder()
traverses the tree in preorder starting at the root |
void |
traversePreorder(Node node)
traverses the tree in preorder starting at the passed node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Node root
Constructor Detail |
public GazetteerResponseTree(java.lang.String id)
id
- Method Detail |
public void setDataAtId(java.lang.String id, java.lang.Object data)
id
- the id of the node, which has to be setdata
- the data to be set at the specified nodepublic Node getNodeAtId(java.lang.String id)
id
- the id of the node
private Node getNodeAtId(Node node, java.lang.String id)
public void traversePreorder()
traversePreorder
in interface Tree
public void traversePreorder(Node node)
traversePreorder
in interface Tree
public void action(Node node)
action
in interface Tree
node
- public Node getRoot()
getRoot
in interface Tree
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |