org.apache.commons.jexl.context
Class HashMapContext
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--org.apache.commons.jexl.context.HashMapContext
- All Implemented Interfaces:
- Cloneable, JexlContext, Map, Serializable
- public class HashMapContext
- extends HashMap
- implements JexlContext
Implementation of JexlContext based on a HashMap.
- Since:
- 1.0
- Version:
- $Id: HashMapContext.java 397116 2006-04-26 07:01:33Z dion $
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
HashMapContext
public HashMapContext()
setVars
public void setVars(Map vars)
- {@inheritDoc}
- Specified by:
setVars
in interface JexlContext
- Following copied from interface:
org.apache.commons.jexl.JexlContext
- Parameters:
vars
- Contents of vars will be replaced with the content
of this Map
getVars
public Map getVars()
- {@inheritDoc}
- Specified by:
getVars
in interface JexlContext
- Following copied from interface:
org.apache.commons.jexl.JexlContext
- Returns:
- A reference to the variable Map associated with this JexlContext.
Copyright © 2003-2006 The Apache Software Foundation. All Rights Reserved.