org.apache.openejb.jee.oejb3
Class PropertiesAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Properties>
      extended by org.apache.openejb.jee.oejb3.PropertiesAdapter

public class PropertiesAdapter
extends XmlAdapter<String,Properties>

Version:
$Rev: 934317 $ $Date: 2010-04-15 00:39:43 -0700 (Thu, 15 Apr 2010) $

Constructor Summary
PropertiesAdapter()
           
 
Method Summary
 String marshal(Properties properties)
           
 Properties unmarshal(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesAdapter

public PropertiesAdapter()
Method Detail

unmarshal

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

marshal

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


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.