org.xwiki.velocity
Interface VelocityManager
@Role
public interface VelocityManager
Provides access to the main XWiki Velocity objects.
- Since:
- 1.5M2
- Version:
- $Id: 39a46ef0e150751897b6c72bee96233e1f64b789 $
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-2013 XWiki. All Rights Reserved.