Class 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 Detail

      • ServiceMapAdapter

        public ServiceMapAdapter()
    • Method Detail

      • 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