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

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by uima.tt.TokenAnnotation
                      extended by org.apache.uima.conceptMapper.support.tokenizer.TokenAnnotation
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class TokenAnnotation
extends TokenAnnotation

offset tokenizer functionality Updated by JCasGen Tue Mar 25 16:39:54 EDT 2008 XML source: /OtherStuff/IBM/eclipse-apacheuima/conceptMapper/src/org/apache/uima/conceptMapper/support/tokenizer/TokenAnnotation.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected TokenAnnotation()
          Never called.
  TokenAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  TokenAnnotation(org.apache.uima.jcas.JCas jcas)
           
  TokenAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 java.lang.String getText()
          getter for text - gets text of token
 java.lang.String getTokenClass()
          getter for tokenClass - gets semantic class, or other such classification of this token
 int getTokenType()
          getter for tokenType - gets
 int getTypeIndexID()
           
 void setText(java.lang.String v)
          setter for text - sets text of token
 void setTokenClass(java.lang.String v)
          setter for tokenClass - sets semantic class, or other such classification of this token
 void setTokenType(int v)
          setter for tokenType - sets
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase
getSofa, getView
 
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
 
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS
getView
 
Methods inherited from interface org.apache.uima.cas.FeatureStructure
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

TokenAnnotation

protected TokenAnnotation()
Never called. Disable default constructor


TokenAnnotation

public TokenAnnotation(int addr,
                       org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


TokenAnnotation

public TokenAnnotation(org.apache.uima.jcas.JCas jcas)

TokenAnnotation

public TokenAnnotation(org.apache.uima.jcas.JCas jcas,
                       int begin,
                       int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class TokenAnnotation

getText

public java.lang.String getText()
getter for text - gets text of token


setText

public void setText(java.lang.String v)
setter for text - sets text of token


getTokenType

public int getTokenType()
getter for tokenType - gets


setTokenType

public void setTokenType(int v)
setter for tokenType - sets


getTokenClass

public java.lang.String getTokenClass()
getter for tokenClass - gets semantic class, or other such classification of this token


setTokenClass

public void setTokenClass(java.lang.String v)
setter for tokenClass - sets semantic class, or other such classification of this token



Copyright © 2011. All Rights Reserved.