public abstract class AbstractStandardExpressionAttributeTagProcessor extends AbstractAttributeTagProcessor
Modifier | Constructor and Description |
---|---|
protected |
AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
int precedence,
boolean removeAttribute)
Build a new instance of this tag processor.
|
protected |
AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String attrName,
int precedence,
boolean removeAttribute,
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,
IElementTagStructureHandler structureHandler) |
protected abstract void |
doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
doProcess
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
getPrecedence, getTemplateMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrecedence, getTemplateMode
protected AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute)
Build a new instance of this tag processor.
templateMode
- the template modedialectPrefix
- the dialect prefoxattrName
- the attribute name to be matchedprecedence
- the precedence to be appliedremoveAttribute
- whether the attribute should be removed after executionprotected AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute, boolean restrictedExpressionExecution)
Build a new instance of this tag processor.
templateMode
- the template modedialectPrefix
- the dialect prefoxattrName
- the attribute name to be matchedprecedence
- the precedence to be appliedremoveAttribute
- whether the attribute should be removed after executionrestrictedExpressionExecution
- whether the expression to be executed (value of the attribute) should
be executed in restricted mode (no parameter access) or not (default: false).protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)
doProcess
in class AbstractAttributeTagProcessor
protected abstract void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, Object expressionResult, IElementTagStructureHandler structureHandler)
Copyright © 2017 The THYMELEAF team. All rights reserved.