com.xpn.xwiki.render
Class DefaultVelocityManager

java.lang.Object
  extended by com.xpn.xwiki.render.DefaultVelocityManager
All Implemented Interfaces:
Composable, VelocityManager

public class DefaultVelocityManager
extends java.lang.Object
implements VelocityManager, Composable

Note: This class should be moved to the Velocity module. However this is not possible right now since we need to populate the Velocity Context with XWiki objects that are located in the Core (such as the XWiki object for example) and since the Core needs to call the Velocity module this would cause a circular dependency.

Since:
1.5M1
Version:
$Id: DefaultVelocityManager.java 11468 2008-07-25 16:56:37Z vmassol $

Field Summary
 
Fields inherited from interface org.xwiki.velocity.VelocityManager
ROLE
 
Constructor Summary
DefaultVelocityManager()
           
 
Method Summary
 void compose(ComponentManager componentManager)
          
 org.apache.velocity.VelocityContext getVelocityContext()
           
 VelocityEngine getVelocityEngine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVelocityManager

public DefaultVelocityManager()
Method Detail

compose

public void compose(ComponentManager componentManager)

Specified by:
compose in interface Composable
See Also:
Composable.compose(ComponentManager)

getVelocityContext

public org.apache.velocity.VelocityContext getVelocityContext()
Specified by:
getVelocityContext in interface VelocityManager

getVelocityEngine

public VelocityEngine getVelocityEngine()
                                 throws XWikiVelocityException
Specified by:
getVelocityEngine in interface VelocityManager
Throws:
XWikiVelocityException


Copyright © 2004-2008 XWiki. All Rights Reserved.