com.eurotech.framework.core.configuration
Class XmlConfigPropertiesAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<XmlConfigPropertiesAdapted,Map<String,Object>>
com.eurotech.framework.core.configuration.XmlConfigPropertiesAdapter
public class XmlConfigPropertiesAdapter
- extends XmlAdapter<XmlConfigPropertiesAdapted,Map<String,Object>>
Helper class to serialize a set of properties in XML.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlConfigPropertiesAdapter
public XmlConfigPropertiesAdapter()
marshal
public XmlConfigPropertiesAdapted marshal(Map<String,Object> props)
throws Exception
- Specified by:
marshal
in class XmlAdapter<XmlConfigPropertiesAdapted,Map<String,Object>>
- Throws:
Exception
unmarshal
public Map<String,Object> unmarshal(XmlConfigPropertiesAdapted adaptedPropsAdapted)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<XmlConfigPropertiesAdapted,Map<String,Object>>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.