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
Modifier and TypeMethodDescriptionReturns the base full context impl.Returns the wrapped user context.Allows callers to explicitly put objects in the local context.
-
Method Details
-
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
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
-