org.apache.velocity.context
public interface Context
Version: $Id: Context.java,v 1.5.4.1 2004/03/03 23:22:54 geirm Exp $
See Also: AbstractContext
Method Summary | |
---|---|
boolean | containsKey(Object key)
Indicates whether the specified key is in the context.
|
Object | get(String key)
Gets the value corresponding to the provided key from the context.
|
Object[] | getKeys()
Get all the keys for the values in the context |
Object | put(String key, Object value)
Adds a name/value pair to the context.
|
Object | remove(Object key)
Removes the value associated with the specified key from the context.
|
Parameters: key The key to look for.
Returns: Whether the key is in the context.
Parameters: key The name of the desired value.
Returns: The value corresponding to the provided key.
Parameters: key The name to key the provided value with. value The corresponding value.
Parameters: key The name of the value to remove.
Returns: The value that the key was mapped to, or null
if unmapped.