It is based on singleton model. The path gives the location of the patterns (should terminate by a file separator). The API getHTMLFile (patternName, variables) allow to get the HTML file from a pattern and a list of variables. The default implementation use the freemarker template manager. See freemarker for more information. Inside the pattern, the variables are tagged by ${}.
Definition at line 51 of file TemplateManager.java.
Public Member Functions | |
TemplateModelRoot | getTemplateModelRoot () |
initialize template structure for this request. | |
Protected Member Functions | |
void | init () |
init template and cache management. |
void org.openmobileis.embedded.webserver.templates.TemplateManager.init | ( | ) | [protected] |
init template and cache management.
cache template is use to detect cache update during synchronization
Definition at line 82 of file TemplateManager.java.
References org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.init().