public class Chunk
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Chunk()
Never called.
|
|
Chunk(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Chunk(JCas jcas) |
|
Chunk(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChunkType()
getter for chunkType - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setChunkType(java.lang.String v)
setter for chunkType - sets
|
protected Chunk()
public Chunk(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Chunk(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Chunk(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 java.lang.String getChunkType()
public void setChunkType(java.lang.String v)
v
- value to set into the feature