com.atlassian.confluence.setup.webwork
Class ConfluenceVelocityContext

java.lang.Object
  extended by org.apache.velocity.context.AbstractContext
      extended by org.apache.velocity.VelocityContext
          extended by com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
All Implemented Interfaces:
Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext

Deprecated. Since 3.0. Use ConfluenceVelocityManager.getConfluenceVelocityContext() instead.

@Deprecated
public class ConfluenceVelocityContext
extends org.apache.velocity.VelocityContext

A custom velocity context to return things we want to use in our Velocity templates.


Constructor Summary
ConfluenceVelocityContext()
          Deprecated.  
 
Method Summary
 Map<String,Object> getConfluenceKeys()
          Deprecated. This is only needed in MacroUtils at the moment - it's a bit of a hack, could be nicer - MCB
 boolean internalContainsKey(Object key)
          Deprecated.  
 Object internalGet(String key)
          Deprecated.  
 
Methods inherited from class org.apache.velocity.VelocityContext
clone, internalGetKeys, internalPut, internalRemove
 
Methods inherited from class org.apache.velocity.context.AbstractContext
containsKey, get, getChainedContext, getKeys, put, remove
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceVelocityContext

public ConfluenceVelocityContext()
Deprecated. 
Method Detail

internalGet

public Object internalGet(String key)
Deprecated. 
Overrides:
internalGet in class org.apache.velocity.VelocityContext

internalContainsKey

public boolean internalContainsKey(Object key)
Deprecated. 
Overrides:
internalContainsKey in class org.apache.velocity.VelocityContext

getConfluenceKeys

public Map<String,Object> getConfluenceKeys()
Deprecated. 
This is only needed in MacroUtils at the moment - it's a bit of a hack, could be nicer - MCB

Returns:
a map of the confluence keys


Copyright © 2003–2015 Atlassian. All rights reserved.