com.xebialabs.deployit.core.api.jaxb
Class MapAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],java.util.Map<java.lang.String,java.lang.Object>>
      extended by com.xebialabs.deployit.core.api.jaxb.MapAdapter

public class MapAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],java.util.Map<java.lang.String,java.lang.Object>>


Constructor Summary
MapAdapter()
           
 
Method Summary
 MapElement[] marshal(java.util.Map<java.lang.String,java.lang.Object> map)
           
 java.util.Map<java.lang.String,java.lang.Object> unmarshal(MapElement[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapAdapter

public MapAdapter()
Method Detail

marshal

public MapElement[] marshal(java.util.Map<java.lang.String,java.lang.Object> map)
                     throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],java.util.Map<java.lang.String,java.lang.Object>>
Throws:
java.lang.Exception

unmarshal

public java.util.Map<java.lang.String,java.lang.Object> unmarshal(MapElement[] values)
                                                           throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<MapElement[],java.util.Map<java.lang.String,java.lang.Object>>
Throws:
java.lang.Exception