Package org.thymeleaf.processor.element
Class AbstractAttributeTagProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
- All Implemented Interfaces:
IElementProcessor,IElementTagProcessor,IProcessor
- Direct Known Subclasses:
AbstractStandardAssertionTagProcessor,AbstractStandardConditionalVisibilityTagProcessor,AbstractStandardExpressionAttributeTagProcessor,AbstractStandardFragmentInsertionTagProcessor,AbstractStandardMultipleAttributeModifierTagProcessor,AbstractStandardTargetSelectionTagProcessor,AbstractStandardTextInlineSettingTagProcessor,StandardDOMEventAttributeTagProcessor,StandardEachTagProcessor,StandardRefAttributeTagProcessor,StandardSwitchTagProcessor,StandardUtextTagProcessor,StandardWithTagProcessor,StandardXmlNsTagProcessor
Basic abstract implementation of IElementTagProcessor for processors that match element
events by one of their attributes (and optionally also the element name).
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String elementName, boolean prefixElementName, String attributeName, boolean prefixAttributeName, int precedence, boolean removeAttribute) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler) protected final voiddoProcess(ITemplateContext context, IProcessableElementTag tag, IElementTagStructureHandler structureHandler) Methods 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
-
Constructor Details
-
AbstractAttributeTagProcessor
protected AbstractAttributeTagProcessor(TemplateMode templateMode, String dialectPrefix, String elementName, boolean prefixElementName, String attributeName, boolean prefixAttributeName, int precedence, boolean removeAttribute)
-
-
Method Details
-
doProcess
protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, IElementTagStructureHandler structureHandler) - Specified by:
doProcessin classAbstractElementTagProcessor
-
doProcess
protected abstract void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)
-