public class VelocityTemplateEngine extends BaseTemplateEngine
DEFAULT_THEME_PROPERTIES_FILE_NAME
Constructor and Description |
---|
VelocityTemplateEngine() |
Modifier and Type | Method and Description |
---|---|
protected String |
getSuffix() |
void |
renderTemplate(TemplateRenderingContext templateContext)
Renders the template
|
void |
setVelocityManager(VelocityManager mgr) |
getFinalTemplateName, getThemePropertiesFileName, getThemeProps
public void setVelocityManager(VelocityManager mgr)
public void renderTemplate(TemplateRenderingContext templateContext) throws Exception
TemplateEngine
templateContext
- context for the given template.Exception
- is thrown if there is a failure when rendering.protected String getSuffix()
getSuffix
in class BaseTemplateEngine
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.