Package com.aspectran.thymeleaf
Class ThymeleafTemplateEngine
java.lang.Object
com.aspectran.thymeleaf.ThymeleafTemplateEngine
- All Implemented Interfaces:
TemplateEngine
The Class ThymeleafTemplateEngine.
Created: 2024. 11. 18.
- Since:
- 8.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThymeleafTemplateEngine
-
-
Method Details
-
getTemplateEngine
public org.thymeleaf.ITemplateEngine getTemplateEngine() -
process
Description copied from interface:TemplateEngine
Executes template, using the data-model provided, writing the generated output to the suppliedWriter
.- Specified by:
process
in interfaceTemplateEngine
- Parameters:
templateName
- the template nameactivity
- the activity- Throws:
TemplateEngineProcessException
- if an exception occurs during template processing
-
process
public void process(String templateSource, String contentType, Activity activity) throws TemplateEngineProcessException Description copied from interface:TemplateEngine
Executes template, using the data-model provided, writing the generated output to the suppliedWriter
.- Specified by:
process
in interfaceTemplateEngine
- Parameters:
templateSource
- the template sourcecontentType
- the content typeactivity
- the activity- Throws:
TemplateEngineProcessException
- if an exception occurs during template processing
-
process
public static void process(org.thymeleaf.ITemplateEngine templateEngine, String templateName, Activity activity) throws IOException - Throws:
IOException
-