com.liferay.portal.kernel.velocity
Interface VelocityEngine
public interface VelocityEngine
View Source
- Author:
- Raymond Augé
flushTemplate
void flushTemplate(java.lang.String resource)
init
void init()
getEmptyContext
VelocityContext getEmptyContext()
getRestrictedToolsContext
VelocityContext getRestrictedToolsContext()
getStandardToolsContext
VelocityContext getStandardToolsContext()
getWrappedRestrictedToolsContext
VelocityContext getWrappedRestrictedToolsContext()
getWrappedStandardToolsContext
VelocityContext getWrappedStandardToolsContext()
mergeTemplate
boolean mergeTemplate(java.lang.String velocityTemplateId,
VelocityContext velocityContext,
java.io.Writer writer)
throws SystemException,
java.io.IOException
- Throws:
SystemException
java.io.IOException
mergeTemplate
boolean mergeTemplate(java.lang.String velocityTemplateId,
java.lang.String velocityTemplateContent,
VelocityContext velocityContext,
java.io.Writer writer)
throws SystemException,
java.io.IOException
- Throws:
SystemException
java.io.IOException
resourceExists
boolean resourceExists(java.lang.String resource)