org.apache.openejb.config.sys
Class PropertiesAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Properties>
org.apache.openejb.config.sys.PropertiesAdapter
public class PropertiesAdapter
- extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Properties>
Converts a java.util.Properties object to a String in the XML file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesAdapter
public PropertiesAdapter()
unmarshal
public Properties unmarshal(String s)
throws Exception
- Specified by:
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Properties>
- Throws:
Exception
marshal
public String marshal(Properties properties)
throws Exception
- Specified by:
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Properties>
- Throws:
Exception
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.