Return to www.inductionframework.org

com.acciente.induction.template
Class FreemarkerTemplatingEngine

java.lang.Object
  extended by 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.


Constructor Summary
FreemarkerTemplatingEngine(Config.Templating oConfig, java.lang.ClassLoader oClassLoader, javax.servlet.ServletConfig oServletConfig, Logger oLogger)
           
 
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
 

Constructor Detail

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
Method Detail

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

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.