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,String>>
org.gcube.common.scope.impl.ServiceMapAdapter
public class ServiceMapAdapter
- extends XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,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,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,String>>
- Throws:
Exception
marshal
public org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap marshal(Map<String,String> map)
throws Exception
- Specified by:
marshal in class XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,String>>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.