Method Summary |
|
final public static String | getDefaultExtension() Get the default extension given in the properties file. |
final public static String | getDefaultLayout() Get the default layout module name of the template engine
service corresponding to the default template name extension. |
final public static 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. |
final public static 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. |
final public static String | getDefaultLayoutTemplate() Get the default layout template given in the properties file. |
final public static 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. |
final public static String | getDefaultNavigation() Get the default Navigation given in the properties file. |
final public static 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. |
final public static String | getDefaultPage() Get the default page module name of the template engine
service corresponding to the default template name extension. |
final public static 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. |
final public static 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. |
final public static String | getDefaultScreen() Get the Screen template given in the properties file. |
final public static 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. |
final public static String | getDefaultTemplate() Returns the Default Template Name with the Default Extension. |
final public static String | getExtension(String template) |
final public static 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. |
final public static String | getLayoutTemplateName(String name) Locate and return the name of a layout template.
Parameters: name - A String with the name of the template. |
final public static String | getNavigationName(String template) Locate and return the name of the navigation module to be used
with the named navigation template.
Parameters: template - The navigation template name. |
final public static String | getNavigationTemplateName(String key) Locate and return the name of a navigation template.
Parameters: key - A String which is the key to the template. |
final public static String | getScreenName(String name) Locate and return the name of a Screen module.
Parameters: name - A String with the name of the template. |
final public static String | getScreenTemplateName(String key) Locate and return the name of a screen template.
Parameters: key - A String which is the key to the template. |
public static TemplateService | getService() |
final public static TemplateEngineService | getTemplateEngineService(String template) The
org.apache.turbine.services.template.TemplateEngineService associated with the specified template's file extension.
Parameters: template - The template name. |
final public static boolean | isCaching() |
final public static void | registerTemplateEngineService(TemplateEngineService service) Registers the provided template engine for use by the
TemplateService . |
final public static boolean | templateExists(String template, String[] templatePaths) Delegates to the appropriate
org.apache.turbine.services.template.TemplateEngineService to
check the existance of the specified template. |
final public static String[] | translateTemplatePaths(String[] templatePaths) Translates the supplied template paths into their Turbine-canonical
equivalent (probably absolute paths).
Parameters: templatePaths - An array of template paths. |