org.ztemplates.render
Interface ZIRenderer

All Superinterfaces:
Serializable
All Known Implementing Classes:
ZFreeMarkerRenderer, ZJspRenderer, ZTemplatesRenderer, ZVelocityRenderer

public interface ZIRenderer
extends Serializable

A renderer renders exposed values to a String. In a web environment a renderer is instantiated once per request (render engine).

Author:
www.gerdziegler.de

Method Summary
 void init(ZIRenderApplicationContext applicationContext, ZITemplateNameRepository templateNameRepository)
           
 String render(Class exposedObjectClass, Map<String,Object> exposedValues)
           
 

Method Detail

init

void init(ZIRenderApplicationContext applicationContext,
          ZITemplateNameRepository templateNameRepository)
          throws Exception
Throws:
Exception

render

String render(Class exposedObjectClass,
              Map<String,Object> exposedValues)
              throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.