org.apache.commons.monitoring.reporting.web.handler.api
Class Template

java.lang.Object
  extended by org.apache.commons.monitoring.reporting.web.handler.api.Template

public class Template
extends Object


Constructor Summary
Template(String template)
           
Template(String template, Map<String,?> userParams)
           
Template(String template, Map<String,?> userParams, boolean isHtml)
           
 
Method Summary
 String getTemplate()
           
 Map<String,?> getUserParams()
           
 boolean isHtml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template(String template)

Template

public Template(String template,
                Map<String,?> userParams)

Template

public Template(String template,
                Map<String,?> userParams,
                boolean isHtml)
Parameters:
template - template path, if isHtml is true it is relative to /templates otherwise it is absolute.
userParams - variables used by the template
isHtml - should the template be rendered with the site them or not (= is it a page fragment).
Method Detail

getTemplate

public String getTemplate()

getUserParams

public Map<String,?> getUserParams()

isHtml

public boolean isHtml()


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