com.liferay.portal.velocity
Class VelocityManager
java.lang.Object
com.liferay.portal.velocity.VelocityManager
- All Implemented Interfaces:
- TemplateManager
public class VelocityManager
- extends Object
- implements TemplateManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityManager
public VelocityManager()
destroy
public void destroy()
- Specified by:
destroy in interface TemplateManager
destroy
public void destroy(ClassLoader classLoader)
- Specified by:
destroy in interface TemplateManager
getName
public String getName()
- Specified by:
getName in interface TemplateManager
getTemplate
public Template getTemplate(TemplateResource templateResource,
TemplateContextType templateContextType)
- Specified by:
getTemplate in interface TemplateManager
getTemplate
public Template getTemplate(TemplateResource templateResource,
TemplateResource errorTemplateResource,
TemplateContextType templateContextType)
- Specified by:
getTemplate in interface TemplateManager
init
public void init()
throws TemplateException
- Specified by:
init in interface TemplateManager
- Throws:
TemplateException
setTemplateContextHelper
public void setTemplateContextHelper(TemplateContextHelper templateContextHelper)