Package org.apache.uima.jcas.tcas
Class Annotation_Type
- java.lang.Object
-
- org.apache.uima.jcas.cas.TOP_Type
-
- org.apache.uima.jcas.cas.AnnotationBase_Type
-
- org.apache.uima.jcas.tcas.Annotation_Type
-
- Direct Known Subclasses:
DocumentAnnotation_Type
,SourceDocumentInformation_Type
public class Annotation_Type extends AnnotationBase_Type
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
featOkTst
static int
typeIndexID
-
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Annotation_Type()
Annotation_Type(JCas jcas, Type casType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBegin(int addr)
String
getCoveredText(int inst)
int
getEnd(int addr)
protected FSGenerator<?>
getFSGenerator()
void
setBegin(int addr, int v)
void
setEnd(int addr, int v)
-
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type
getSofa, getView
-
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes
-
-
-
-
Method Detail
-
getFSGenerator
protected FSGenerator<?> getFSGenerator()
- Overrides:
getFSGenerator
in classAnnotationBase_Type
-
getBegin
public int getBegin(int addr)
-
setBegin
public void setBegin(int addr, int v)
-
getEnd
public int getEnd(int addr)
-
setEnd
public void setEnd(int addr, int v)
-
getCoveredText
public String getCoveredText(int inst)
- Parameters:
inst
- low level reference to a Feature Structure- Returns:
- null or the covered text
- See Also:
AnnotationFS.getCoveredText()
-
-