intarsys runtime library

de.intarsys.tools.jaxb
Class PropertiesAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Properties,Map<String,String>>
      extended by de.intarsys.tools.jaxb.PropertiesAdapter

public class PropertiesAdapter
extends XmlAdapter<Properties,Map<String,String>>


Constructor Summary
PropertiesAdapter()
           
 
Method Summary
 Properties marshal(Map<String,String> map)
           
 Map<String,String> unmarshal(Properties properties)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesAdapter

public PropertiesAdapter()
Method Detail

marshal

public Properties marshal(Map<String,String> map)
                   throws Exception
Specified by:
marshal in class XmlAdapter<Properties,Map<String,String>>
Throws:
Exception

unmarshal

public Map<String,String> unmarshal(Properties properties)
                             throws Exception
Specified by:
unmarshal in class XmlAdapter<Properties,Map<String,String>>
Throws:
Exception

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.