public class SourceDocumentInformation_Type extends Annotation_Type
| Modifier and Type | Field and Description |
|---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance| Constructor and Description |
|---|
SourceDocumentInformation_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDocumentSize(int addr) |
protected 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, setEndgetSofa, getViewaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final int typeIndexID
public static final boolean featOkTst
protected FSGenerator getFSGenerator()
getFSGenerator in class 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–2021 The Apache Software Foundation. All rights reserved.