public interface IProcessor extends Comparable<IProcessor>
Common interface for all processors to be applied on Thymeleaf DOM trees.
Modifier and Type | Method and Description |
---|---|
IProcessorMatcher<? extends Node> |
getMatcher()
Returns the matcher (
IProcessorMatcher ) that
defines the applicability of this processor. |
ProcessorResult |
process(Arguments arguments,
ProcessorMatchingContext processorMatchingContext,
Node node)
Processes a node.
|
compareTo
IProcessorMatcher<? extends Node> getMatcher()
Returns the matcher (IProcessorMatcher
) that
defines the applicability of this processor.
ProcessorResult process(Arguments arguments, ProcessorMatchingContext processorMatchingContext, Node node)
Processes a node. This node is supposed to have already positively matched this processor's applicability.
arguments
- the Arguments object to be applied.processorMatchingContext
- the matching context.node
- the node to be processed.Copyright © 2017 The THYMELEAF team. All rights reserved.