java.lang.Object
io.jstach.opt.spring.example.TemplateCatalog
- All Implemented Interfaces:
JStachioExtension
,JStachioTemplateFinder
,JStachioTemplateFinder.SimpleTemplateFinder
,TemplateProvider
,TemplateProvider.GeneratedTemplateProvider
Generated template catalog.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jstach.jstachio.spi.JStachioTemplateFinder
JStachioTemplateFinder.SimpleTemplateFinder
Nested classes/interfaces inherited from interface io.jstach.jstachio.spi.TemplateProvider
TemplateProvider.GeneratedTemplateProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprovideTemplates
(TemplateConfig templateConfig) Provides a list of instantiated renderers.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jstach.jstachio.spi.JStachioTemplateFinder
order
Methods inherited from interface io.jstach.jstachio.spi.JStachioTemplateFinder.SimpleTemplateFinder
findOrNull, findTemplate, supportsType
Methods inherited from interface io.jstach.jstachio.spi.TemplateProvider
provideTemplates
Methods inherited from interface io.jstach.jstachio.spi.TemplateProvider.GeneratedTemplateProvider
templates
-
Constructor Details
-
TemplateCatalog
public TemplateCatalog()Generated template catalog constructor for ServiceLoader.
-
-
Method Details
-
provideTemplates
Description copied from interface:TemplateProvider
Provides a list of instantiated renderers.- Specified by:
provideTemplates
in interfaceTemplateProvider
- Parameters:
templateConfig
- template collaborators.- Returns:
- a list of renderers. An empty list would mean none were found.
-