Uses of Interface
io.jstach.jstachio.Template
Packages that use Template
Package
Description
JStachio Core Runtime API.
JStachio extended Mustache context support for context stack as well as Map and JSON
tree like models.
JStachio Service Provider extension points API.
-
Uses of Template in io.jstach.jstachio
Subinterfaces of Template in io.jstach.jstachioModifier and TypeInterfaceDescriptionstatic interfaceEXPERIMENTAL support of pre-encoded templates that have the static parts of the template already encoded into bytes.Methods in io.jstach.jstachio that return TemplateModifier and TypeMethodDescriptionJStachio.findTemplate(Object model) Finds a template by model.Template<?>TemplateModel.template()Template.Methods in io.jstach.jstachio with parameters of type Template -
Uses of Template in io.jstach.jstachio.context
Methods in io.jstach.jstachio.context with parameters of type TemplateModifier and TypeMethodDescriptionstatic <T> ContextTemplate<T>Creates a context template from a regular template if is not already a context template. -
Uses of Template in io.jstach.jstachio.spi
Methods in io.jstach.jstachio.spi that return TemplateModifier and TypeMethodDescriptionAbstractJStachio.findTemplate(Object model) static <T> Template<T>Templates.getTemplate(Class<T> clazz) Finds a template by reflection or an exception is thrown.static <T> Template<T>Templates.getTemplate(Class<T> modelType, Iterable<Templates.TemplateLoadStrategy> strategies, Iterable<ClassLoader> classLoaders, System.Logger logger) Finds a template by reflection or an exception is thrown.protected abstract <T> @Nullable Template<T>Templates.TemplateLoadStrategy.load(Class<T> clazz, ClassLoader classLoader, System.Logger logger) Load the template by this strategy.static Template<?>JStachioFilter.FilterChain.toTemplate(JStachioFilter.FilterChain chain, TemplateInfo templateInfo) Converts the filter chain into a template if it is not already one.Methods in io.jstach.jstachio.spi that return types with arguments of type TemplateModifier and TypeMethodDescriptionTemplates.findTemplates(ServiceLoader<TemplateProvider> serviceLoader, TemplateConfig templateConfig, Consumer<ServiceConfigurationError> errorHandler) Find templates by the given service loader.TemplateProvider.provideTemplates()Provides templates with empty config.TemplateProvider.provideTemplates(TemplateConfig templateConfig) Provides a list of instantiated renderers.