public class DocKey
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
DocKey()
Never called.
|
|
DocKey(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
DocKey(JCas jcas) |
|
DocKey(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
FSArray |
getKeyValuePairs()
getter for keyValuePairs - gets
|
KeyValuePair |
getKeyValuePairs(int i)
indexed getter for keyValuePairs - gets an indexed value -
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setKeyValuePairs(FSArray v)
setter for keyValuePairs - sets
|
void |
setKeyValuePairs(int i,
KeyValuePair v)
indexed setter for keyValuePairs - sets an indexed value -
|
protected DocKey()
public DocKey(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic DocKey(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic DocKey(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public FSArray getKeyValuePairs()
public void setKeyValuePairs(FSArray v)
v
- value to set into the featurepublic KeyValuePair getKeyValuePairs(int i)
i
- index in the array to getpublic void setKeyValuePairs(int i, KeyValuePair v)
i
- index in the array to setv
- value to set into the array