Interface IXMLDeclarationProcessor
- All Superinterfaces:
IProcessor
- All Known Implementing Classes:
AbstractXMLDeclarationProcessor
Base interface for all processors that execute on XML Declaration events (IXMLDeclaration).
- Since:
- 3.0.0
- Author:
- Daniel Fernández
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ITemplateContext context, IXMLDeclaration xmlDeclaration, IXMLDeclarationStructureHandler structureHandler) Execute the processor.Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Method Details
-
process
void process(ITemplateContext context, IXMLDeclaration xmlDeclaration, IXMLDeclarationStructureHandler structureHandler) Execute the processor.
The
IXMLDeclarationobject argument is immutable, so all modifications to this object or any instructions to be given to the engine should be done through the specifiedIXMLDeclarationStructureHandlerhandler.- Parameters:
context- the execution context.xmlDeclaration- the event this processor is executing on.structureHandler- the handler that will centralise modifications and commands to the engine.
-