org.gcube.accounting.datamodel.serialization
Class PropertiesAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<AdaptedList,Map<String,List<String>>>
      extended by 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.


Constructor Summary
PropertiesAdapter()
           
 
Method Summary
 AdaptedList marshal(Map<String,List<String>> arg0)
           
 Map<String,List<String>> unmarshal(AdaptedList arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesAdapter

public PropertiesAdapter()
Method Detail

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.