public interface IDocTypeProcessor extends IProcessor
Base interface for all processors that execute on DOCTYPE events (IDocType).
AbstractDocTypeProcessor,
IDocTypeStructureHandler| Modifier and Type | Method and Description |
|---|---|
void |
process(ITemplateContext context,
IDocType docType,
IDocTypeStructureHandler structureHandler)
Execute the processor.
|
getPrecedence, getTemplateModevoid process(ITemplateContext context, IDocType docType, IDocTypeStructureHandler structureHandler)
Execute the processor.
The IDocType 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
IDocTypeStructureHandler handler.
context - the execution context.docType - the event this processor is executing on.structureHandler - the handler that will centralise modifications and commands to the engine.Copyright © 2017 The THYMELEAF team. All rights reserved.