@TupleConstructor(defaults: false) class TemplateModelFinder extends Object
A simple API for retrieving (immutable template) models using Thymeleaf's template manager.
| Type | Name and description |
|---|---|
ITemplateContext |
context |
| Constructor and description |
|---|
TemplateModelFinder() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
TemplateModel |
findFragment(FragmentExpression fragmentExpression)Return the model specified by the given fragment expression. |
|
TemplateModel |
findFragment(String templateName, String fragmentName, String dialectPrefix)Return the model specified by the template and fragment name parameters. |
|
TemplateModel |
findTemplate(FragmentExpression fragmentExpression)Return a model for the template specified by the given fragment expression. |
|
TemplateModel |
findTemplate(String templateName)Return a model for the template specified by the given template name. |
Return the model specified by the given fragment expression.
Return the model specified by the template and fragment name parameters.
Return a model for the template specified by the given fragment expression.
Return a model for the template specified by the given template name.
Groovy Documentation