org.apache.uima.conceptMapper.support.tokenizer
Class TokenAnnotation_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.uima.jcas.cas.AnnotationBase_Type
          extended by org.apache.uima.jcas.tcas.Annotation_Type
              extended by uima.tt.TokenAnnotation_Type
                  extended by org.apache.uima.conceptMapper.support.tokenizer.TokenAnnotation_Type

public class TokenAnnotation_Type
extends TokenAnnotation_Type

offset tokenizer functionality Updated by JCasGen Tue Mar 25 16:39:54 EDT 2008


Field Summary
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
TokenAnnotation_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 java.lang.String getText(int addr)
           
 java.lang.String getTokenClass(int addr)
           
 int getTokenType(int addr)
           
 void setText(int addr, java.lang.String v)
           
 void setTokenClass(int addr, java.lang.String v)
           
 void setTokenType(int addr, int v)
           
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type
getBegin, getCoveredText, getEnd, setBegin, setEnd
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst
Constructor Detail

TokenAnnotation_Type

public TokenAnnotation_Type(org.apache.uima.jcas.JCas jcas,
                            org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features

Method Detail

getFSGenerator

protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
Overrides:
getFSGenerator in class TokenAnnotation_Type

getText

public java.lang.String getText(int addr)

setText

public void setText(int addr,
                    java.lang.String v)

getTokenType

public int getTokenType(int addr)

setTokenType

public void setTokenType(int addr,
                         int v)

getTokenClass

public java.lang.String getTokenClass(int addr)

setTokenClass

public void setTokenClass(int addr,
                          java.lang.String v)


Copyright © 2011. All Rights Reserved.