Module io.jstach.jstachio
Package io.jstach.jstachio.spi
Interface TemplateProvider.GeneratedTemplateProvider
- All Superinterfaces:
JStachioExtension
,JStachioTemplateFinder
,JStachioTemplateFinder.SimpleTemplateFinder
,TemplateProvider
- All Known Implementing Classes:
TemplateCatalog
- Enclosing interface:
- TemplateProvider
public static interface TemplateProvider.GeneratedTemplateProvider
extends TemplateProvider, JStachioTemplateFinder.SimpleTemplateFinder
Generated template providers implement this interface to support easier
ServiceLoader registration for modular libraries/applications. It is mainly
an implementation detail and not recommended for manual usage.
- Author:
- agentgt
-
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
-
Method Summary
Modifier and TypeMethodDescriptiondefault Iterable<? extends TemplateInfo>
Sequence of templates used to find matching template from model.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, provideTemplates
-
Method Details
-
templates
Description copied from interface:JStachioTemplateFinder.SimpleTemplateFinder
Sequence of templates used to find matching template from model.- Specified by:
templates
in interfaceJStachioTemplateFinder.SimpleTemplateFinder
- Returns:
- templates
-