Uses of Interface
io.jstach.jstachio.TemplateInfo
Packages that use TemplateInfo
Package
Description
JStachio Core Runtime API.
JStachio Service Provider extension points API.
-
Uses of TemplateInfo in io.jstach.jstachio
Subinterfaces of TemplateInfo in io.jstach.jstachioModifier and TypeInterfaceDescriptioninterfaceTemplate<T>A JStachio Template is a renderer that has template meta data.static interfaceEXPERIMENTAL support of pre-encoded templates that have the static parts of the template already encoded into bytes. -
Uses of TemplateInfo in io.jstach.jstachio.spi
Methods in io.jstach.jstachio.spi that return TemplateInfoModifier and TypeMethodDescriptiondefault @Nullable TemplateInfoJStachioTemplateFinder.findOrNull(Class<?> modelType) Finds a template or null if no template is found.default @Nullable TemplateInfoJStachioTemplateFinder.SimpleTemplateFinder.findOrNull(Class<?> modelType) JStachioTemplateFinder.findTemplate(Class<?> modelType) Finds aTemplateif possible otherwise possibly falling back to aTemplateInfobased on annotation metadata or some other mechanism.default TemplateInfoJStachioTemplateFinder.SimpleTemplateFinder.findTemplate(Class<?> modelType) static TemplateInfoTemplates.findTemplate(Class<?> modelType, JStachioConfig config) Finds aTemplateif possible otherwise falling back to aTemplateInfobased on annotation metadata.static @Nullable TemplateInfoTemplates.findTemplateOrNull(Class<?> modelType, JStachioConfig config) Finds aTemplateif possible otherwise falling back to aTemplateInfobased on annotation metadata.static TemplateInfoTemplates.getInfoByReflection(Class<?> modelType) Finds template info by accessing JStache annotations through reflective lookup.protected TemplateInfoFinds the template by model class wrapping any exceptions.Methods in io.jstach.jstachio.spi that return types with arguments of type TemplateInfoModifier and TypeMethodDescriptionIterable<? extends TemplateInfo>JStachioTemplateFinder.SimpleTemplateFinder.templates()Sequence of templates used to find matching template from model.default Iterable<? extends TemplateInfo>TemplateProvider.GeneratedTemplateProvider.templates()Methods in io.jstach.jstachio.spi with parameters of type TemplateInfoModifier and TypeMethodDescriptionJStachioFactory.Builder.add(TemplateInfo template) Registers an instantiated template.JStachioFilter.filter(TemplateInfo template, JStachioFilter.FilterChain previous) Advises or filters a previously created filter.protected final JStachioFilter.FilterChainAbstractJStachio.loadFilter(Object model, TemplateInfo template) Loads the filter and checks if it can process the model and template.static JStachioFilter.FilterChainJStachioFilter.FilterChain.of(JStachioFilter filter, TemplateInfo template) Create the filter chain from the filter and a template by resolving the first filter.static Template<?>JStachioFilter.FilterChain.toTemplate(JStachioFilter.FilterChain chain, TemplateInfo templateInfo) Converts the filter chain into a template if it is not already one.static voidTemplates.validateEncoding(TemplateInfo template, Output.EncodedOutput<?> output) A utility method that will check if the templates encoding matches the outputs encoding.Method parameters in io.jstach.jstachio.spi with type arguments of type TemplateInfoModifier and TypeMethodDescriptionJStachioFactory.Builder.add(Collection<? extends TemplateInfo> templates) Registers instantiated templates.static JStachioTemplateFinderJStachioTemplateFinder.of(Iterable<? extends TemplateInfo> templates, int order) Creates a template finder from an iterable of templates.