public abstract class BaseTemplateEngine extends Object implements TemplateEngine
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_THEME_PROPERTIES_FILE_NAME
The default theme properties file name.
|
Constructor and Description |
---|
BaseTemplateEngine() |
Modifier and Type | Method and Description |
---|---|
protected String |
getFinalTemplateName(Template template) |
protected abstract String |
getSuffix() |
protected String |
getThemePropertiesFileName() |
Map |
getThemeProps(Template template)
Get's the properties for the given template.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderTemplate
public static final String DEFAULT_THEME_PROPERTIES_FILE_NAME
public Map getThemeProps(Template template)
TemplateEngine
getThemeProps
in interface TemplateEngine
template
- the template.protected String getThemePropertiesFileName()
protected abstract String getSuffix()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.