|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INode
The interface to Node datastructure.
Method Summary | |
---|---|
void |
addChild(INode child)
Adds child to the given node. |
java.util.Vector<INode> |
getAncestors()
Returns all ancestors of the given node. |
java.util.Vector<INode> |
getChildren()
Returns children of the node. |
int |
getDescendantCount()
Returns count of descendant nodes, including itself. |
java.util.Vector<INode> |
getDescendants()
Returns all descendants of the node. |
INodeData |
getNodeData()
Returns interface to node metadata. |
java.lang.String |
getNodeId()
Retunrs node id. |
java.lang.String |
getNodeName()
Returns node label. |
INode |
getParent()
Returns interface to the parent node. |
boolean |
isRoot()
Retunrs true if the node is a root in the context and false otherwise. |
void |
removeChild(INode child)
Removes child of the node. |
Method Detail |
---|
void addChild(INode child)
child
- node to addjava.util.Vector<INode> getAncestors()
java.util.Vector<INode> getDescendants()
int getDescendantCount()
boolean isRoot()
INode getParent()
java.lang.String getNodeId()
java.lang.String getNodeName()
java.util.Vector<INode> getChildren()
void removeChild(INode child)
child
- child node to removeINodeData getNodeData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |