|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webmacro.resource.AbstractTemplateLoader
org.webmacro.resource.BrokerTemplateLoader
Field Summary |
Fields inherited from class org.webmacro.resource.AbstractTemplateLoader |
broker, helper, log |
Constructor Summary | |
BrokerTemplateLoader()
|
Method Summary | |
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. |
Methods inherited from class org.webmacro.resource.AbstractTemplateLoader |
init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BrokerTemplateLoader()
Method Detail |
public void setConfig(java.lang.String config)
TemplateLoader
config
- config options for this template loaderpublic final Template load(java.lang.String query, CacheElement ce) throws ResourceException
TemplateLoader
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 |