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, waitrenderTemplatepublic static final String DEFAULT_THEME_PROPERTIES_FILE_NAME
public Map getThemeProps(Template template)
TemplateEnginegetThemeProps in interface TemplateEnginetemplate - the template.protected String getThemePropertiesFileName()
protected abstract String getSuffix()
Copyright © 2000–2021 Apache Software Foundation. All rights reserved.