public class ConfigVariableProcessor extends AbstractModelVariableModifierProcessor
Looks up the value of a configuration variable and adds the value to the model.
While this adds the configuration value onto the model, you might want to use the value of this in larger expression. In
that instance you may want to use PropertiesVariableExpression instead with #props.get('property').
PropertiesVariableExpression}| Constructor and Description |
|---|
ConfigVariableProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
protected void |
modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
This method must be overriding by a processor that wishes to modify the model.
|
addCollectionToExistingSet, addItemToExistingSet, addToModel, processElementdoProcess, getMatcherpublic int getPrecedence()
getPrecedence in class AbstractModelVariableModifierProcessorprotected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
AbstractModelVariableModifierProcessormodifyModelAttributes in class AbstractModelVariableModifierProcessorCopyright © 2018. All rights reserved.