com.atlassian.confluence.setup.webwork
Class ConfluenceVelocityContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
- All Implemented Interfaces:
- java.lang.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.
Method Summary |
java.util.Map<java.lang.String,java.lang.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(java.lang.Object key)
Deprecated. |
java.lang.Object |
internalGet(java.lang.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 |
ConfluenceVelocityContext
public ConfluenceVelocityContext()
- Deprecated.
internalGet
public java.lang.Object internalGet(java.lang.String key)
- Deprecated.
- Overrides:
internalGet
in class org.apache.velocity.VelocityContext
internalContainsKey
public boolean internalContainsKey(java.lang.Object key)
- Deprecated.
- Overrides:
internalContainsKey
in class org.apache.velocity.VelocityContext
getConfluenceKeys
public java.util.Map<java.lang.String,java.lang.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-2013 Atlassian. All Rights Reserved.