Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes

org::apache::uima::jcas::tcas::Annotation Class Reference

Inheritance diagram for org::apache::uima::jcas::tcas::Annotation:
Inheritance graph
Collaboration diagram for org::apache::uima::jcas::tcas::Annotation:
Collaboration graph

List of all members.

Public Member Functions

void addToIndexes ()
void addToIndexes (JCas jcas)
 Annotation (JCas jcas, int begin, int end)
 Annotation (JCas jcas)
 Annotation (int addr, TOP_Type type)
Object clone () throws CASRuntimeException
boolean equals (Object o)
int getAddress ()
int getBegin ()
boolean getBooleanValue (Feature feat) throws CASRuntimeException
byte getByteValue (Feature feat) throws CASRuntimeException
CAS getCAS ()
CASImpl getCASImpl ()
String getCoveredText ()
double getDoubleValue (Feature feat) throws CASRuntimeException
int getEnd ()
FeatureStructure getFeatureValue (Feature feat) throws CASRuntimeException
String getFeatureValueAsString (Feature feat) throws CASRuntimeException
float getFloatValue (Feature feat) throws CASRuntimeException
int getIntValue (Feature feat)
long getLongValue (Feature feat) throws CASRuntimeException
LowLevelCAS getLowLevelCas ()
short getShortValue (Feature feat) throws CASRuntimeException
SofaFS getSofa ()
int getStart ()
String getStringValue (Feature f) throws CASRuntimeException
Type getType ()
int getTypeIndexID ()
CAS getView ()
int hashCode ()
void prettyPrint (int indent, int incr, StringBuffer buf, boolean useShortNames, String s, PrintReferences printRefs)
void prettyPrint (int indent, int incr, StringBuffer buf, boolean useShortNames)
void prettyPrint (int indent, int incr, StringBuffer buf, boolean useShortNames, String s)
void removeFromIndexes (JCas jcas)
void removeFromIndexes ()
void setBegin (int v)
void setBooleanValue (Feature feat, boolean b) throws CASRuntimeException
void setByteValue (Feature feat, byte val) throws CASRuntimeException
void setDoubleValue (Feature feat, double val) throws CASRuntimeException
void setEnd (int v)
void setFeatureValue (Feature feat, FeatureStructure fs)
void setFeatureValueFromString (Feature feat, String s) throws CASRuntimeException
void setFloatValue (Feature feat, float val)
void setIntValue (Feature feat, int val)
void setLongValue (Feature feat, long val) throws CASRuntimeException
void setShortValue (Feature feat, short val) throws CASRuntimeException
void setStringValue (Feature feat, String val)
String toString (int indent)
String toString ()

Public Attributes

TOP_Type jcasType

Static Public Attributes

static final int type = typeIndexID
static final int typeIndexID = JCasRegistry.register(Annotation.class)

Protected Attributes

final int addr

Detailed Description

the JCas class model for the CAS type uima.cas.Annotation. It defines two integer valued features indicating the begin and end of the span being annotated. There is also a method to retrieve the spanned text as a string.

Definition at line 34 of file Annotation.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index