Uses of Class
org.miaixz.bus.extra.template.TemplateConfig
Packages that use TemplateConfig
Package
Description
This package provides a wrapper for third-party template engines, offering a unified interface to adapt various
template engines.
Provides an implementation for the Beetl template engine.
Provides an implementation for the FreeMarker template engine.
Provides an implementation for the Thymeleaf template engine.
-
Uses of TemplateConfig in org.miaixz.bus.extra.template
Fields in org.miaixz.bus.extra.template declared as TemplateConfigModifier and TypeFieldDescriptionstatic final TemplateConfigTemplateConfig.DEFAULTDefault template configuration instance.Methods in org.miaixz.bus.extra.template that return TemplateConfigModifier and TypeMethodDescriptionTemplateConfig.setProvider(Class<? extends TemplateProvider> provider) Sets the custom template provider class.TemplateConfig.setUseCache(boolean useCache) Sets whether template caching should be enabled.Methods in org.miaixz.bus.extra.template with parameters of type TemplateConfigModifier and TypeMethodDescriptionstatic TemplateProviderTemplateFactory.create(TemplateConfig config) Creates a newTemplateProviderinstance with the specified configuration.TemplateProvider.init(TemplateConfig config) Initializes the template engine with the specified configuration. -
Uses of TemplateConfig in org.miaixz.bus.extra.template.provider.beetl
Methods in org.miaixz.bus.extra.template.provider.beetl with parameters of type TemplateConfigConstructors in org.miaixz.bus.extra.template.provider.beetl with parameters of type TemplateConfigModifierConstructorDescriptionBeetlProvider(TemplateConfig config) Constructs a new BeetlProvider with the given template configuration. -
Uses of TemplateConfig in org.miaixz.bus.extra.template.provider.freemarker
Methods in org.miaixz.bus.extra.template.provider.freemarker with parameters of type TemplateConfigConstructors in org.miaixz.bus.extra.template.provider.freemarker with parameters of type TemplateConfigModifierConstructorDescriptionFreemarkerProvider(TemplateConfig config) Constructs a new FreemarkerProvider with the given template configuration. -
Uses of TemplateConfig in org.miaixz.bus.extra.template.provider.thymeleaf
Methods in org.miaixz.bus.extra.template.provider.thymeleaf with parameters of type TemplateConfigConstructors in org.miaixz.bus.extra.template.provider.thymeleaf with parameters of type TemplateConfigModifierConstructorDescriptionThymeleafProvider(TemplateConfig config) Constructs a new ThymeleafProvider with the given template configuration.