|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.webwork.components.template.TemplateEngineManager
public class TemplateEngineManager
The TemplateEngineManager will return a template engine for the template
| Field Summary | |
|---|---|
static String |
DEFAULT_TEMPLATE_TYPE
The default template extenstion is ftl. |
static String |
DEFAULT_TEMPLATE_TYPE_CONFIG_KEY
|
| Method Summary | |
|---|---|
static TemplateEngine |
getTemplateEngine(Template template,
String templateTypeOverride)
Gets the TemplateEngine for the template name. |
static void |
registerTemplateEngine(String templateExtension,
TemplateEngine templateEngine)
Registers the given template engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_TEMPLATE_TYPE_CONFIG_KEY
public static final String DEFAULT_TEMPLATE_TYPE
ftl.
| Method Detail |
|---|
public static void registerTemplateEngine(String templateExtension,
TemplateEngine templateEngine)
templateExtension - filename extension (eg. .jsp, .ftl, .vm).templateEngine - the engine.
public static TemplateEngine getTemplateEngine(Template template,
String templateTypeOverride)
template - Template used to determine which TemplateEngine to returntemplateTypeOverride - Overrides the default template type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||