|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Walker
Objects that can walk over a filter expression, showing each element to a visitor.
Walker implementations are not guaranteed to be thread-safe. In particular, it is not possible to use the same Walker instance with more than one thread if the visitor has return values. Walker implementations can be re-used once the previous walk has been completed.
Method Summary | |
---|---|
java.lang.Object |
getValue()
If the visitor has a return value, then the result of applying the visitor to the tree can be obtained using this method, otherwise the result will be null. |
void |
walk(java.lang.Object filter,
Visitor visitor)
This walks the feature tree, showing the visitor each filter in the expression. |
Method Detail |
---|
void walk(java.lang.Object filter, Visitor visitor)
filter
- visitor
- java.lang.Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |