com.liferay.portal.velocity
Class VelocityEngineImpl
java.lang.Object
com.liferay.portal.velocity.VelocityEngineImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.velocity.VelocityEngine
public class VelocityEngineImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.velocity.VelocityEngine
View Source
- Author:
- Raymond Augé
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityEngineImpl
public VelocityEngineImpl()
flushTemplate
public void flushTemplate(java.lang.String resource)
- Specified by:
flushTemplate
in interface com.liferay.portal.kernel.velocity.VelocityEngine
getEmptyContext
public com.liferay.portal.kernel.velocity.VelocityContext getEmptyContext()
- Specified by:
getEmptyContext
in interface com.liferay.portal.kernel.velocity.VelocityEngine
getRestrictedToolsContext
public com.liferay.portal.kernel.velocity.VelocityContext getRestrictedToolsContext()
- Specified by:
getRestrictedToolsContext
in interface com.liferay.portal.kernel.velocity.VelocityEngine
getStandardToolsContext
public com.liferay.portal.kernel.velocity.VelocityContext getStandardToolsContext()
- Specified by:
getStandardToolsContext
in interface com.liferay.portal.kernel.velocity.VelocityEngine
getWrappedRestrictedToolsContext
public com.liferay.portal.kernel.velocity.VelocityContext getWrappedRestrictedToolsContext()
- Specified by:
getWrappedRestrictedToolsContext
in interface com.liferay.portal.kernel.velocity.VelocityEngine
getWrappedStandardToolsContext
public com.liferay.portal.kernel.velocity.VelocityContext getWrappedStandardToolsContext()
- Specified by:
getWrappedStandardToolsContext
in interface com.liferay.portal.kernel.velocity.VelocityEngine
init
public void init()
- Specified by:
init
in interface com.liferay.portal.kernel.velocity.VelocityEngine
mergeTemplate
public boolean mergeTemplate(java.lang.String velocityTemplateId,
com.liferay.portal.kernel.velocity.VelocityContext velocityContext,
java.io.Writer writer)
throws com.liferay.portal.SystemException,
java.io.IOException
- Specified by:
mergeTemplate
in interface com.liferay.portal.kernel.velocity.VelocityEngine
- Throws:
com.liferay.portal.SystemException
java.io.IOException
mergeTemplate
public boolean mergeTemplate(java.lang.String velocityTemplateId,
java.lang.String velocityTemplateContent,
com.liferay.portal.kernel.velocity.VelocityContext velocityContext,
java.io.Writer writer)
throws com.liferay.portal.SystemException,
java.io.IOException
- Specified by:
mergeTemplate
in interface com.liferay.portal.kernel.velocity.VelocityEngine
- Throws:
com.liferay.portal.SystemException
java.io.IOException
resourceExists
public boolean resourceExists(java.lang.String resource)
- Specified by:
resourceExists
in interface com.liferay.portal.kernel.velocity.VelocityEngine