org.gcube.accounting.datamodel.adapter
Class FiltersAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<AdapterFilterList,Map<String,List<String>>>
      extended by org.gcube.accounting.datamodel.adapter.FiltersAdapter

public class FiltersAdapter
extends XmlAdapter<AdapterFilterList,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
FiltersAdapter()
           
 
Method Summary
 AdapterFilterList marshal(Map<String,List<String>> arg0)
           
 Map<String,List<String>> unmarshal(AdapterFilterList arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FiltersAdapter

public FiltersAdapter()
Method Detail

marshal

public AdapterFilterList marshal(Map<String,List<String>> arg0)
                          throws Exception
Specified by:
marshal in class XmlAdapter<AdapterFilterList,Map<String,List<String>>>
Throws:
Exception

unmarshal

public Map<String,List<String>> unmarshal(AdapterFilterList arg0)
                                   throws Exception
Specified by:
unmarshal in class XmlAdapter<AdapterFilterList,Map<String,List<String>>>
Throws:
Exception


Copyright © 2013. All Rights Reserved.