Class ValueStackShadowMap

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

public class ValueStackShadowMap extends HashMap<String,Object>
Ported to Struts:
See Also:
  • Constructor Details

    • ValueStackShadowMap

      public ValueStackShadowMap(ValueStack valueStack)
      Constructs an instance of ValueStackShadowMap.
      Parameters:
      valueStack - - the underlying valuestack
  • Method Details

    • containsKey

      public boolean containsKey(String 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 contains key, false otherwise.
      See Also:
    • get

      public Object get(String 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: