Package org.apache.uima.cas.impl
Class AnnotationTreeImpl<T extends AnnotationFS>
- java.lang.Object
-
- org.apache.uima.cas.impl.AnnotationTreeImpl<T>
-
- All Implemented Interfaces:
AnnotationTree<T>
public class AnnotationTreeImpl<T extends AnnotationFS> extends java.lang.Object implements AnnotationTree<T>
Implementation of annotation tree.
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationTreeNodeImpl<T>
root
-
Constructor Summary
Constructors Constructor Description AnnotationTreeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationTreeNode<T>
getRoot()
Get the root node of the tree.(package private) void
setRoot(AnnotationTreeNodeImpl<T> root)
-
-
-
Field Detail
-
root
private AnnotationTreeNodeImpl<T extends AnnotationFS> root
-
-
Method Detail
-
getRoot
public AnnotationTreeNode<T> getRoot()
Description copied from interface:AnnotationTree
Get the root node of the tree.- Specified by:
getRoot
in interfaceAnnotationTree<T extends AnnotationFS>
- Returns:
- The root node of the tree.
-
setRoot
void setRoot(AnnotationTreeNodeImpl<T> root)
-
-