public class DocKey_Type
extends Annotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_keyValuePairs |
(package private) int |
casFeatCode_keyValuePairs |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
DocKey_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
int |
getKeyValuePairs(int addr) |
int |
getKeyValuePairs(int addr,
int i) |
void |
setKeyValuePairs(int addr,
int v) |
void |
setKeyValuePairs(int addr,
int i,
int v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_keyValuePairs
final int casFeatCode_keyValuePairs
public DocKey_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public 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 set