org.openmobileis.embedded.webserver.templates.TemplateManager Class Reference

List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Manage pattern (templates) for HTML forms used by the PDA web server.

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 ${}.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 51 of file TemplateManager.java.

Public Member Functions

void updateTemplateWithNavigationBarData (Object modelRoot, String data)
TemplateModelRoot getTemplateModelRoot ()
 initialize template structure for this request.
void sendResponse (String templateName, TemplateModelRoot modelRoot, HttpServletResponse res) throws java.io.IOException, TemplateNotFoundException

Static Public Member Functions

static TemplateManager getManager ()
static void registerTemplateDelegate (TemplateManagerDelegate indelegate)

Protected Member Functions

void init ()
 init template and cache management.


Member Function Documentation

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().


The documentation for this class was generated from the following file:
Generated on Tue May 22 23:01:18 2007 for OpenMobileIS by  doxygen 1.5.1-p1