|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OffsetAttribute
The start and end character offset of a Token.
Method Summary | |
---|---|
int |
endOffset()
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. |
void |
setOffset(int startOffset,
int endOffset)
Set the starting and ending offset. |
int |
startOffset()
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. |
Method Detail |
---|
int startOffset()
void setOffset(int startOffset, int endOffset)
and #endOffset()
int endOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |