|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for template loaders. Template loaders are responsible to search for and load templates from a single location. They are used by DelegatingTemplateProvider to do the actual work.
| Method Summary | |
void |
init(Broker b,
Settings settings)
Init this template loader* |
Template |
load(java.lang.String query,
CacheElement ce)
Try to load a template. |
void |
setConfig(java.lang.String config)
Set the config options for this template loader. |
| Method Detail |
public void init(Broker b,
Settings settings)
throws InitException
InitException
public void setConfig(java.lang.String config)
throws InitException
config - config options for this template loader
InitException
public Template load(java.lang.String query,
CacheElement ce)
throws ResourceException
query - location to load template fromce - cache element that will be used for this template or null
if no cache is used.
ResourceException - if an error occured while loading the template
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||