Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.velocity
Interface VelocityEngine

All Known Implementing Classes:
VelocityEngineImpl

public interface VelocityEngine


Method Summary
 void clearClassLoader(ClassLoader classLoader)
           
 void flushTemplate(String velocityTemplateId)
           
 VelocityContext getEmptyContext()
           
 VelocityContext getRestrictedToolsContext()
           
 VelocityContext getStandardToolsContext()
           
 VelocityContext getWrappedClassLoaderToolsContext()
           
 VelocityContext getWrappedRestrictedToolsContext()
           
 VelocityContext getWrappedStandardToolsContext()
           
 void init()
           
 boolean mergeTemplate(String velocityTemplateId, String velocityTemplateContent, VelocityContext velocityContext, Writer writer)
           
 boolean mergeTemplate(String velocityTemplateId, VelocityContext velocityContext, Writer writer)
           
 boolean resourceExists(String resource)
           
 

Method Detail

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)

Liferay 6.1.2-ce-ga3