Package org.apache.velocity.context
Interface InternalWrapperContext
-
- All Known Subinterfaces:
InternalContextAdapter
- All Known Implementing Classes:
ChainedInternalContextAdapter
,EvaluateContext
,Foreach.NullHolderContext
,InternalContextAdapterImpl
,ProxyVMContext
public interface InternalWrapperContext
interface for internal context wrapping functionality- Version:
- $Id: InternalWrapperContext.java 471908 2006-11-06 22:39:28Z henning $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalContextAdapter
getBaseContext()
Returns the base full context impl.Context
getInternalUserContext()
Returns the wrapped user context.java.lang.Object
localPut(java.lang.String key, java.lang.Object value)
Allows callers to explicitly put objects in the local 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.
-
localPut
java.lang.Object localPut(java.lang.String key, java.lang.Object value)
Allows callers to explicitly put objects in the local context. Objects added to the context through this method always end up in the top-level context of possible wrapped contexts.- Parameters:
key
- name of item to set.value
- object to set to key.- Returns:
- old stored object
-
-