org.apache.uima.tika
Class SourceDocumentAnnotation

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 org.apache.uima.jcas.tcas.DocumentAnnotation
                      extended by org.apache.uima.tika.SourceDocumentAnnotation
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class SourceDocumentAnnotation
extends org.apache.uima.jcas.tcas.DocumentAnnotation

Updated by JCasGen Fri Jun 12 15:31:15 CEST 2009 XML source: C:/code/uima/TikaAnnotator/desc/MarkupAnnotationTypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected SourceDocumentAnnotation()
          Never called.
  SourceDocumentAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  SourceDocumentAnnotation(org.apache.uima.jcas.JCas jcas)
           
  SourceDocumentAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 String getContentType()
          getter for contentType - gets
 org.apache.uima.jcas.cas.FSArray getFeatures()
          getter for features - gets
 FeatureValue getFeatures(int i)
          indexed getter for features - gets an indexed value -
 int getTypeIndexID()
           
 String getUri()
          getter for uri - gets
 void setContentType(String v)
          setter for contentType - sets
 void setFeatures(org.apache.uima.jcas.cas.FSArray v)
          setter for features - sets
 void setFeatures(int i, FeatureValue v)
          indexed setter for features - sets an indexed value -
 void setUri(String v)
          setter for uri - sets
 
Methods inherited from class org.apache.uima.jcas.tcas.DocumentAnnotation
getLanguage, setLanguage
 
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

SourceDocumentAnnotation

protected SourceDocumentAnnotation()
Never called. Disable default constructor


SourceDocumentAnnotation

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


SourceDocumentAnnotation

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

SourceDocumentAnnotation

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

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.DocumentAnnotation

getUri

public String getUri()
getter for uri - gets


setUri

public void setUri(String v)
setter for uri - sets


getContentType

public String getContentType()
getter for contentType - gets


setContentType

public void setContentType(String v)
setter for contentType - sets


getFeatures

public org.apache.uima.jcas.cas.FSArray getFeatures()
getter for features - gets


setFeatures

public void setFeatures(org.apache.uima.jcas.cas.FSArray v)
setter for features - sets


getFeatures

public FeatureValue getFeatures(int i)
indexed getter for features - gets an indexed value -


setFeatures

public void setFeatures(int i,
                        FeatureValue v)
indexed setter for features - sets an indexed value -



Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.