Package org.apache.uima.tools.viewer
Class CasTreeViewer.AnnotationTreeNodeObject
- java.lang.Object
-
- org.apache.uima.tools.viewer.CasTreeViewer.AnnotationTreeNodeObject
-
- Enclosing class:
- CasTreeViewer
static class CasTreeViewer.AnnotationTreeNodeObject extends java.lang.Object
Inner class containing data for a node in the tree.
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationFS
mAnnotation
The m annotation.private java.lang.String
mCaption
The m caption.
-
Constructor Summary
Constructors Constructor Description AnnotationTreeNodeObject(AnnotationFS aAnnotation)
Instantiates a new annotation tree node object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationFS
getAnnotation()
Gets the annotation.java.lang.String
toString()
-
-
-
Field Detail
-
mAnnotation
private AnnotationFS mAnnotation
The m annotation.
-
mCaption
private java.lang.String mCaption
The m caption.
-
-
Constructor Detail
-
AnnotationTreeNodeObject
public AnnotationTreeNodeObject(AnnotationFS aAnnotation)
Instantiates a new annotation tree node object.- Parameters:
aAnnotation
- the a annotation
-
-
Method Detail
-
getAnnotation
public AnnotationFS getAnnotation()
Gets the annotation.- Returns:
- the annotation
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-