public class Pair_Type
extends TOP_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_attribute |
(package private) Feature |
casFeat_value |
(package private) int |
casFeatCode_attribute |
(package private) int |
casFeatCode_value |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
Pair_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(int addr) |
protected FSGenerator |
getFSGenerator() |
java.lang.String |
getValue(int addr) |
void |
setAttribute(int addr,
java.lang.String v) |
void |
setValue(int addr,
java.lang.String v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_attribute
final int casFeatCode_attribute
final Feature casFeat_value
final int casFeatCode_value
public Pair_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public java.lang.String getAttribute(int addr)
addr
- low level Feature Structure referencepublic void setAttribute(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getValue(int addr)
addr
- low level Feature Structure referencepublic void setValue(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set