com.liferay.portal.kernel.velocity
Interface VelocityEngine
- All Known Implementing Classes:
- VelocityEngineImpl
public interface VelocityEngine
clearClassLoader
void clearClassLoader(ClassLoader classLoader)
flushTemplate
void flushTemplate(String velocityTemplateId)
getEmptyContext
VelocityContext getEmptyContext()
getRestrictedToolsContext
VelocityContext getRestrictedToolsContext()
getStandardToolsContext
VelocityContext getStandardToolsContext()
getWrappedClassLoaderToolsContext
VelocityContext getWrappedClassLoaderToolsContext()
getWrappedRestrictedToolsContext
VelocityContext getWrappedRestrictedToolsContext()
getWrappedStandardToolsContext
VelocityContext getWrappedStandardToolsContext()
init
void init()
throws Exception
- Throws:
Exception
mergeTemplate
boolean mergeTemplate(String velocityTemplateId,
String velocityTemplateContent,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Throws:
Exception
mergeTemplate
boolean mergeTemplate(String velocityTemplateId,
VelocityContext velocityContext,
Writer writer)
throws Exception
- Throws:
Exception
resourceExists
boolean resourceExists(String resource)