TokenItem.AbstractItem, TokenItem.FilterItem
Constructor and Description |
---|
AbstractItem(TokenID tokenID,
TokenContextPath tokenContextPath,
int offset,
String image) |
Modifier and Type | Method and Description |
---|---|
String |
getImage()
Get the image of this token.
|
int |
getOffset()
Get the position of the token in the document
|
TokenContextPath |
getTokenContextPath()
Get the token-id of this token-item
|
TokenID |
getTokenID()
Get the token-id of this token-item
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNext, getPrevious
public AbstractItem(TokenID tokenID, TokenContextPath tokenContextPath, int offset, String image)
public TokenID getTokenID()
TokenItem
getTokenID
in interface TokenItem
public TokenContextPath getTokenContextPath()
TokenItem
getTokenContextPath
in interface TokenItem
public int getOffset()
TokenItem
public String getImage()
TokenItem