Package org.thymeleaf.processor.comment
Interface ICommentProcessor
-
- All Superinterfaces:
IProcessor
- All Known Implementing Classes:
AbstractCommentProcessor
,StandardConditionalCommentProcessor
,StandardInliningCommentProcessor
public interface ICommentProcessor extends IProcessor
Base interface for all processors that execute on Comment events (
IComment
).- Since:
- 3.0.0
- Author:
- Daniel Fernández
- See Also:
AbstractCommentProcessor
,ICommentStructureHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(ITemplateContext context, IComment comment, ICommentStructureHandler structureHandler)
Execute the processor.-
Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
-
-
-
Method Detail
-
process
void process(ITemplateContext context, IComment comment, ICommentStructureHandler structureHandler)
Execute the processor.
The
IComment
object argument is immutable, so all modifications to this object or any instructions to be given to the engine should be done through the specifiedICommentStructureHandler
handler.- Parameters:
context
- the execution context.comment
- the event this processor is executing on.structureHandler
- the handler that will centralise modifications and commands to the engine.
-
-