org.apache.struts2.views.jasperreports
Class ValueStackShadowMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.struts2.views.jasperreports.ValueStackShadowMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class ValueStackShadowMap
extends java.util.HashMap

Ported to Struts:

See Also:
Serialized Form

Constructor Summary
ValueStackShadowMap(com.opensymphony.xwork2.util.ValueStack valueStack)
          Constructs an instance of ValueStackShadowMap.
 
Method Summary
 boolean containsKey(java.lang.Object key)
          Implementation of containsKey(), overriding HashMap implementation.
 java.lang.Object get(java.lang.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

ValueStackShadowMap

public ValueStackShadowMap(com.opensymphony.xwork2.util.ValueStack valueStack)
Constructs an instance of ValueStackShadowMap.

Parameters:
valueStack - - the underlying valuestack
Method Detail

containsKey

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

Specified by:
containsKey in interface java.util.Map
Overrides:
containsKey in class java.util.HashMap
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 java.lang.Object get(java.lang.Object key)
Implementation of get(), overriding HashMap implementation.

Specified by:
get in interface java.util.Map
Overrides:
get in class java.util.HashMap
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)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.