org.ztemplates.render
Class ZTemplatesRenderer

java.lang.Object
  extended by org.ztemplates.render.ZTemplatesRenderer
All Implemented Interfaces:
Serializable, ZIRenderer

public class ZTemplatesRenderer
extends Object
implements ZIRenderer

Simple, very fast barebones renderer syntax: ${exposedPropertyName} #if(${exposedPropertyName}) #else #end #foreach(${name} in ${prop}) #end

Author:
www.gerdziegler.de
See Also:
Serialized Form

Constructor Summary
ZTemplatesRenderer()
           
 
Method Summary
 void init(ZIRenderApplicationContext applicationContext, ZITemplateNameRepository templateNameRepository)
           
 String render(Class clazz, Map<String,Object> values)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZTemplatesRenderer

public ZTemplatesRenderer()
Method Detail

init

public void init(ZIRenderApplicationContext applicationContext,
                 ZITemplateNameRepository templateNameRepository)
Specified by:
init in interface ZIRenderer

render

public String render(Class clazz,
                     Map<String,Object> values)
              throws Exception
Specified by:
render in interface ZIRenderer
Throws:
Exception


Copyright © 2011. All Rights Reserved.