com.liferay.portal.velocity
Class VelocityEngineImpl
java.lang.Object
com.liferay.portal.velocity.VelocityEngineImpl
- All Implemented Interfaces:
- VelocityEngine
public class VelocityEngineImpl
- extends Object
- implements VelocityEngine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityEngineImpl
public VelocityEngineImpl()
clearClassLoader
public void clearClassLoader(ClassLoader classLoader)
- Specified by:
clearClassLoader
in interface VelocityEngine
flushTemplate
public void flushTemplate(String velocityTemplateId)
- Specified by:
flushTemplate
in interface VelocityEngine
getEmptyContext
public VelocityContext getEmptyContext()
- Specified by:
getEmptyContext
in interface VelocityEngine
getRestrictedToolsContext
public VelocityContext getRestrictedToolsContext()
- Specified by:
getRestrictedToolsContext
in interface VelocityEngine
getStandardToolsContext
public VelocityContext getStandardToolsContext()
- Specified by:
getStandardToolsContext
in interface VelocityEngine
getTemplateControlContext
public TemplateControlContext getTemplateControlContext()
getWrappedClassLoaderToolsContext
public VelocityContext getWrappedClassLoaderToolsContext()
- Specified by:
getWrappedClassLoaderToolsContext
in interface VelocityEngine
getWrappedRestrictedToolsContext
public VelocityContext getWrappedRestrictedToolsContext()
- Specified by:
getWrappedRestrictedToolsContext
in interface VelocityEngine
getWrappedStandardToolsContext
public VelocityContext getWrappedStandardToolsContext()
- Specified by:
getWrappedStandardToolsContext
in interface VelocityEngine
init
public void init()
throws Exception
- Specified by:
init
in interface VelocityEngine
- Throws:
Exception
mergeTemplate
public boolean mergeTemplate(String velocityTemplateId,
String velocityTemplateContent,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Specified by:
mergeTemplate
in interface VelocityEngine
- Throws:
Exception
mergeTemplate
public boolean mergeTemplate(String velocityTemplateId,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Specified by:
mergeTemplate
in interface VelocityEngine
- Throws:
Exception
resourceExists
public boolean resourceExists(String resource)
- Specified by:
resourceExists
in interface VelocityEngine