Liferay 6.0.5

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


Constructor Summary
VelocityEngineImpl()
           
 
Method Summary
 void flushTemplate(String resource)
           
 VelocityContext getEmptyContext()
           
 VelocityContext getRestrictedToolsContext()
           
 VelocityContext getStandardToolsContext()
           
 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

flushTemplate

public void flushTemplate(String resource)
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

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.0.5