| |
|
| org.apache.turbine.services.template.TemplateEngineService
All known Subclasses: org.apache.turbine.services.template.BaseTemplateEngineService,
TemplateEngineService | public interface TemplateEngineService (Code) | | This is the interface that all template engine services must adhere
to. This includes the Velocity, WebMacro, FreeMarker, and JSP
services.
author: Jason van Zyl author: Daniel Rall version: $Id: TemplateEngineService.java 534527 2007-05-02 16:10:59Z tv $ |
DEFAULT_LAYOUT_TEMPLATE | String DEFAULT_LAYOUT_TEMPLATE(Code) | | |
DEFAULT_NAVIGATION_TEMPLATE | String DEFAULT_NAVIGATION_TEMPLATE(Code) | | |
DEFAULT_SCREEN_TEMPLATE | String DEFAULT_SCREEN_TEMPLATE(Code) | | |
DEFAULT_TEMPLATE_EXTENSION | String DEFAULT_TEMPLATE_EXTENSION(Code) | | |
getTemplateEngineServiceConfiguration | Hashtable getTemplateEngineServiceConfiguration()(Code) | | Return the configuration of the template engine in
the form of a Hashtable.
|
registerConfiguration | void registerConfiguration(String defaultExt)(Code) | | Initializes file extension associations and registers with the
template service.
Parameters: defaultExt - The default file extension association to usein case of properties file misconfiguration. |
templateExists | boolean templateExists(String template)(Code) | | Use the specific template engine to determine whether
a given template exists. This allows Turbine the TemplateService
to delegate the search for a template to the template
engine being used for the view. This gives us the
advantage of fully utilizing the capabilities of
template engine with respect to retrieving templates
from arbitrary sources.
Parameters: template - The name of the template to check the existance of. Whether the specified template exists. |
|
|
|