public class

CompositeContext

extends Object
implements Context
java.lang.Object
   ↳ com.atlassian.confluence.setup.webwork.CompositeContext

Class Overview

Simple immutable composite Velocity Context implementation that delegates to a collection of other contexts. The order of the contexts is important as it checks them in iteration order.

Note: If passed to Velocity it should be wrapped in a VelocityContext or other chained context that keeps its own local map for mutability as Velocity likes to put(String, Object) stuff in the passed in context.

Summary

Public Methods
boolean containsKey(Object key)
Object get(String key)
Object[] getKeys()
Union of all keys for all contexts.
Object put(String key, Object value)
Object remove(Object key)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.velocity.context.Context

Public Methods

public boolean containsKey (Object key)

public Object get (String key)

public Object[] getKeys ()

Union of all keys for all contexts.

public Object put (String key, Object value)

public Object remove (Object key)