org.jostraca
Interface TemplateFactory

All Known Implementing Classes:
BasicTemplateFactory

public interface TemplateFactory

Interface to template factory. Concrete Templates may differ depending on the type of the template (determined by template path suffix).


Method Summary
 Template createTemplate(TemplatePath pTemplatePath, OrderedPropertySetManager pPSM)
          Construct a Template object based on pTemplatePath.
 

Method Detail

createTemplate

public Template createTemplate(TemplatePath pTemplatePath,
                               OrderedPropertySetManager pPSM)
Construct a Template object based on pTemplatePath. The Template object will load pTemplatePath.

Parameters:
pTemplatePath - Path to template file
pPSM - set of base properties
Throws:
TemplateException - Thrown if Template object cannot be created.


Copyright © 2000-2002 Richard Rodger