Package 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$
- Author:
- Geir Magnusson Jr.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) Tests if the key exists in the specified scopeRetrieve the specified valuefrom the given key.Returns the base full context impl.Returns the wrapped user context.Place a key value pair into the 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.
-
put
Place a key value pair into the context.- Parameters:
key
-value
-- Returns:
- previous value
-
get
Retrieve the specified valuefrom the given key.- Parameters:
key
-- Returns:
- found value
-
containsKey
Tests if the key exists in the specified scope- Parameters:
key
-- Returns:
- true if key exists
-