|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface that all template engine services must adhere to. This includes the Velocity, WebMacro, FreeMarker, and JSP services.
Field Summary | |
static java.lang.String |
DEFAULT_ERROR_SCREEN
|
static java.lang.String |
DEFAULT_LAYOUT
|
static java.lang.String |
DEFAULT_LAYOUT_TEMPLATE
|
static java.lang.String |
DEFAULT_NAVIGATION
|
static java.lang.String |
DEFAULT_NAVIGATION_TEMPLATE
|
static java.lang.String |
DEFAULT_PAGE
|
static java.lang.String |
DEFAULT_SCREEN
|
static java.lang.String |
DEFAULT_SCREEN_TEMPLATE
|
static java.lang.String |
DEFAULT_TEMPLATE_EXTENSION
|
static java.lang.String |
TEMPLATE_EXTENSIONS
|
Method Summary | |
java.lang.String[] |
getAssociatedFileExtensions()
Supplies the file extension to key this engine in TemplateService 's
registry with. |
java.util.Hashtable |
getTemplateEngineServiceConfiguration()
Return the configuration of the template engine in the form of a Hashtable. |
void |
registerConfiguration(java.lang.String defaultExt)
Initializes file extension associations and registers with the template service. |
boolean |
templateExists(java.lang.String template)
Use the specific template engine to determine whether a given template exists. |
Field Detail |
public static final java.lang.String TEMPLATE_EXTENSIONS
public static final java.lang.String DEFAULT_TEMPLATE_EXTENSION
public static final java.lang.String DEFAULT_PAGE
public static final java.lang.String DEFAULT_SCREEN
public static final java.lang.String DEFAULT_LAYOUT
public static final java.lang.String DEFAULT_NAVIGATION
public static final java.lang.String DEFAULT_ERROR_SCREEN
public static final java.lang.String DEFAULT_LAYOUT_TEMPLATE
public static final java.lang.String DEFAULT_SCREEN_TEMPLATE
public static final java.lang.String DEFAULT_NAVIGATION_TEMPLATE
Method Detail |
public java.util.Hashtable getTemplateEngineServiceConfiguration()
public void registerConfiguration(java.lang.String defaultExt)
defaultExt
- The default file extension association to use
in case of properties file misconfiguration.public java.lang.String[] getAssociatedFileExtensions()
TemplateService
's
registry with.
public boolean templateExists(java.lang.String template)
template
- The name of the template to check the existance of.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |