Package org.thymeleaf.util
Class ProcessorConfigurationUtils.ElementModelProcessorWrapper
java.lang.Object
org.thymeleaf.util.ProcessorConfigurationUtils.AbstractProcessorWrapper
org.thymeleaf.util.ProcessorConfigurationUtils.AbstractElementProcessorWrapper
org.thymeleaf.util.ProcessorConfigurationUtils.ElementModelProcessorWrapper
- All Implemented Interfaces:
IAttributeDefinitionsAware,IElementDefinitionsAware,IElementModelProcessor,IElementProcessor,IProcessor
- Enclosing class:
ProcessorConfigurationUtils
static final class ProcessorConfigurationUtils.ElementModelProcessorWrapper
extends ProcessorConfigurationUtils.AbstractElementProcessorWrapper
implements IElementModelProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionElementModelProcessorWrapper(IElementModelProcessor processor, IProcessorDialect dialect) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ITemplateContext context, IModel model, IElementModelStructureHandler structureHandler) Execute the processor.Methods inherited from class org.thymeleaf.util.ProcessorConfigurationUtils.AbstractElementProcessorWrapper
getMatchingAttributeName, getMatchingElementNameMethods 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.element.IElementProcessor
getMatchingAttributeName, getMatchingElementNameMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
processor
-
-
Constructor Details
-
ElementModelProcessorWrapper
ElementModelProcessorWrapper(IElementModelProcessor processor, IProcessorDialect dialect)
-
-
Method Details
-
process
public void process(ITemplateContext context, IModel model, IElementModelStructureHandler structureHandler) Description copied from interface:IElementModelProcessorExecute the processor.
The
IModelobject represents the section of template (a fragment) on which the processor is executing, and can be directly modified. Instructions to be given to the template engine such as local variable creation, inlining etc. should be done via theIElementModelStructureHandlerhandler.- Specified by:
processin interfaceIElementModelProcessor- Parameters:
context- the execution context.model- the model this processor is executing on.structureHandler- the handler that will centralise modifications and commands to the engine.
-