Class DelegatingThymeleaf3VariableModifierProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.broadleafcommerce.presentation.thymeleaf3.dialect.DelegatingThymeleaf3VariableModifierProcessor
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor,org.thymeleaf.processor.element.IElementTagProcessor,org.thymeleaf.processor.IProcessor
public class DelegatingThymeleaf3VariableModifierProcessor
extends org.thymeleaf.processor.element.AbstractElementTagProcessor
- Author:
- apazzolini
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor -
Constructor Summary
ConstructorsConstructorDescriptionDelegatingThymeleaf3VariableModifierProcessor(String elementName, org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor, int precedence) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> voidaddItemToExistingSet(String key, Object value) Deprecated.this method should no longer be used as it cannot provide the correct functionality in Thymeleaf 3+protected voiddoProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) This method will handle calling the modifyModelAttributes abstract methodMethods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, processMethods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
processor
protected org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor
-
-
Constructor Details
-
DelegatingThymeleaf3VariableModifierProcessor
public DelegatingThymeleaf3VariableModifierProcessor(String elementName, org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor, int precedence)
-
-
Method Details
-
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) This method will handle calling the modifyModelAttributes abstract method- Specified by:
doProcessin classorg.thymeleaf.processor.element.AbstractElementTagProcessor
-
addItemToExistingSet
Deprecated.this method should no longer be used as it cannot provide the correct functionality in Thymeleaf 3+Adds an item to an existing set on the global variable state- Parameters:
arguments-key-value-
-