Class MyBatisDialect

java.lang.Object
org.thymeleaf.dialect.AbstractDialect
org.thymeleaf.dialect.AbstractProcessorDialect
org.mybatis.scripting.thymeleaf.MyBatisDialect
All Implemented Interfaces:
org.thymeleaf.dialect.IDialect, org.thymeleaf.dialect.IExpressionObjectDialect, org.thymeleaf.dialect.IProcessorDialect

public class MyBatisDialect extends org.thymeleaf.dialect.AbstractProcessorDialect implements org.thymeleaf.dialect.IExpressionObjectDialect
The Dialect for integrating with MyBatis.
This dialect provides following features. This dialect prefix is "mb" by default.
Version:
1.0.0
Author:
Kazuki Shimizu
  • Constructor Details

    • MyBatisDialect

      public MyBatisDialect()
      Default constructor.
    • MyBatisDialect

      public MyBatisDialect(String prefix)
      Constructor that can be specified the dialect prefix.
      Parameters:
      prefix - A dialect prefix
  • Method Details

    • setLikes

      public void setLikes(Likes likes)
      Set an expression utility object that provide helper method for like feature.
      Parameters:
      likes - An expression utility object that provide helper method for like feature
    • setBindVariableRender

      public void setBindVariableRender(BindVariableRender bindVariableRender)
      Set a bind variable render.
      Parameters:
      bindVariableRender - a bind variable render
      Since:
      1.0.2
    • getProcessors

      public Set<org.thymeleaf.processor.IProcessor> getProcessors(String dialectPrefix)
      Specified by:
      getProcessors in interface org.thymeleaf.dialect.IProcessorDialect
    • getExpressionObjectFactory

      public org.thymeleaf.expression.IExpressionObjectFactory getExpressionObjectFactory()
      Specified by:
      getExpressionObjectFactory in interface org.thymeleaf.dialect.IExpressionObjectDialect