Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.util
Class FreeMarkerTemplateParser

java.lang.Object
  extended by com.liferay.portal.kernel.templateparser.BaseTemplateParser
      extended by com.liferay.portlet.journal.util.VelocityTemplateParser
          extended by com.liferay.portlet.journal.util.FreeMarkerTemplateParser
All Implemented Interfaces:
TemplateParser
Direct Known Subclasses:
FreeMarkerTemplateParser

public class FreeMarkerTemplateParser
extends VelocityTemplateParser


Constructor Summary
FreeMarkerTemplateParser()
           
 
Method Summary
protected  String getErrorTemplateContent()
           
protected  String getErrorTemplateId()
           
protected  String getJournalTemplatesPath()
           
protected  TemplateContext getTemplateContext()
           
protected  boolean mergeTemplate(TemplateContext templateContext, UnsyncStringWriter unsyncStringWriter)
           
 
Methods inherited from class com.liferay.portlet.journal.util.VelocityTemplateParser
getTemplateNodes, populateTemplateContext, stripCDATA
 
Methods inherited from class com.liferay.portal.kernel.templateparser.BaseTemplateParser
getArticleGroupId, getCompany, getCompanyGroupId, getCompanyId, getDevice, getGroupId, getLanguageId, getScopeGroupId, getScript, getTemplateId, getThemeDisplay, getTokens, getViewMode, getXML, insertRequestVariables, setContextObjects, setLanguageId, setScript, setThemeDisplay, setTokens, setViewMode, setXML, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeMarkerTemplateParser

public FreeMarkerTemplateParser()
Method Detail

getErrorTemplateContent

protected String getErrorTemplateContent()
Overrides:
getErrorTemplateContent in class VelocityTemplateParser

getErrorTemplateId

protected String getErrorTemplateId()
Overrides:
getErrorTemplateId in class VelocityTemplateParser

getJournalTemplatesPath

protected String getJournalTemplatesPath()
Overrides:
getJournalTemplatesPath in class VelocityTemplateParser

getTemplateContext

protected TemplateContext getTemplateContext()
Overrides:
getTemplateContext in class VelocityTemplateParser

mergeTemplate

protected boolean mergeTemplate(TemplateContext templateContext,
                                UnsyncStringWriter unsyncStringWriter)
                         throws Exception
Overrides:
mergeTemplate in class VelocityTemplateParser
Throws:
Exception

Liferay 6.1.2-ce-ga3