Method Summary |
|
Node | addNode(Node node) adds the given node to this node-collection. |
Node | findNode(String hierarchicalName) finds the node by the given hierarchical name. |
String | generateNodeName() generates a new name for a node to be added to this collection. |
Node | getNode(String name) retrieves a node by name. |
List | getNodes() is the ordered list of nodes. |
Map | getNodesMap() maps node-names to nodes. |
boolean | hasNode(String name) is true if this node-collection contains a node with the
given name, false otherwise. |
Node | removeNode(Node node) removes the given node from this node-collection. |
void | reorderNode(int oldIndex, int newIndex) changes the order of the nodes : the node on oldIndex
is removed and inserted in the newIndex. |