org.teatrove.tea.engine
Class SimpleTeaEngine

java.lang.Object
  extended by org.teatrove.tea.engine.SimpleTeaEngine
All Implemented Interfaces:
TeaExecutionEngine

public class SimpleTeaEngine
extends Object
implements TeaExecutionEngine

Author:
Jonathan Colwell

Constructor Summary
SimpleTeaEngine()
           
 
Method Summary
 void executeTemplate(String templateName, Object contextParameter, Object[] templateParameters)
           
 TemplateSource getTemplateSource()
           
 void init(TeaEngineConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTeaEngine

public SimpleTeaEngine()
Method Detail

init

public void init(TeaEngineConfig config)
Specified by:
init in interface TeaExecutionEngine

executeTemplate

public void executeTemplate(String templateName,
                            Object contextParameter,
                            Object[] templateParameters)
                     throws Exception
Specified by:
executeTemplate in interface TeaExecutionEngine
Throws:
Exception

getTemplateSource

public TemplateSource getTemplateSource()
Specified by:
getTemplateSource in interface TeaExecutionEngine


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.