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 booleanfeatOkTststatic inttypeIndexID-
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 protectedAnnotation_Type()Annotation_Type(JCas jcas, Type casType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBegin(int addr)java.lang.StringgetCoveredText(int inst)intgetEnd(int addr)protected FSGenerator<?>getFSGenerator()voidsetBegin(int addr, int v)voidsetEnd(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:
getFSGeneratorin 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 java.lang.String getCoveredText(int inst)
- Parameters:
inst- low level reference to a Feature Structure- Returns:
- null or the covered text
- See Also:
AnnotationFS.getCoveredText()
-
-