Class MapWrapper<K,​V>


  • public class MapWrapper<K,​V>
    extends BaseWrapper<Map<K,​V>>
    A wrapper for marshalling a map value via JAXB.
    Since:
    1.0.0
    Version:
    $Id: MapWrapper.java 16154 2012-07-14 16:34:05Z colin $
    Author:
    tlerios@marketcetera.com
    • Constructor Detail

      • MapWrapper

        public MapWrapper​(Map<K,​V> map)
        Creates a new wrapper for the given map.
        Parameters:
        map - The map, which may be null.
      • MapWrapper

        protected MapWrapper()
        Creates a new wrapper. This empty constructor is intended for use by JAXB.
    • Method Detail

      • setMap

        public void setMap​(Map<K,​V> map)
        Sets the receiver's map to the given one.
        Parameters:
        map - The map, which may be null.
      • getMap

        public Map<K,​V> getMap()
        Returns the receiver's map.
        Returns:
        The map, which may be null.