com.opensymphony.webwork.views.jasperreports
Class OgnlValueStackShadowMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bycom.opensymphony.webwork.views.jasperreports.OgnlValueStackShadowMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public class OgnlValueStackShadowMap
extends HashMap

Ported to WebWork2:

Version:
$Id: OgnlValueStackShadowMap.java,v 1.3 2004/06/18 19:30:00 plightbo Exp $
Author:
<a href="hermanns@aixcept.de">Rainer Hermanns</a>
See Also:
Serialized Form

Constructor Summary
OgnlValueStackShadowMap(com.opensymphony.xwork.util.OgnlValueStack valueStack)
          Constructs an instance of OgnlValueStackShadowMap.
 
Method Summary
 boolean containsKey(Object key)
          Implementation of containsKey(), overriding HashMap implementation.
 Object get(Object key)
          Implementation of get(), overriding HashMap implementation.
 
Methods inherited from class java.util.HashMap
clear, clone, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

OgnlValueStackShadowMap

public OgnlValueStackShadowMap(com.opensymphony.xwork.util.OgnlValueStack valueStack)
Constructs an instance of OgnlValueStackShadowMap.

Parameters:
valueStack - - the underlying valuestack
Method Detail

containsKey

public boolean containsKey(Object key)
Implementation of containsKey(), overriding HashMap implementation.

Parameters:
key - - The key to check in HashMap and if not found to check on valueStack.
Returns:
true, if conatins key, false otherwise.
See Also:
HashMap.containsKey(java.lang.Object)

get

public Object get(Object key)
Implementation of get(), overriding HashMap implementation.

Parameters:
key - - The key to get in HashMap and if not found there from the valueStack.
Returns:
value - The object from HashMap or if null, from the valueStack.
See Also:
HashMap.get(java.lang.Object)

WebWork Project Page