Package org.apache.velocity.context
Interface InternalWrapperContext
-
- All Known Subinterfaces:
InternalContextAdapter
- All Known Implementing Classes:
ChainedInternalContextAdapter,InternalContextAdapterImpl
public interface InternalWrapperContextinterface for internal context wrapping functionality- Version:
- $Id$
- Author:
- Geir Magnusson Jr.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsKey(String key)Tests if the key exists in the specified scopeObjectget(String key)Retrieve the specified valuefrom the given key.InternalContextAdaptergetBaseContext()Returns the base full context impl.ContextgetInternalUserContext()Returns the wrapped user context.Objectput(String key, Object value)Place a key value pair into the context.
-
-
-
Method Detail
-
getInternalUserContext
Context getInternalUserContext()
Returns the wrapped user context.- Returns:
- The wrapped user context.
-
getBaseContext
InternalContextAdapter getBaseContext()
Returns the base full context impl.- Returns:
- The base full context impl.
-
put
Object put(String key, Object value)
Place a key value pair into the context.- Parameters:
key-value-- Returns:
- previous value
-
get
Object get(String key)
Retrieve the specified valuefrom the given key.- Parameters:
key-- Returns:
- found value
-
containsKey
boolean containsKey(String key)
Tests if the key exists in the specified scope- Parameters:
key-- Returns:
- true if key exists
-
-