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 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

    Constructors
    Constructor
    Description
    MyBatisBindTagProcessor(org.thymeleaf.templatemode.TemplateMode templateMode, String prefix)
    Constructor that can be specified the template mode and dialect prefix.
  • Method Summary

    Modifier and Type
    Method
    Description
    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)

    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

    • MyBatisBindTagProcessor

      public MyBatisBindTagProcessor(org.thymeleaf.templatemode.TemplateMode templateMode, String prefix)
      Constructor that can be specified the template mode and dialect prefix.
      Parameters:
      templateMode - A target template mode
      prefix - 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:
      doProcess in class org.thymeleaf.processor.element.AbstractAttributeTagProcessor