public interface TemplateEngineService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ERROR_SCREEN
Configuration key
|
static String |
DEFAULT_LAYOUT
Configuration key
|
static String |
DEFAULT_LAYOUT_TEMPLATE
Configuration key
|
static String |
DEFAULT_NAVIGATION
Configuration key
|
static String |
DEFAULT_NAVIGATION_TEMPLATE
Configuration key
|
static String |
DEFAULT_PAGE
Configuration key
|
static String |
DEFAULT_SCREEN
Configuration key
|
static String |
DEFAULT_SCREEN_TEMPLATE
Configuration key
|
static String |
DEFAULT_TEMPLATE_EXTENSION
Configuration key
|
static String |
TEMPLATE_EXTENSIONS
Configuration key
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 existence of.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.