public class TreebankNode_Type extends ScoredAnnotation_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 |
|---|
TreebankNode_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChildren(int addr) |
int |
getChildren(int addr,
int i) |
protected FSGenerator |
getFSGenerator() |
boolean |
getLeaf(int addr) |
int |
getNodeTags(int addr) |
String |
getNodeTags(int addr,
int i) |
String |
getNodeType(int addr) |
String |
getNodeValue(int addr) |
int |
getParent(int addr) |
void |
setChildren(int addr,
int v) |
void |
setChildren(int addr,
int i,
int v) |
void |
setLeaf(int addr,
boolean v) |
void |
setNodeTags(int addr,
int v) |
void |
setNodeTags(int addr,
int i,
String v) |
void |
setNodeType(int addr,
String v) |
void |
setNodeValue(int addr,
String v) |
void |
setParent(int addr,
int v) |
getScore, setScoregetBegin, getCoveredText, getEnd, setBegin, setEndgetSofa, getViewaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final boolean featOkTst
public static final int typeIndexID
public TreebankNode_Type(JCas jcas, Type casType)
jcas - JCascasType - Typepublic int getChildren(int addr)
addr - low level Feature Structure referencepublic int getChildren(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arrayprotected FSGenerator getFSGenerator()
getFSGenerator in class ScoredAnnotation_Typepublic boolean getLeaf(int addr)
addr - low level Feature Structure referencepublic int getNodeTags(int addr)
addr - low level Feature Structure referencepublic String getNodeTags(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arraypublic String getNodeType(int addr)
addr - low level Feature Structure referencepublic String getNodeValue(int addr)
addr - low level Feature Structure referencepublic int getParent(int addr)
addr - low level Feature Structure referencepublic void setChildren(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setChildren(int addr, int i, int v)
addr - low level Feature Structure referencei - index of item in the arrayv - value to setpublic void setLeaf(int addr, boolean v)
addr - low level Feature Structure referencev - value to setpublic void setNodeTags(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setNodeTags(int addr, int i, String v)
addr - low level Feature Structure referencei - index of item in the arrayv - value to setpublic void setNodeType(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setNodeValue(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setParent(int addr, int v)
addr - low level Feature Structure referencev - value to setCopyright © 2014. All rights reserved.