Class MyBatisBindTagProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.mybatis.scripting.thymeleaf.processor.MyBatisBindTagProcessor
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor,org.thymeleaf.processor.element.IElementTagProcessor,org.thymeleaf.processor.IProcessor
public class MyBatisBindTagProcessor
extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
The processor class for handling the
This processor register an any value to the MyBatis’s bind variables (similar to that of the
mybatis:bind tag. This processor register an any value to the MyBatis’s bind variables (similar to that of the
<bind> provided
by MyBatis core module) This class's implementation was inspired with the StandardWithTagProcessor provide by
Thymeleaf.- Version:
- 1.0.0
- Author:
- Kazuki Shimizu
- See Also:
-
StandardWithTagProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionMyBatisBindTagProcessor(org.thymeleaf.templatemode.TemplateMode templateMode, String prefix) Constructor that can be specified the template mode and dialect prefix. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods 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
-
Constructor Details
-
MyBatisBindTagProcessor
Constructor that can be specified the template mode and dialect prefix.- Parameters:
templateMode- A target template modeprefix- A target dialect prefix
-
-
Method Details
-
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) - Specified by:
doProcessin classorg.thymeleaf.processor.element.AbstractAttributeTagProcessor
-