public class DocKey_Type
extends org.apache.uima.jcas.tcas.Annotation_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
DocKey_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 |
getKeyValuePairs(int addr) |
int |
getKeyValuePairs(int addr,
int i) |
void |
setKeyValuePairs(int addr,
int v) |
void |
setKeyValuePairs(int addr,
int i,
int v) |
getBegin, getCoveredText, getEnd, getFSGenerator, setBegin, setEnd
public static final int typeIndexID
public static final boolean featOkTst
public DocKey_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typepublic int getKeyValuePairs(int addr)
addr
- low level Feature Structure referencepublic void setKeyValuePairs(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getKeyValuePairs(int addr, int i)
addr
- low level Feature Structure referencei
- index of item in the arraypublic void setKeyValuePairs(int addr, int i, int v)
addr
- low level Feature Structure referencei
- index of item in the arrayv
- value to setCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.