public interface Token extends TermOccurrence
Modifier and Type | Method and Description |
---|---|
DefaultTerm |
asTerm()
Tokens always are treated as
DefaultTerm objects that contain
the text of the Token . |
java.lang.String |
getText()
Gets the text of the token.
|
getTerm
getData, getLength, getStart
java.lang.String getText()
DefaultTerm asTerm()
DefaultTerm
objects that contain
the text of the Token
.