Package org.thymeleaf.processor.element
Class AbstractAttributeModelProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementModelProcessor
org.thymeleaf.processor.element.AbstractAttributeModelProcessor
- All Implemented Interfaces:
IElementModelProcessor
,IElementProcessor
,IProcessor
Basic abstract implementation of IElementModelProcessor
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
ModifierConstructorDescriptionprotected
AbstractAttributeModelProcessor
(TemplateMode templateMode, String dialectPrefix, String elementName, boolean prefixElementName, String attributeName, boolean prefixAttributeName, int precedence, boolean removeAttribute) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doProcess
(ITemplateContext context, IModel model, AttributeName attributeName, String attributeValue, IElementModelStructureHandler structureHandler) protected final void
doProcess
(ITemplateContext context, IModel model, IElementModelStructureHandler structureHandler) Methods inherited from class org.thymeleaf.processor.element.AbstractElementModelProcessor
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
-
AbstractAttributeModelProcessor
protected AbstractAttributeModelProcessor(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, IModel model, IElementModelStructureHandler structureHandler) - Specified by:
doProcess
in classAbstractElementModelProcessor
-
doProcess
protected abstract void doProcess(ITemplateContext context, IModel model, AttributeName attributeName, String attributeValue, IElementModelStructureHandler structureHandler)
-