Method Summary |
|
String | getDefaultExtension() Get the default template name extension specified
in the template service properties. |
String | getDefaultLayout() Get the default layout module name of the template engine
service corresponding to the default template name extension. |
String | getDefaultLayoutName(String template) Get the default layout module name of the template engine
service corresponding to the template name extension of
the named template.
Parameters: template - The template name. |
String | getDefaultLayoutName(RunData data) Find the default layout module name for the given request.
Parameters: data - The encapsulation of the request to retrieve thedefault layout for. |
String | getDefaultLayoutTemplate() Get the default layout template name of the template engine
service corresponding to the default template name extension. |
String | getDefaultLayoutTemplateName(String template) Get the default layout template name of the template engine
service corresponding to the template name extension of
the named template.
Parameters: template - The template name. |
String | getDefaultNavigation() Get the default navigation module name of the template engine
service corresponding to the default template name extension. |
String | getDefaultNavigationName(String template) Get the default navigation module name of the template engine
service corresponding to the template name extension of
the named template.
Parameters: template - The template name. |
String | getDefaultPage() Get the default page module name of the template engine
service corresponding to the default template name extension. |
String | getDefaultPageName(String template) Get the default page module name of the template engine
service corresponding to the template name extension of
the named template.
Parameters: template - The template name. |
String | getDefaultPageName(RunData data) Find the default page module name for the given request.
Parameters: data - The encapsulation of the request to retrieve thedefault page for. |
String | getDefaultScreen() Get the default screen module name of the template engine
service corresponding to the default template name extension. |
String | getDefaultScreenName(String template) Get the default screen module name of the template engine
service corresponding to the template name extension of
the named template.
Parameters: template - The template name. |
String | getDefaultTemplate() Returns the Default Template Name with the Default Extension. |
String | getExtension(String template) |
String | getLayoutName(String template) Locate and return the name of the layout module to be used
with the named layout template.
Parameters: template - The layout template name. |
String | getLayoutTemplateName(String template) Locate and return the name of the layout template corresponding
to the given screen template name parameter.
Parameters: template - The template name parameter. |
String | getNavigationName(String name) Locate and return the name of the navigation module to be used
with the named navigation template.
Parameters: template - The navigation template name. |
String | getNavigationTemplateName(String template) Locate and return the name of the navigation template corresponding
to the given template name parameter.
Parameters: template - The template name parameter. |
String | getScreenName(String template) Locate and return the name of the screen module to be used
with the named screen template.
Parameters: template - The screen template name. |
String | getScreenTemplateName(String template) Locate and return the name of the screen template corresponding
to the given template name parameter.
Parameters: template - The template name parameter. |
TemplateEngineService | getTemplateEngineService(String template) The
org.apache.turbine.services.template.TemplateEngineService associated with the specified template's file extension.
Parameters: template - The template name. |
boolean | isCaching() |
void | registerTemplateEngineService(TemplateEngineService service) Registers the provided template engine for use by the
TemplateService . |
boolean | templateExists(String template, String[] templatePaths) Delegates to the appropriate
org.apache.turbine.services.template.TemplateEngineService to
check the existance of the specified template. |
String[] | translateTemplatePaths(String[] templatePaths) Translates the supplied template paths into their Turbine-canonical
equivalent (probably absolute paths).
Parameters: templatePaths - An array of template paths. |