org.gcube.accounting.datamodel.serialization
Class PropertiesAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<AdaptedList,Map<String,List<String>>>
org.gcube.accounting.datamodel.serialization.PropertiesAdapter
public class PropertiesAdapter
- extends XmlAdapter<AdaptedList,Map<String,List<String>>>
The XmlAdapter class is responsible for converting
between instances of the unmappable and mappable classes. The value type is
the mappable class, and the bound type is the unmappable class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesAdapter
public PropertiesAdapter()
marshal
public AdaptedList marshal(Map<String,List<String>> arg0)
throws Exception
- Specified by:
marshal
in class XmlAdapter<AdaptedList,Map<String,List<String>>>
- Throws:
Exception
unmarshal
public Map<String,List<String>> unmarshal(AdaptedList arg0)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<AdaptedList,Map<String,List<String>>>
- Throws:
Exception
Copyright © 2014. All Rights Reserved.