net.sf.mmm.util.xml.base.jaxb
Class XmlAdapterProperties

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<PropertyList,Properties>
      extended by net.sf.mmm.util.xml.base.jaxb.XmlAdapterProperties

public class XmlAdapterProperties
extends javax.xml.bind.annotation.adapters.XmlAdapter<PropertyList,Properties>

This is an implementation of XmlAdapter for mapping Properties. It uses a PropertyList as JAXB mappable object.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
XmlAdapterProperties()
          The constructor.
 
Method Summary
 PropertyList marshal(Properties properties)
          
 Properties unmarshal(PropertyList propertyList)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlAdapterProperties

public XmlAdapterProperties()
The constructor.

Method Detail

marshal

public PropertyList marshal(Properties properties)
                     throws Exception

Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<PropertyList,Properties>
Throws:
Exception

unmarshal

public Properties unmarshal(PropertyList propertyList)
                     throws Exception

Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<PropertyList,Properties>
Throws:
Exception


Copyright © 2001-2010 mmm-Team. All Rights Reserved.