public class BooleanLabeledTree_Type
extends Annotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_label |
(package private) Feature |
casFeat_tree |
(package private) int |
casFeatCode_label |
(package private) int |
casFeatCode_tree |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
BooleanLabeledTree_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
boolean |
getLabel(int addr) |
java.lang.String |
getTree(int addr) |
void |
setLabel(int addr,
boolean v) |
void |
setTree(int addr,
java.lang.String v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_label
final int casFeatCode_label
final Feature casFeat_tree
final int casFeatCode_tree
public BooleanLabeledTree_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public boolean getLabel(int addr)
addr
- low level Feature Structure referencepublic void setLabel(int addr, boolean v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getTree(int addr)
addr
- low level Feature Structure referencepublic void setTree(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set