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