Liferay 6.1.2-ce-ga3

com.liferay.portal.velocity
Class VelocityEngineImpl

java.lang.Object
  extended by com.liferay.portal.velocity.VelocityEngineImpl
All Implemented Interfaces:
VelocityEngine

public class VelocityEngineImpl
extends Object
implements VelocityEngine


Nested Class Summary
static interface VelocityEngineImpl.PACL
           
 
Constructor Summary
VelocityEngineImpl()
           
 
Method Summary
 void clearClassLoader(ClassLoader classLoader)
           
 void flushTemplate(String velocityTemplateId)
           
 VelocityContext getEmptyContext()
           
 VelocityContext getRestrictedToolsContext()
           
 VelocityContext getStandardToolsContext()
           
 TemplateControlContext getTemplateControlContext()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityEngineImpl

public VelocityEngineImpl()
Method Detail

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

Liferay 6.1.2-ce-ga3