br.com.ibnetwork.guara.view.impl.freemarker
Class FreemarkerTemplateEngine
java.lang.Object
br.com.ibnetwork.guara.view.impl.TemplateEngineSupport
br.com.ibnetwork.guara.view.impl.freemarker.FreemarkerTemplateEngine
- All Implemented Interfaces:
- TemplateEngine, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable
public class FreemarkerTemplateEngine
- extends TemplateEngineSupport
- implements org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable
- Author:
- leandro
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
|
void |
merge(java.lang.String templateName,
Context context,
java.io.Writer w)
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
|
boolean |
templateExists(java.lang.String templateName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerTemplateEngine
public FreemarkerTemplateEngine()
service
public void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Overrides:
configure
in class TemplateEngineSupport
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
merge
public void merge(java.lang.String templateName,
Context context,
java.io.Writer w)
throws TemplateEngineException
- Specified by:
merge
in interface TemplateEngine
- Throws:
TemplateEngineException
templateExists
public boolean templateExists(java.lang.String templateName)
throws TemplateEngineException
- Specified by:
templateExists
in interface TemplateEngine
- Throws:
TemplateEngineException
Copyright © 1999-2006 InterBusiness Technologies. All Rights Reserved.