Class BaseTemplateEngine
java.lang.Object
org.apache.struts2.components.template.BaseTemplateEngine
- All Implemented Interfaces:
- TemplateEngine
- Direct Known Subclasses:
- FreemarkerTemplateEngine,- JspTemplateEngine
Base class for template engines.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringgetFinalTemplateName(Template template) protected abstract Stringprotected StringgetThemeProps(Template template) Get's the properties for the given template.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.struts2.components.template.TemplateEnginerenderTemplate
- 
Field Details- 
DEFAULT_THEME_PROPERTIES_FILE_NAMEThe default theme properties file name. Default is 'theme.properties'- See Also:
 
 
- 
- 
Constructor Details- 
BaseTemplateEnginepublic BaseTemplateEngine()
 
- 
- 
Method Details- 
getThemePropsDescription copied from interface:TemplateEngineGet's the properties for the given template.- Specified by:
- getThemePropsin interface- TemplateEngine
- Parameters:
- template- the template.
- Returns:
- the properties as key value pairs.
 
- 
getFinalTemplateName
- 
getThemePropertiesFileName
- 
getSuffix
 
-