org.kuali.rice.kew.framework.actionlist
Class MapStringActionItemCustomizationAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[],Map<String,ActionItemCustomization>>
      extended by org.kuali.rice.kew.framework.actionlist.MapStringActionItemCustomizationAdapter

public class MapStringActionItemCustomizationAdapter
extends XmlAdapter<MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[],Map<String,ActionItemCustomization>>

Do jax-ws mapping of Map for KIM service method parameters, etc.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
static class MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry
           
 
Constructor Summary
MapStringActionItemCustomizationAdapter()
           
 
Method Summary
 MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[] marshal(Map<String,ActionItemCustomization> map)
          converts the map to an array
 Map<String,ActionItemCustomization> unmarshal(MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[] entryArray)
          converts the array back to a map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapStringActionItemCustomizationAdapter

public MapStringActionItemCustomizationAdapter()
Method Detail

marshal

public MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[] marshal(Map<String,ActionItemCustomization> map)
                                                                                        throws Exception
converts the map to an array

Specified by:
marshal in class XmlAdapter<MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[],Map<String,ActionItemCustomization>>
Throws:
Exception
See Also:
XmlAdapter.marshal(java.lang.Object)

unmarshal

public Map<String,ActionItemCustomization> unmarshal(MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[] entryArray)
                                              throws Exception
converts the array back to a map

Specified by:
unmarshal in class XmlAdapter<MapStringActionItemCustomizationAdapter.StringActionItemCustomizationMapEntry[],Map<String,ActionItemCustomization>>
Throws:
Exception
See Also:
XmlAdapter.unmarshal(java.lang.Object)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.