public class DelegatingThymeleaf2VariableModifierProcessor
extends org.thymeleaf.processor.element.AbstractElementProcessor
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor |
processor |
| Constructor and Description |
|---|
DelegatingThymeleaf2VariableModifierProcessor(String elementName,
org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor,
int precedence) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
addCollectionToExistingSet(String key,
Collection<T> value,
org.thymeleaf.Arguments arguments) |
protected <T> void |
addItemToExistingSet(String key,
Object value,
org.thymeleaf.Arguments arguments) |
int |
getPrecedence() |
protected org.thymeleaf.processor.ProcessorResult |
processElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
This method will handle calling the modifyModelAttributes abstract method and return
an "OK" processor result
|
doProcess, getMatcherprotected org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor
public DelegatingThymeleaf2VariableModifierProcessor(String elementName, org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessor processor, int precedence)
protected org.thymeleaf.processor.ProcessorResult processElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
processElement in class org.thymeleaf.processor.element.AbstractElementProcessorprotected <T> void addCollectionToExistingSet(String key, Collection<T> value, org.thymeleaf.Arguments arguments)
protected <T> void addItemToExistingSet(String key, Object value, org.thymeleaf.Arguments arguments)
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorCopyright © 2017. All rights reserved.