Package org.thymeleaf.standard.processor
Class AbstractStandardExpressionAttributeTagProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor
- All Implemented Interfaces:
IElementProcessor
,IElementTagProcessor
,IProcessor
- Direct Known Subclasses:
AbstractStandardAttributeModifierTagProcessor
,AbstractStandardDoubleAttributeModifierTagProcessor
,StandardClassappendTagProcessor
,StandardConditionalFixedValueTagProcessor
,StandardRemoveTagProcessor
,StandardStyleappendTagProcessor
,StandardTextTagProcessor
public abstract class AbstractStandardExpressionAttributeTagProcessor
extends AbstractAttributeTagProcessor
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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.protected
AbstractStandardExpressionAttributeTagProcessor
(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute, StandardExpressionExecutionContext expressionExecutionContext) Build a new instance of this tag processor. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doProcess
(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, Object expressionResult, IElementTagStructureHandler structureHandler) protected final void
doProcess
(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
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
-
Constructor Details
-
AbstractStandardExpressionAttributeTagProcessor
protected AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute) Build a new instance of this tag processor.
- Parameters:
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 execution
-
AbstractStandardExpressionAttributeTagProcessor
protected AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute, boolean restrictedExpressionExecution) Build a new instance of this tag processor.
- Parameters:
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).- Since:
- 3.0.9
-
AbstractStandardExpressionAttributeTagProcessor
protected AbstractStandardExpressionAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, boolean removeAttribute, StandardExpressionExecutionContext expressionExecutionContext) Build a new instance of this tag processor.
- Parameters:
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 executionexpressionExecutionContext
- the expression execution context to be applied- Since:
- 3.0.10
-
-
Method Details
-
doProcess
protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) - Specified by:
doProcess
in classAbstractAttributeTagProcessor
-
doProcess
protected abstract void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, Object expressionResult, IElementTagStructureHandler structureHandler)
-