|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForwardEngine
Extends TemplateEngine for rendering templates with the RequestDispatcher mechanism.
Field Summary | |
---|---|
static String |
CONTEXT_NAME_PROPERTY
The context name property. |
static String |
FOLDER_PATHS_PROPERTY
The folder paths property. |
static String |
FORWARDED_PROPERTY
The forwarded property. |
static String |
TEMPLATE_KEY_PROPERTY
The template key property. |
Method Summary | |
---|---|
void |
addFolderPath(int index,
String path)
Adds a template folder path at the specified index. |
void |
addFolderPath(String path)
Adds a template folder path. |
void |
clearFolders()
Clears all template folders. |
ObjectName |
getContextName()
Gets the startup context name. |
String[] |
getFolderPaths()
Gets the template folder paths. |
String |
getTemplateKey()
Gets the path finder key for resolving template paths. |
boolean |
isForwarded()
Gets the forwarded option. |
void |
removeFolderPath(String path)
Removes a template folder path. |
void |
setContextName(ObjectName servlet)
Sets the startup context name. |
void |
setFolderPaths(String[] paths)
Sets the template folder paths. |
void |
setForwarded(boolean option)
Sets the forwarded option. |
void |
setTemplateKey(String key)
Sets the path finder key for resolving template paths. |
Methods inherited from interface org.norther.tammi.spray.engine.TemplateEngine |
---|
evaluate, evaluate, evaluate, execute, execute, execute, getDefaultEncoding, resolveLocalizedTemplate, setDefaultEncoding, templateExists |
Methods inherited from interface org.norther.tammi.core.config.Configurable |
---|
addProperty, addProperty, addPropertyFilePath, addPropertyFilePath, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, getPropertyFilePaths, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, removePropertyFilePath, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, setPropertyFilePaths, setPropertyFilePaths, storeProperties |
Methods inherited from interface org.norther.tammi.core.base.Startable |
---|
isStarted, start, stop |
Methods inherited from interface org.norther.tammi.core.cache.CacheClient |
---|
clearCached, expireCached, expireFraction, getCache, getSharedCacheName, isCachingDisabled, removeCache, setCachingDisabled, setSharedCacheName |
Methods inherited from interface org.norther.tammi.core.base.Refreshable |
---|
getRefreshed, refresh |
Field Detail |
---|
static final String TEMPLATE_KEY_PROPERTY
static final String FORWARDED_PROPERTY
static final String CONTEXT_NAME_PROPERTY
static final String FOLDER_PATHS_PROPERTY
Method Detail |
---|
String getTemplateKey()
void setTemplateKey(String key)
key
- the path finder key.boolean isForwarded()
void setForwarded(boolean option)
option
- true to set the forwarded option, otherwise false.ObjectName getContextName()
void setContextName(ObjectName servlet)
servlet
- the name of the context or a query.String[] getFolderPaths()
void setFolderPaths(String[] paths)
paths
- an array of folder paths.void addFolderPath(String path)
path
- the folder path.void addFolderPath(int index, String path)
index
- the index.path
- the folder path.void removeFolderPath(String path)
path
- the folder path.void clearFolders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |