FileDocCategorySizeDatePackage
TemplateEngine.javaAPI DocExample1666Mon Jul 23 13:26:36 BST 2007org.apache.struts2.components.template

TemplateEngine

public interface TemplateEngine
Any template language which wants to support UI tag templating needs to provide an implementation of this interface to handle rendering the template

Fields Summary
Constructors Summary
Methods Summary
public java.util.MapgetThemeProps(Template template)
Get's the properties for the given template.

param
template the template.
return
the properties as key value pairs.

public voidrenderTemplate(TemplateRenderingContext templateContext)
Renders the template

param
templateContext context for the given template.
throws
Exception is thrown if there is a failure when rendering.