|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sen.filter.reading.OverrideFilter
public class OverrideFilter
A reading filter that overrides decisions on reading visibility made by earlier filters. Typically this filter will be set as the last in a chain of filters to allow changes to be made interactively
| Constructor Summary | |
|---|---|
OverrideFilter()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverrideFilter()
| Method Detail |
|---|
public void filterReadings(List<Token> tokens,
ReadingNode readingNode)
ReadingFilter
filterReadings in interface ReadingFiltertokens - The tokens to which the readings are appliedreadingNode - The head of a list of ReadingNodespublic void reset()
ReadingFilter
reset in interface ReadingFilter
public void setVisible(int position,
Boolean visible)
position - The position to set the override atvisible - The visibility to set. null removes the
override
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||