|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the supertype for which the NodeFilter
can accept nodes.public interface NodeFilter<T extends NodeInterface>
NodeFilter
defines an interface for filtering nodes.
Method Summary | |
---|---|
boolean |
accept(Node node)
Returns true if node is accepted by the
NodeFilter . |
boolean |
guard(Node node)
Returns true if node guards further processesing. |
Method Detail |
---|
boolean accept(Node node)
true
if node
is accepted by the
NodeFilter
. The NodeFilter
may only accept nodes that are
subtypes of T
.
node
- the node in question
true
if node
is accepted by the NodeFilter
boolean guard(Node node)
true
if node
guards further processesing.
node
- the node in question
true
if node
guards further processesing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |