public interface IProcessorMatcher<T extends Node>
Common interface for objects that specify when a processor can be applied to a node.
Modifier and Type | Method and Description |
---|---|
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.
|
boolean matches(Node node, ProcessorMatchingContext context)
Try to match the node, using the specified matching context.
node
- the node to be matchedcontext
- the matching contextCopyright © 2017 The THYMELEAF team. All rights reserved.