com.acciente.induction.template
Class FreemarkerTemplatingEngine
java.lang.Object
com.acciente.induction.template.FreemarkerTemplatingEngine
- All Implemented Interfaces:
- TemplatingEngine
public class FreemarkerTemplatingEngine
- extends java.lang.Object
- implements TemplatingEngine
An implementation of the Induction template engine interface that plugs in the Freemarker templating engine.
Method Summary |
void |
process(Template oTemplate,
java.io.Writer oWriter)
This method is used to process a template via this instance of the templating engine |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerTemplatingEngine
public FreemarkerTemplatingEngine(Config.Templating oConfig,
java.lang.ClassLoader oClassLoader,
javax.servlet.ServletConfig oServletConfig,
Logger oLogger)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
process
public void process(Template oTemplate,
java.io.Writer oWriter)
throws TemplatingEngineException,
java.io.IOException
- Description copied from interface:
TemplatingEngine
- This method is used to process a template via this instance of the templating engine
- Specified by:
process
in interface TemplatingEngine
- Parameters:
oTemplate
- the template object to process
- Throws:
TemplatingEngineException
java.io.IOException
Copyright (c) 2008 Acciente, LLC. All rights reserved.