org.javagen.agile.core.emitter.template
Class NanoTemplateCallback

java.lang.Object
  extended by org.javagen.agile.core.emitter.template.NanoTemplateCallback

public class NanoTemplateCallback
extends Object

Allow calling NanoTemplate from within template. This is loaded into the Context by a ContextLoader before calling the template engine.

Author:
Richard Easterling

Field Summary
(package private)  Context context
           
 
Constructor Summary
NanoTemplateCallback(Context context)
           
 
Method Summary
 String bindKey(String templateKey)
           
 String bindKey(String templateKey, Model model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

Context context
Constructor Detail

NanoTemplateCallback

public NanoTemplateCallback(Context context)
Method Detail

bindKey

public String bindKey(String templateKey)

bindKey

public String bindKey(String templateKey,
                      Model model)


Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.