Class Index | File Index

Classes


Class zwt.tpl.TemplateFactory


Extends zwt.Object.

A Template factory is used to get and/or create zwt.tpl.Template objects.

Template object are cached based on the template URL for performance reasons.


Defined in: TemplateFactory.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
zwt.tpl.TemplateFactory.getTemplate(String_templateURL)
Return the template object for the specified template URL.
Class Detail
zwt.tpl.TemplateFactory()

Author: Jeremy KUHN.
See:
zwt.tpl.Template
Method Detail
<static> {zwt.tpl.Template} zwt.tpl.TemplateFactory.getTemplate(String_templateURL)
Return the template object for the specified template URL.

This method creates, caches and return template objects based on the template URL extension.

This implementation only supports zwt.tpl.xsl.XSLTemplate with '.xsl' extension.

Parameters:
{String} String_templateURL
The template URL
Throws:
{Error}
If the template extension is not supported
Returns:
A template object

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:53 GMT+0100 (CET)