org.gcube.common.scope.impl
Class ServiceMapAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,List<String>>>
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceMapAdapter
public ServiceMapAdapter()
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.