org.apache.commons.monitoring.reporting.web.handler.api
Class Template
java.lang.Object
org.apache.commons.monitoring.reporting.web.handler.api.Template
public class Template
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 templateisHtml
- should the template be rendered with the site them or not (= is it a page fragment).
getTemplate
public String getTemplate()
getUserParams
public Map<String,?> getUserParams()
isHtml
public boolean isHtml()
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.