|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProcessorMatcher<T extends Node>
Common interface for objects that specify when a processor can be applied to a node.
Method Summary | |
---|---|
Class<? extends T> |
appliesTo()
Returns the type of Node this matcher applies to (and therefore the type of Node that processors with this matcher will apply to). |
boolean |
matches(Node node,
ProcessorMatchingContext context)
Try to match the node, using the specified matching context. |
Method Detail |
---|
boolean matches(Node node, ProcessorMatchingContext context)
Try to match the node, using the specified matching context.
node
- the node to be matchedcontext
- the matching context
Class<? extends T> appliesTo()
Returns the type of Node this matcher applies to (and therefore the type of Node that processors with this matcher will apply to).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |