Liferay 6.2-ce-ga5

com.liferay.portal.template
Class RestrictedTemplate

java.lang.Object
  extended by com.liferay.portal.template.RestrictedTemplate
All Implemented Interfaces:
Template

public class RestrictedTemplate
extends Object
implements Template


Constructor Summary
RestrictedTemplate(Template template, Set<String> restrictedVariables)
           
 
Method Summary
 Object get(String key)
           
 String[] getKeys()
           
 void prepare(javax.servlet.http.HttpServletRequest request)
           
 void processTemplate(Writer writer)
           
 void put(String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictedTemplate

public RestrictedTemplate(Template template,
                          Set<String> restrictedVariables)
Method Detail

get

public Object get(String key)
Specified by:
get in interface Template

getKeys

public String[] getKeys()
Specified by:
getKeys in interface Template

prepare

public void prepare(javax.servlet.http.HttpServletRequest request)
Specified by:
prepare in interface Template

processTemplate

public void processTemplate(Writer writer)
                     throws TemplateException
Specified by:
processTemplate in interface Template
Throws:
TemplateException

put

public void put(String key,
                Object value)
Specified by:
put in interface Template

Liferay 6.2-ce-ga5