|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationTreeNode
Represents a node in an annotation tree.
| Method Summary | |
|---|---|
AnnotationFS |
get()
Return the annotation for this node. |
AnnotationTreeNode |
getChild(int i)
Get the i-th child of this node. |
int |
getChildCount()
Get the number of children this node has. |
ArrayList |
getChildren()
Get all children of this node as an ArrayList. |
AnnotationTreeNode |
getNextSibling()
Get the next sibling (to the right) of this node. |
AnnotationTreeNode |
getParent()
Get the parent of this node. |
AnnotationTreeNode |
getPreviousSibling()
Get the previous sibling (to the left) of this node. |
| Method Detail |
|---|
AnnotationTreeNode getParent()
null if this node has no parent (root).int getChildCount()
AnnotationTreeNode getChild(int i)
throws CASRuntimeException
i - The index of the child.
CASRuntimeException - If i < 0 or i >= getChildCount().AnnotationTreeNode getNextSibling()
null if no such sibling exists.AnnotationTreeNode getPreviousSibling()
null if no such sibling exists.ArrayList getChildren()
AnnotationFS get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||