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

    Fields
    Modifier and Type
    Field
    Description
    protected org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DelegatingThymeleaf3VariableModifierProcessor(String elementName, org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor, int precedence)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> void
    Deprecated.
    this method should no longer be used as it cannot provide the correct functionality in Thymeleaf 3+
    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

    Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor

    getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process

    Methods inherited from class org.thymeleaf.processor.AbstractProcessor

    getPrecedence, getTemplateMode

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      doProcess in class org.thymeleaf.processor.element.AbstractElementTagProcessor
    • addItemToExistingSet

      @Deprecated protected <T> void addItemToExistingSet(String key, Object value)
      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 -