Class BaseAttributeMap<K,V>

java.lang.Object
com.webmethods.caf.faces.context.BaseAttributeMap<K,V>
All Implemented Interfaces:
Map<K,V>
Direct Known Subclasses:
PortletFacesContext.PortletExternalContext.ApplicationAttributeMap, PortletFacesContext.PortletExternalContext.PortletInitParameterMap, PortletFacesContext.PortletExternalContext.RequestAttributeMap, PortletFacesContext.PortletExternalContext.RequestHeaderMap, PortletFacesContext.PortletExternalContext.RequestHeaderValuesMap, PortletFacesContext.PortletExternalContext.RequestParameterMap, PortletFacesContext.PortletExternalContext.RequestParameterValuesMap, PortletFacesContext.PortletExternalContext.SessionAttributeMap, PortletFacesContext.PortletExternalContext.WebAppInitParameterMap

public abstract class BaseAttributeMap<K,V> extends Object implements Map<K,V>
Base class for adapting property bags like ServletContext attributes to the Map interface.
  • Constructor Details

    • BaseAttributeMap

      public BaseAttributeMap()
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface Map<K,V>
    • clear

      public void clear()
      Specified by:
      clear in interface Map<K,V>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Map<K,V>
    • containsKey

      public boolean containsKey(Object key)
      Specified by:
      containsKey in interface Map<K,V>
    • containsValue

      public boolean containsValue(Object value)
      Specified by:
      containsValue in interface Map<K,V>
    • values

      public Collection<V> values()
      Specified by:
      values in interface Map<K,V>
    • putAll

      public void putAll(Map<? extends K,? extends V> t)
      Specified by:
      putAll in interface Map<K,V>
    • entrySet

      public Set<Map.Entry<K,V>> entrySet()
      Specified by:
      entrySet in interface Map<K,V>
    • toString

      public String toString()
      Returns a string representation of this map. The string representation consists of a list of key-value mappings in the order returned by the map's entrySet view's iterator, enclosed in braces ("{}"). Adjacent mappings are separated by the characters ", " (comma and space). Each key-value mapping is rendered as the key followed by an equals sign ("=") followed by the associated value. Keys and values are converted to strings as by String.valueOf(Object).
      Overrides:
      toString in class Object
      Returns:
      a string representation of this map