| org.apache.velocity.context.Context
All known Subclasses: org.apache.velocity.context.AbstractContext,
Method Summary | |
boolean | containsKey(Object key) Indicates whether the specified key is in the context.
Parameters: key - The key to look for. | Object | get(String key) Gets the value corresponding to the provided key from the context.
Parameters: key - The name of the desired value. | 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.
Parameters: key - The name to key the provided value with. Parameters: value - The corresponding value. | Object | remove(Object key) Removes the value associated with the specified key from the context.
Parameters: key - The name of the value to remove. |
containsKey | boolean containsKey(Object key)(Code) | | Indicates whether the specified key is in the context.
Parameters: key - The key to look for. Whether the key is in the context. |
get | Object get(String key)(Code) | | Gets the value corresponding to the provided key from the context.
Parameters: key - The name of the desired value. The value corresponding to the provided key. |
getKeys | Object[] getKeys()(Code) | | Get all the keys for the values in the context.
All the keys for the values in the context. |
put | Object put(String key, Object value)(Code) | | Adds a name/value pair to the context.
Parameters: key - The name to key the provided value with. Parameters: value - The corresponding value. The old object or null if there was no old object. |
remove | Object remove(Object key)(Code) | | Removes the value associated with the specified key from the context.
Parameters: key - The name of the value to remove. The value that the key was mapped to, or null if unmapped. |
|
|