net.java.sen.filter.reading
クラス OverrideFilter

java.lang.Object
  上位を拡張 net.java.sen.filter.reading.OverrideFilter
すべての実装されたインタフェース:
ReadingFilter

public class OverrideFilter
extends java.lang.Object
implements ReadingFilter

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


コンストラクタの概要
OverrideFilter()
           
 
メソッドの概要
 void filterReadings(java.util.List<Token> tokens, ReadingNode readingNode)
          Filters readings
 void reset()
          Resets any sentence specific state held by the filter.
 void setVisible(int position, java.lang.Boolean visible)
          Sets a visibility override at a given character index
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

OverrideFilter

public OverrideFilter()
メソッドの詳細

filterReadings

public void filterReadings(java.util.List<Token> tokens,
                           ReadingNode readingNode)
インタフェース ReadingFilter の記述:
Filters readings

定義:
インタフェース ReadingFilter 内の filterReadings
パラメータ:
tokens - The tokens to which the readings are applied
readingNode - The head of a list of ReadingNodes

reset

public void reset()
インタフェース ReadingFilter の記述:
Resets any sentence specific state held by the filter. The implementing filter decides exactly what state is affected, and may choose, for instance, to exclude state relating to global or persistant settings

定義:
インタフェース ReadingFilter 内の reset

setVisible

public void setVisible(int position,
                       java.lang.Boolean visible)
Sets a visibility override at a given character index

パラメータ:
position - The position to set the override at
visible - The visibility to set. null removes the override


Copyright ? 2008. All Rights Reserved.