Liferay 6.2-ce-ga5

com.liferay.portal.freemarker
Class FreeMarkerTemplate

java.lang.Object
  extended by com.liferay.portal.template.AbstractTemplate
      extended by com.liferay.portal.freemarker.FreeMarkerTemplate
All Implemented Interfaces:
Template

public class FreeMarkerTemplate
extends AbstractTemplate


Field Summary
 
Fields inherited from class com.liferay.portal.template.AbstractTemplate
context, errorTemplateResource, templateResource
 
Constructor Summary
FreeMarkerTemplate(TemplateResource templateResource, TemplateResource errorTemplateResource, Map<String,Object> context, freemarker.template.Configuration configuration, TemplateContextHelper templateContextHelper, boolean privileged)
           
 
Method Summary
protected  void handleException(Exception exception, Writer writer)
           
protected  void processTemplate(TemplateResource templateResource, Writer writer)
           
 
Methods inherited from class com.liferay.portal.template.AbstractTemplate
get, getKeys, getTemplateResourceUUID, prepare, processTemplate, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeMarkerTemplate

public FreeMarkerTemplate(TemplateResource templateResource,
                          TemplateResource errorTemplateResource,
                          Map<String,Object> context,
                          freemarker.template.Configuration configuration,
                          TemplateContextHelper templateContextHelper,
                          boolean privileged)
Method Detail

handleException

protected void handleException(Exception exception,
                               Writer writer)
                        throws TemplateException
Specified by:
handleException in class AbstractTemplate
Throws:
TemplateException

processTemplate

protected void processTemplate(TemplateResource templateResource,
                               Writer writer)
                        throws Exception
Specified by:
processTemplate in class AbstractTemplate
Throws:
Exception

Liferay 6.2-ce-ga5