Package org.thymeleaf.util
Class ProcessorConfigurationUtils.ProcessingInstructionProcessorWrapper
java.lang.Object
org.thymeleaf.util.ProcessorConfigurationUtils.AbstractProcessorWrapper
org.thymeleaf.util.ProcessorConfigurationUtils.ProcessingInstructionProcessorWrapper
- All Implemented Interfaces:
IAttributeDefinitionsAware,IElementDefinitionsAware,IProcessor,IProcessingInstructionProcessor
- Enclosing class:
ProcessorConfigurationUtils
static final class ProcessorConfigurationUtils.ProcessingInstructionProcessorWrapper
extends ProcessorConfigurationUtils.AbstractProcessorWrapper
implements IProcessingInstructionProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProcessingInstructionProcessorWrapper(IProcessingInstructionProcessor processor, IProcessorDialect dialect) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ITemplateContext context, IProcessingInstruction processingInstruction, IProcessingInstructionStructureHandler structureHandler) Execute the processor.Methods inherited from class org.thymeleaf.util.ProcessorConfigurationUtils.AbstractProcessorWrapper
getDialect, getDialectPrecedence, getPrecedence, getTemplateMode, setAttributeDefinitions, setElementDefinitions, toString, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
processor
-
-
Constructor Details
-
ProcessingInstructionProcessorWrapper
ProcessingInstructionProcessorWrapper(IProcessingInstructionProcessor processor, IProcessorDialect dialect)
-
-
Method Details
-
process
public void process(ITemplateContext context, IProcessingInstruction processingInstruction, IProcessingInstructionStructureHandler structureHandler) Description copied from interface:IProcessingInstructionProcessorExecute the processor.
The
IProcessingInstructionobject argument is immutable, so all modifications to this object or any instructions to be given to the engine should be done through the specifiedIProcessingInstructionStructureHandlerhandler.- Specified by:
processin interfaceIProcessingInstructionProcessor- Parameters:
context- the execution context.processingInstruction- the event this processor is executing on.structureHandler- the handler that will centralise modifications and commands to the engine.
-