Uses of Interface
io.jstach.jstachio.spi.JStachioTemplateFinder
Packages that use JStachioTemplateFinder
-
Uses of JStachioTemplateFinder in io.jstach.jstachio.spi
Subinterfaces of JStachioTemplateFinder in io.jstach.jstachio.spiModifier and TypeInterfaceDescriptionstatic interfaceAn easier to implement template finder based on a sequence of templates.static interfaceGenerated template providers implement this interface to support easier ServiceLoader registration for modular libraries/applications.Methods in io.jstach.jstachio.spi that return JStachioTemplateFinderModifier and TypeMethodDescriptionstatic JStachioTemplateFinderJStachioTemplateFinder.cachedTemplateFinder(JStachioTemplateFinder finder) Decorates a template finder with a cache usingClassValuewith the modelType as the key.static JStachioTemplateFinderJStachioTemplateFinder.defaultTemplateFinder(JStachioConfig config) The default template finder that uses reflection and or the ServiceLoader.JStachioExtensions.getTemplateFinder()Composite Template finder where the first template finder that finds a template is used.static JStachioTemplateFinderJStachioTemplateFinder.of(Iterable<? extends TemplateInfo> templates, int order) Creates a template finder from an iterable of templates.static JStachioTemplateFinderJStachioTemplateFinder.of(List<? extends JStachioTemplateFinder> templateFinders) Creates a composite template finder from a list.default @Nullable JStachioTemplateFinderJStachioExtensionProvider.provideTemplateFinder()Provide a template finder or not.Methods in io.jstach.jstachio.spi with parameters of type JStachioTemplateFinderModifier and TypeMethodDescriptionstatic JStachioTemplateFinderJStachioTemplateFinder.cachedTemplateFinder(JStachioTemplateFinder finder) Decorates a template finder with a cache usingClassValuewith the modelType as the key.Method parameters in io.jstach.jstachio.spi with type arguments of type JStachioTemplateFinderModifier and TypeMethodDescriptionstatic JStachioTemplateFinderJStachioTemplateFinder.of(List<? extends JStachioTemplateFinder> templateFinders) Creates a composite template finder from a list.