|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.thymeleaf.TemplateProcessingParameters
public final class TemplateProcessingParameters
Objects of this class contain all the required arguments for template resolution and parsing.
These objects are created internally by the Template Engine in order to provide the Template Parser and the Template Resolvers with the info they need to read and parse the template document.
Constructor Summary | |
---|---|
TemplateProcessingParameters(Configuration configuration,
String templateName,
IContext context)
Create a new TemplateProcessingParameters instance. |
Method Summary | |
---|---|
Configuration |
getConfiguration()
Returns the Template Engine configuration being used for processing templates. |
IContext |
getContext()
Returns the current context specified for template processing. |
Object |
getExecutionAttribute(String attributeName)
Returns the execution attribute with the specified name. |
java.util.Map<String,Object> |
getExecutionAttributes()
Returns the execution attributes. |
String |
getTemplateName()
Returns the name of the template currently being processed. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateProcessingParameters(Configuration configuration, String templateName, IContext context)
Create a new TemplateProcessingParameters instance.
Mainly for internal use. Should not be called directly except
when processing a template (e.g. a fragment) using the TemplateEngine
from a element/attribute processor.
configuration
- the configurationtemplateName
- the template namecontext
- the contextMethod Detail |
---|
public Configuration getConfiguration()
Returns the Template Engine configuration being used for processing templates.
public String getTemplateName()
Returns the name of the template currently being processed.
public IContext getContext()
Returns the current context specified for template processing.
public java.util.Map<String,Object> getExecutionAttributes()
Returns the execution attributes.
public Object getExecutionAttribute(String attributeName)
Returns the execution attribute with the specified name.
attributeName
- the name of the attribute to be retrieved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |