public class ChainingTemplateProvider extends Object implements TemplateProvider
TEMPLATE_CONTEXT_PROVIDER| Constructor and Description |
|---|
ChainingTemplateProvider(TemplateProvider... providers)
Creates a new chaining template provider.
|
| Modifier and Type | Method and Description |
|---|---|
Template |
getTemplate(TemplateContext templateContext,
String templateName)
Retrieves the template with the given name.
|
public ChainingTemplateProvider(TemplateProvider... providers)
providers - The delegate template providerspublic Template getTemplate(TemplateContext templateContext, String templateName)
getTemplate in interface TemplateProvidertemplateContext - The template contexttemplateName - The name of the templatenull if there is no
template with the requested nameCopyright © 2026. All rights reserved.