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 $
Author:
Geir Magnusson Jr.

Method Summary
 InternalContextAdapter getBaseContext()
          Returns the base full context impl.
 Context getInternalUserContext()
          Returns the wrapped user context.
 Object localPut(String key, 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

Object localPut(String key,
                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


Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.