org.gcube.common.scope.impl
Class ServiceMapAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,List<String>>>
      extended by org.gcube.common.scope.impl.ServiceMapAdapter

public class ServiceMapAdapter
extends XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,List<String>>>

Adapts the JAXB-binding for DefaultServiceMap.

Author:
Fabio Simeoni

Constructor Summary
ServiceMapAdapter()
           
 
Method Summary
 org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap marshal(Map<String,List<String>> map)
           
 Map<String,List<String>> unmarshal(org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap valueMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMapAdapter

public ServiceMapAdapter()
Method Detail

unmarshal

public Map<String,List<String>> unmarshal(org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap valueMap)
                                   throws Exception
Specified by:
unmarshal in class XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,List<String>>>
Throws:
Exception

marshal

public org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap marshal(Map<String,List<String>> map)
                                                                      throws Exception
Specified by:
marshal in class XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,List<String>>>
Throws:
Exception


Copyright © 2012. All Rights Reserved.