Constructor and Description |
---|
ThymeleafFactory() |
Modifier and Type | Method and Description |
---|---|
org.thymeleaf.TemplateEngine |
templateEngine(org.thymeleaf.templateresolver.ITemplateResolver templateResolver,
org.thymeleaf.context.IEngineContextFactory engineContextFactory,
org.thymeleaf.linkbuilder.ILinkBuilder linkBuilder)
Constructs the template engine.
|
org.thymeleaf.templateresolver.AbstractConfigurableTemplateResolver |
templateResolver(ViewsConfiguration viewsConfiguration,
ThymeleafViewsRendererConfiguration rendererConfiguration)
Constructs the template resolver bean.
|
@Singleton public org.thymeleaf.templateresolver.AbstractConfigurableTemplateResolver templateResolver(ViewsConfiguration viewsConfiguration, ThymeleafViewsRendererConfiguration rendererConfiguration)
viewsConfiguration
- The views configurationrendererConfiguration
- The renderer configuration@Singleton public org.thymeleaf.TemplateEngine templateEngine(org.thymeleaf.templateresolver.ITemplateResolver templateResolver, org.thymeleaf.context.IEngineContextFactory engineContextFactory, org.thymeleaf.linkbuilder.ILinkBuilder linkBuilder)
templateResolver
- The template resolverengineContextFactory
- The engine context factorylinkBuilder
- The link builder