public interface HasContext
Modifier and Type | Method and Description |
---|---|
String |
after()
Return the whitespace String after the word.
|
String |
before() |
String |
originalText()
Return the String which is the original character sequence of the token.
|
void |
setAfter(String after)
Set the whitespace String after the word.
|
void |
setBefore(String before)
Set the whitespace String before the word.
|
void |
setOriginalText(String originalText)
Set the String which is the original character sequence of the token.
|
String before()
void setBefore(String before)
before
- the whitespace String before the wordString originalText()
void setOriginalText(String originalText)
originalText
- The original character sequence of the tokenString after()
void setAfter(String after)
after
- The whitespace String after the word