com.liferay.portlet.journal.util
Class BaseTemplateParser
java.lang.Object
com.liferay.portlet.journal.util.BaseTemplateParser
- All Implemented Interfaces:
- TemplateParser
- Direct Known Subclasses:
- VelocityTemplateParser, XSLTemplateParser
public abstract class BaseTemplateParser
- extends Object
- implements TemplateParser
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 |
BaseTemplateParser
public BaseTemplateParser()
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