Liferay 6.2.0-ce-m3

com.liferay.portal.template
Class RestrictedTemplate

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

public class RestrictedTemplate
extends Object
implements Template


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.templateparser.TemplateContext
WRITER
 
Constructor Summary
RestrictedTemplate(Template template, Set<String> restrictedVariables)
           
 
Method Summary
 Object get(String key)
           
 void prepare(javax.servlet.http.HttpServletRequest request)
           
 boolean 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 TemplateContext

prepare

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

processTemplate

public boolean 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 TemplateContext

Liferay 6.2.0-ce-m3