InternalWrapperContext (Velocity 1.7 API)
Keywords: org.apache.velocity.context.InternalWrapperContext interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.velocity.context
Interface InternalWrapperContext

All Known Subinterfaces:
  InternalContextAdapter

All Known Implementing Classes:
  ChainedInternalContextAdapter, InternalContextAdapterImpl

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

    public Context getInternalUserContext()

  Returns the wrapped user context.

  Returns:
    The wrapped user context.

### getBaseContext

    public InternalContextAdapter getBaseContext()

  Returns the base full context impl.

  Returns:
    The base full context impl.

### localPut

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.