Class ServiceMapAdapter

java.lang.Object
jakarta.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 jakarta.xml.bind.annotation.adapters.XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,String>>
Adapts the JAXB-binding for DefaultServiceMap.
Author:
Fabio Simeoni
  • Constructor Details

    • ServiceMapAdapter

      public ServiceMapAdapter()
  • Method Details

    • unmarshal

      public Map<String,String> unmarshal(org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap valueMap) throws Exception
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.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 jakarta.xml.bind.annotation.adapters.XmlAdapter<org.gcube.common.scope.impl.ServiceMapAdapter.ValueServiceMap,Map<String,String>>
      Throws:
      Exception