public class SourceDocumentInformation_Type
extends org.apache.uima.jcas.tcas.Annotation_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
SourceDocumentInformation_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getDocumentSize(int addr) |
protected org.apache.uima.cas.impl.FSGenerator |
getFSGenerator() |
boolean |
getLastSegment(int addr) |
int |
getOffsetInSource(int addr) |
java.lang.String |
getUri(int addr) |
void |
setDocumentSize(int addr,
int v) |
void |
setLastSegment(int addr,
boolean v) |
void |
setOffsetInSource(int addr,
int v) |
void |
setUri(int addr,
java.lang.String v) |
getBegin, getCoveredText, getEnd, setBegin, setEnd
public static final int typeIndexID
public static final boolean featOkTst
public SourceDocumentInformation_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typeprotected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
getFSGenerator
in class org.apache.uima.jcas.tcas.Annotation_Type
public java.lang.String getUri(int addr)
addr
- low level Feature Structure referencepublic void setUri(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic int getOffsetInSource(int addr)
addr
- low level Feature Structure referencepublic void setOffsetInSource(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getDocumentSize(int addr)
addr
- low level Feature Structure referencepublic void setDocumentSize(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic boolean getLastSegment(int addr)
addr
- low level Feature Structure referencepublic void setLastSegment(int addr, boolean v)
addr
- low level Feature Structure referencev
- value to set