org.xwiki.velocity
Interface VelocityManager
@Role
public interface VelocityManager
Provides access to the main XWiki Velocity objects.
- Since:
- 1.5M2
- Version:
- $Id$
getVelocityContext
org.apache.velocity.VelocityContext getVelocityContext()
- Returns:
- the current Velocity Context retrieved from the Execution Context
getVelocityEngine
VelocityEngine getVelocityEngine()
throws XWikiVelocityException
- Get the current Velocity Engine or create one if none has been created.
- Returns:
- the current Velocity Engine retrieved from the Execution Context
- Throws:
XWikiVelocityException - if the Velocity Engine cannot be created
Copyright © 2004-2012 XWiki. All Rights Reserved.