com.opensymphony.webwork.views.jsp.ui.template
Class TemplateEngineManager
java.lang.Object
com.opensymphony.webwork.views.jsp.ui.template.TemplateEngineManager
- public class TemplateEngineManager
- extends Object
The TemplateEngineManager will return a template engine for the template
Date: Sep 28, 2004 11:58:29 AM
- Author:
- jcarreira
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TEMPLATE_TYPE_CONFIG_KEY
public static final String DEFAULT_TEMPLATE_TYPE_CONFIG_KEY
- See Also:
- Constant Field Values
registerTemplateEngine
public static void registerTemplateEngine(String templateExtension,
TemplateEngine templateEngine)
getTemplateEngine
public static TemplateEngine getTemplateEngine(String templateName)
- Gets the TemplateEngine for the template name. If the template name has an extension (for instance foo.jsp), then
this extension will be used to look up the appropriate TemplateEngine. If it does not have an extension, it will
look for a Configuration setting "webwork.ui.templateSuffix" for the extension, and if that is not set, it
will fall back to "vm" as the default.
- Parameters:
templateName
-
- Returns: