Package org.thymeleaf.standard.processor
Class AbstractStandardMultipleAttributeModifierTagProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.thymeleaf.standard.processor.AbstractStandardMultipleAttributeModifierTagProcessor
- All Implemented Interfaces:
IElementProcessor,IElementTagProcessor,IProcessor
- Direct Known Subclasses:
StandardAttrappendTagProcessor,StandardAttrprependTagProcessor,StandardAttrTagProcessor
public abstract class AbstractStandardMultipleAttributeModifierTagProcessor
extends AbstractAttributeTagProcessor
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStandardMultipleAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, AbstractStandardMultipleAttributeModifierTagProcessor.ModificationType modificationType) Build a new instance of this tag processor.protectedAbstractStandardMultipleAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, AbstractStandardMultipleAttributeModifierTagProcessor.ModificationType modificationType, boolean restrictedExpressionExecution) Build a new instance of this tag processor. -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddoProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcessMethods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, processMethods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
modificationType
private final AbstractStandardMultipleAttributeModifierTagProcessor.ModificationType modificationType -
restrictedExpressionExecution
private final boolean restrictedExpressionExecution
-
-
Constructor Details
-
AbstractStandardMultipleAttributeModifierTagProcessor
protected AbstractStandardMultipleAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, AbstractStandardMultipleAttributeModifierTagProcessor.ModificationType modificationType) 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 appliedmodificationType- type of modification to be performed on the attribute (replacement, append, prepend)
-
AbstractStandardMultipleAttributeModifierTagProcessor
protected AbstractStandardMultipleAttributeModifierTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence, AbstractStandardMultipleAttributeModifierTagProcessor.ModificationType modificationType, 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 appliedmodificationType- type of modification to be performed on the attribute (replacement, append, prepend)restrictedExpressionExecution- whether the expression to be executed (value of the attribute) should be executed in restricted mode (no parameter acess) or not.- Since:
- 3.0.9
-
-
Method Details
-
doProcess
protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) - Specified by:
doProcessin classAbstractAttributeTagProcessor
-