public class ThymeleafLanguageDriver extends Object implements org.apache.ibatis.scripting.LanguageDriver
LanguageDriver for integrating with Thymeleaf.| Constructor and Description |
|---|
ThymeleafLanguageDriver()
Constructor for creating instance with default
TemplateEngine. |
ThymeleafLanguageDriver(org.thymeleaf.ITemplateEngine templateEngine)
Constructor for creating instance with user defined
ITemplateEngine. |
ThymeleafLanguageDriver(ThymeleafLanguageDriverConfig config)
Constructor for creating instance with user specified
Properties. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.ibatis.executor.parameter.ParameterHandler |
createParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql) |
org.apache.ibatis.mapping.SqlSource |
createSqlSource(org.apache.ibatis.session.Configuration configuration,
String script,
Class<?> parameterType) |
org.apache.ibatis.mapping.SqlSource |
createSqlSource(org.apache.ibatis.session.Configuration configuration,
org.apache.ibatis.parsing.XNode script,
Class<?> parameterType) |
public ThymeleafLanguageDriver()
TemplateEngine.public ThymeleafLanguageDriver(ThymeleafLanguageDriverConfig config)
Properties.config - A user defined ITemplateEngine instancepublic ThymeleafLanguageDriver(org.thymeleaf.ITemplateEngine templateEngine)
ITemplateEngine.templateEngine - A user defined ITemplateEngine instancepublic org.apache.ibatis.executor.parameter.ParameterHandler createParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql)
createParameterHandler in interface org.apache.ibatis.scripting.LanguageDriverpublic org.apache.ibatis.mapping.SqlSource createSqlSource(org.apache.ibatis.session.Configuration configuration,
org.apache.ibatis.parsing.XNode script,
Class<?> parameterType)
createSqlSource in interface org.apache.ibatis.scripting.LanguageDriverCopyright © 2018–2020 MyBatis.org. All rights reserved.