org.apache.sirona.reporting.web.template
Class Templates

java.lang.Object
  extended by org.apache.sirona.reporting.web.template.Templates

public final class Templates
extends Object


Nested Class Summary
static class Templates.DateTool
           
 
Field Summary
static String RESOURCE_LOADER_KEY
           
 
Method Summary
static void htmlRender(PrintWriter writer, String template, Map<String,?> variables)
           
static void init(String context, String filterMapping)
           
static Object property(String key)
           
static void render(PrintWriter writer, String template, Map<String,?> variables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_LOADER_KEY

public static final String RESOURCE_LOADER_KEY
See Also:
Constant Field Values
Method Detail

init

public static void init(String context,
                        String filterMapping)

htmlRender

public static void htmlRender(PrintWriter writer,
                              String template,
                              Map<String,?> variables)

render

public static void render(PrintWriter writer,
                          String template,
                          Map<String,?> variables)

property

public static Object property(String key)


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.