org.pentaho.platform.web.http
Class WebTemplateHelper

java.lang.Object
  extended by org.pentaho.platform.web.http.WebTemplateHelper
All Implemented Interfaces:
IUITemplater
Direct Known Subclasses:
ExtensionWebTemplateHelper

public class WebTemplateHelper
extends Object
implements IUITemplater


Constructor Summary
WebTemplateHelper()
           
 
Method Summary
 String[] breakTemplate(String templateName, String title, IPentahoSession session)
           
 String[] breakTemplateString(String template, String title, IPentahoSession session)
           
 String getMenuHtml(IPentahoSession session)
           
 String getTemplate(String templateName, IPentahoSession session)
           
 String processTemplate(String template, String title, IPentahoSession session)
           
 String processTemplate(String template, String title, String content, IPentahoSession session)
           
 void setHeaderContent(String headerContent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebTemplateHelper

public WebTemplateHelper()
Method Detail

setHeaderContent

public void setHeaderContent(String headerContent)
Specified by:
setHeaderContent in interface IUITemplater

processTemplate

public String processTemplate(String template,
                              String title,
                              String content,
                              IPentahoSession session)
Specified by:
processTemplate in interface IUITemplater

processTemplate

public String processTemplate(String template,
                              String title,
                              IPentahoSession session)
Specified by:
processTemplate in interface IUITemplater

getTemplate

public String getTemplate(String templateName,
                          IPentahoSession session)
Specified by:
getTemplate in interface IUITemplater

breakTemplate

public String[] breakTemplate(String templateName,
                              String title,
                              IPentahoSession session)
Specified by:
breakTemplate in interface IUITemplater

breakTemplateString

public String[] breakTemplateString(String template,
                                    String title,
                                    IPentahoSession session)
Specified by:
breakTemplateString in interface IUITemplater

getMenuHtml

public String getMenuHtml(IPentahoSession session)