public class OverrideFilter extends Object implements ReadingFilter
| Constructor and Description |
|---|
OverrideFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
filterReadings(List<Token> tokens,
ReadingNode readingNode)
Filters readings
|
void |
reset()
Resets any sentence specific state held by the filter.
|
void |
setVisible(int position,
Boolean visible)
Sets a visibility override at a given character index
|
public void filterReadings(List<Token> tokens, ReadingNode readingNode)
ReadingFilterfilterReadings in interface ReadingFiltertokens - The tokens to which the readings are appliedreadingNode - The head of a list of ReadingNodespublic void reset()
ReadingFilterreset in interface ReadingFilterpublic void setVisible(int position,
Boolean visible)
position - The position to set the override atvisible - The visibility to set. null removes the
override