public interface ITextProcessor extends IProcessor
Base interface for all processors that execute on Text events (IText
).
AbstractTextProcessor
,
ITextStructureHandler
Modifier and Type | Method and Description |
---|---|
void |
process(ITemplateContext context,
IText text,
ITextStructureHandler structureHandler)
Execute the processor.
|
getPrecedence, getTemplateMode
void process(ITemplateContext context, IText text, ITextStructureHandler structureHandler)
Execute the processor.
The IText
object argument is immutable, so all modifications to this object or any
instructions to be given to the engine should be done through the specified
ITextStructureHandler
handler.
context
- the execution context.text
- the event this processor is executing on.structureHandler
- the handler that will centralise modifications and commands to the engine.Copyright © 2016 The THYMELEAF team. All rights reserved.