Interface TemplateEngineCustomizer

All Superinterfaces:
Consumer<org.thymeleaf.TemplateEngine>
All Known Implementing Classes:
TemplateEngineCustomizer.BuiltIn
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TemplateEngineCustomizer extends Consumer<org.thymeleaf.TemplateEngine>
The interface for customizing a default TemplateEngine instanced by the MyBatis Thymeleaf.
If you want to customize a default TemplateEngine, you implements class of this interface and you need to specify the 'customizer' property of mybatis-thymeleaf.properties.

e.g.) Implementation class:
 package com.example;

 // ...
 public class MyTemplateEngineCustomizer implements TemplateEngineCustomizer {
   public void customize(TemplateEngine defaultTemplateEngine) {
     // ...
   }
 }
 

e.g.) Configuration file (mybatis-thymeleaf.properties):
 customizer = com.example.MyTemplateEngineCustomizer
 
Version:
1.0.0
Author:
Kazuki Shimizu