public class TestEngineTemplateResolver extends Object implements org.thymeleaf.templateresolver.ITemplateResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_TEMPLATE_CONVERSION_CHARSET |
| Constructor and Description |
|---|
TestEngineTemplateResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the template resolver
|
Integer |
getOrder()
Returns the order in which this template resolver will be asked to resolve
templates as a part of the chain of resolvers configured into the template engine.
|
org.thymeleaf.templateresolver.TemplateResolution |
resolveTemplate(org.thymeleaf.IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
void |
setName(String name)
Sets a new name for the Template Resolver.
|
void |
setOrder(Integer order)
Sets a new order for the template engine in the chain.
|
public static final String TEST_TEMPLATE_CONVERSION_CHARSET
public String getName()
Returns the name of the template resolver
getName in interface org.thymeleaf.templateresolver.ITemplateResolverpublic void setName(String name)
Sets a new name for the Template Resolver.
name - the new namepublic Integer getOrder()
Returns the order in which this template resolver will be asked to resolve templates as a part of the chain of resolvers configured into the template engine.
Order should start with 1.
getOrder in interface org.thymeleaf.templateresolver.ITemplateResolverpublic void setOrder(Integer order)
Sets a new order for the template engine in the chain. Order should start with 1.
order - the new order.public org.thymeleaf.templateresolver.TemplateResolution resolveTemplate(org.thymeleaf.IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
resolveTemplate in interface org.thymeleaf.templateresolver.ITemplateResolverCopyright © 2015 The THYMELEAF team. All rights reserved.