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