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) |
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,
String v) |
getBegin, getCoveredText, getEnd, setBegin, setEndpublic 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 - -casType - -protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
getFSGenerator in class org.apache.uima.jcas.tcas.Annotation_Typepublic String getUri(int addr)
addr - -public void setUri(int addr,
String v)
addr - -v - the Uripublic int getOffsetInSource(int addr)
addr - -public void setOffsetInSource(int addr,
int v)
addr - -v - -public int getDocumentSize(int addr)
addr - -public void setDocumentSize(int addr,
int v)
addr - -v - the document sizepublic boolean getLastSegment(int addr)
addr - -public void setLastSegment(int addr,
boolean v)
addr - -v - true if last segmentCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.