Package | Description |
---|---|
org.thymeleaf.context | |
org.thymeleaf.engine | |
org.thymeleaf.expression | |
org.thymeleaf.model | |
org.thymeleaf.processor.element |
Modifier and Type | Method and Description |
---|---|
TemplateData |
WebEngineContext.getTemplateData() |
TemplateData |
ITemplateContext.getTemplateData()
Returns the template data object containing metadata about the template currently
being processed.
|
TemplateData |
EngineContext.getTemplateData() |
Modifier and Type | Method and Description |
---|---|
List<TemplateData> |
WebEngineContext.getTemplateStack() |
List<TemplateData> |
ITemplateContext.getTemplateStack()
Returns the list of all the
TemplateData objects corresponding to all the templates that have
been nested in order to reach the current execution point. |
List<TemplateData> |
EngineContext.getTemplateStack() |
Modifier and Type | Method and Description |
---|---|
IEngineContext |
IEngineContextFactory.createEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
IContext context)
Creates a new
IEngineContext to be used for processing a specific template. |
IEngineContext |
StandardEngineContextFactory.createEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
IContext context) |
void |
WebEngineContext.setTemplateData(TemplateData templateData) |
void |
IEngineContext.setTemplateData(TemplateData template)
Sets a new template metadata object (
TemplateData ) for the current execution point, specifying
that the elements and nodes that are to be processed from now on (until the context level is
decreased below the current level) originally belonged to a different template. |
void |
EngineContext.setTemplateData(TemplateData templateData) |
Constructor and Description |
---|
EngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
Locale locale,
Map<String,Object> variables)
Creates a new instance of this
IEngineContext implementation. |
WebEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables)
Creates a new instance of this
IEngineContext implementation binding engine execution to
the Servlet API. |
Modifier and Type | Method and Description |
---|---|
TemplateData |
TemplateModel.getTemplateData() |
Modifier and Type | Method and Description |
---|---|
IModel |
StandardModelFactory.parse(TemplateData ownerTemplate,
String template) |
TemplateModel |
TemplateManager.parseString(TemplateData ownerTemplateData,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
boolean useCache) |
void |
ElementModelStructureHandler.setTemplateData(TemplateData templateData) |
void |
ElementTagStructureHandler.setTemplateData(TemplateData templateData) |
Constructor and Description |
---|
ModelBuilderTemplateHandler(IEngineConfiguration configuration,
TemplateData templateData) |
Modifier and Type | Method and Description |
---|---|
List<TemplateData> |
ExecutionInfo.getTemplateStack()
Returns the template stack, containing the metadata for the first-level template being
processed and also any fragments that might have been nested up to the current execution point.
|
Modifier and Type | Method and Description |
---|---|
IModel |
IModelFactory.parse(TemplateData ownerTemplate,
String template)
Parse the template specified as String and return the result as a model.
|
Modifier and Type | Method and Description |
---|---|
void |
IElementTagStructureHandler.setTemplateData(TemplateData templateData)
Instructs the engine to set a new template data.
|
void |
IElementModelStructureHandler.setTemplateData(TemplateData templateData)
Instructs the engine to set a new template data.
|
Copyright © 2016 The THYMELEAF team. All rights reserved.