Liferay 6.0.5

com.liferay.portlet.journal.util
Class BaseTemplateParser

java.lang.Object
  extended by com.liferay.portlet.journal.util.BaseTemplateParser
All Implemented Interfaces:
TemplateParser
Direct Known Subclasses:
VelocityTemplateParser, XSLTemplateParser

public abstract class BaseTemplateParser
extends Object
implements TemplateParser


Constructor Summary
BaseTemplateParser()
           
 
Method Summary
protected  String doTransform(ThemeDisplay themeDisplay, Map<String,String> tokens, String viewMode, String languageId, String xml, String script)
           
 String transform(ThemeDisplay themeDisplay, Map<String,String> tokens, String viewMode, String languageId, String xml, String script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTemplateParser

public BaseTemplateParser()
Method Detail

transform

public String transform(ThemeDisplay themeDisplay,
                        Map<String,String> tokens,
                        String viewMode,
                        String languageId,
                        String xml,
                        String script)
                 throws TransformException
Specified by:
transform in interface TemplateParser
Throws:
TransformException

doTransform

protected String doTransform(ThemeDisplay themeDisplay,
                             Map<String,String> tokens,
                             String viewMode,
                             String languageId,
                             String xml,
                             String script)
                      throws Exception
Throws:
Exception

Liferay 6.0.5