public interface TemplateEngine
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.String |
getDefaultExtension()Mostly used by other framework components. |
|
public java.lang.String |
render(java.lang.String templateName, java.util.Map<java.lang.String, java.lang.Object> data)
|
|
public java.lang.String |
render(java.lang.String templateName)
|
Mostly used by other framework components.
diego.templates.defaultExtension
templateName - The name of the template relative to {diego.templates.dir} (minus the default extension). E.g. "index"data - Data to pass to the template.
templateName - The name of the template relative to {diego.templates.dir} (minus the default extension). E.g. "index"