Class ThymeleafLanguageDriver

java.lang.Object
org.mybatis.scripting.thymeleaf.ThymeleafLanguageDriver
All Implemented Interfaces:
org.apache.ibatis.scripting.LanguageDriver

public class ThymeleafLanguageDriver extends Object implements org.apache.ibatis.scripting.LanguageDriver
The LanguageDriver for integrating with Thymeleaf.
Version:
1.0.0
Author:
Kazuki Shimizu
  • Constructor Details

    • ThymeleafLanguageDriver

      public ThymeleafLanguageDriver()
      Constructor for creating instance with default TemplateEngine.
    • ThymeleafLanguageDriver

      public ThymeleafLanguageDriver(ThymeleafLanguageDriverConfig config)
      Constructor for creating instance with user specified Properties.
      Parameters:
      config - A user defined ITemplateEngine instance
    • ThymeleafLanguageDriver

      public ThymeleafLanguageDriver(org.thymeleaf.ITemplateEngine templateEngine)
      Constructor for creating instance with user defined ITemplateEngine.
      Parameters:
      templateEngine - A user defined ITemplateEngine instance
  • Method Details

    • createParameterHandler

      public org.apache.ibatis.executor.parameter.ParameterHandler createParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql)
      Specified by:
      createParameterHandler in interface org.apache.ibatis.scripting.LanguageDriver
    • createSqlSource

      public org.apache.ibatis.mapping.SqlSource createSqlSource(org.apache.ibatis.session.Configuration configuration, org.apache.ibatis.parsing.XNode script, Class<?> parameterType)
      Specified by:
      createSqlSource in interface org.apache.ibatis.scripting.LanguageDriver
    • createSqlSource

      public org.apache.ibatis.mapping.SqlSource createSqlSource(org.apache.ibatis.session.Configuration configuration, String script, Class<?> parameterType)
      Specified by:
      createSqlSource in interface org.apache.ibatis.scripting.LanguageDriver