public class CompositeContext extends Object implements org.apache.velocity.context.Context
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.
public boolean containsKey(Object key)
containsKey
in interface org.apache.velocity.context.Context
public Object get(String key)
get
in interface org.apache.velocity.context.Context
public Object[] getKeys()
getKeys
in interface org.apache.velocity.context.Context
public Object put(String key, Object value)
put
in interface org.apache.velocity.context.Context
Copyright © 2003–2020 Atlassian. All rights reserved.