org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate Interface Reference

Inheritance diagram for org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate:

org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate

List of all members.


Detailed Description

Title: OpenMobileIS project source
Description: Base interface for template management.

Template management are delegated to delegate. Delegate must be registered to the TemplateManager before its activation (call to getManager() method).

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

Definition at line 47 of file TemplateManagerDelegate.java.


Public Member Functions

void init ()
 init template and cache management.
TemplateModelRoot getTemplateModelRoot ()
 initialize template structure for this request.
void setDefaultTemplateContentType (String defaultTemplateContentType)
 Default content type of the response.
String getDefaultTemplateContentType ()
 return the default Content-Type of the template HTTP response

Member Function Documentation

void org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.init (  ) 

init template and cache management.

cache template is use to detect cache update during synchronization

Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.

Referenced by org.openmobileis.embedded.webserver.templates.TemplateManager.init().

void org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.setDefaultTemplateContentType ( String  defaultTemplateContentType  ) 

Default content type of the response.

If not set it's html/text. Use to force the default Content-Type header of template HTTP response. "text/html; charset=ISO-8859-1" for example.

Parameters:
encoding 

Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.

String org.openmobileis.embedded.webserver.templates.TemplateManagerDelegate.getDefaultTemplateContentType (  ) 

return the default Content-Type of the template HTTP response

Returns:

Implemented in org.openmobileis.embedded.webserver.templates.Freemarkerv1TemplateDelegate.


The documentation for this interface was generated from the following file:
Generated on Mon Jan 11 21:19:21 2010 for OpenMobileIS by  doxygen 1.5.4