Uses of Class
org.miaixz.bus.extra.template.TemplateConfig
Packages that use TemplateConfig
Package
Description
第三方模板引擎封装,提供统一的接口用于适配第三方模板引擎,提供:
TemplateEngine:模板引擎接口,用于不同引擎的实现。
Beetl实现,模板引擎介绍见:http://ibeetl.com/
Freemarker实现 见:https://freemarker.apache.org/
Thymeleaf实现,见:https://www.thymeleaf.org/
-
Uses of TemplateConfig in org.miaixz.bus.extra.template
Fields in org.miaixz.bus.extra.template declared as TemplateConfigMethods in org.miaixz.bus.extra.template that return TemplateConfigModifier and TypeMethodDescriptionTemplateConfig.setProvider(Class<? extends TemplateProvider> provider) 设置自定义引擎,null表示系统自动判断Methods in org.miaixz.bus.extra.template with parameters of type TemplateConfigModifier and TypeMethodDescriptionstatic TemplateProviderTemplateFactory.create(TemplateConfig config) 根据用户引入的模板引擎jar,自动创建对应的模板引擎对象 推荐创建的引擎单例使用,此方法每次调用会返回新的引擎TemplateProvider.init(TemplateConfig config) 使用指定配置文件初始化模板引擎 -
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 TemplateConfig -
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 TemplateConfig -
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 TemplateConfig