org.webmacro.resource
Interface TemplateLoaderFactory
- All Known Implementing Classes:
- DefaultTemplateLoaderFactory
- public interface TemplateLoaderFactory
Interface for template loader factories.
Implementations of this interface have to create template loaders
based on a string describing the template loader.
- Author:
- Sebastian Kanthak (sebastian.kanthak@muehlheim.de)
getTemplateLoader
public TemplateLoader getTemplateLoader(Broker b,
java.lang.String config)
throws InitException
- Create a template loader
- Parameters:
b
- broker to useconfig
- string describing template loader to construct
- Returns:
- template loader
- Throws:
InitException
- if template loader could not be constructed