public abstract class AbstractStandardAttributeModifierTagProcessor extends AbstractStandardExpressionAttributeTagProcessor implements IAttributeDefinitionsAware
Modifier | Constructor and Description |
---|---|
protected |
AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
int precedence,
boolean removeIfEmpty)
Build a new instance of this tag processor.
|
protected |
AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
int precedence,
boolean removeIfEmpty,
boolean restrictedExpressionExecution)
Build a new instance of this tag processor.
|
protected |
AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
String targetAttrCompleteName,
int precedence,
boolean removeIfEmpty)
Build a new instance of this tag processor.
|
protected |
AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
String targetAttrCompleteName,
int precedence,
boolean removeIfEmpty,
boolean restrictedExpressionExecution)
Build a new instance of this tag processor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
void |
setAttributeDefinitions(AttributeDefinitions attributeDefinitions) |
doProcess
doProcess
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
getPrecedence, getTemplateMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrecedence, getTemplateMode
protected AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeIfEmpty)
Build a new instance of this tag processor.
templateMode
- the template mode.dialectPrefix
- the dialect prefix.attrName
- the attribute name to be matched.precedence
- the precedence to be applied.removeIfEmpty
- whether the attribute should be removed if the result of executing the expression is empty.protected AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeIfEmpty, boolean restrictedExpressionExecution)
Build a new instance of this tag processor.
templateMode
- the template mode.dialectPrefix
- the dialect prefix.attrName
- the attribute name to be matched.precedence
- the precedence to be applied.removeIfEmpty
- whether the attribute should be removed if the result of executing the expression is empty.restrictedExpressionExecution
- whether the expression to be executed (value of the attribute) should
be executed in restricted mode (no parameter access) or not (default: false).protected AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, String targetAttrCompleteName, int precedence, boolean removeIfEmpty)
Build a new instance of this tag processor.
templateMode
- the template mode.dialectPrefix
- the dialect prefix.attrName
- the attribute name to be matched.targetAttrCompleteName
- complete name of target attribute.precedence
- the precedence to be applied.removeIfEmpty
- whether the attribute should be removed if the result of executing the expression is empty.protected AbstractStandardAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, String targetAttrCompleteName, int precedence, boolean removeIfEmpty, boolean restrictedExpressionExecution)
Build a new instance of this tag processor.
templateMode
- the template mode.dialectPrefix
- the dialect prefix.attrName
- the attribute name to be matched.targetAttrCompleteName
- complete name of target attribut.precedence
- the precedence to be applied.removeIfEmpty
- whether the attribute should be removed if the result of executing the expression is empty.restrictedExpressionExecution
- whether the expression to be executed (value of the attribute) should
be executed in restricted mode (no parameter access) or not (default: false).public void setAttributeDefinitions(AttributeDefinitions attributeDefinitions)
setAttributeDefinitions
in interface IAttributeDefinitionsAware
protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, Object expressionResult, IElementTagStructureHandler structureHandler)
doProcess
in class AbstractStandardExpressionAttributeTagProcessor
Copyright © 2017 The THYMELEAF team. All rights reserved.