org.apache.openejb.config.typed.util
Class DurationAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
      extended by org.apache.openejb.config.typed.util.DurationAdapter

public class DurationAdapter
extends XmlAdapter<String,Duration>


Constructor Summary
DurationAdapter()
           
 
Method Summary
 String marshal(Duration v)
           
 Duration unmarshal(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DurationAdapter

public DurationAdapter()
Method Detail

unmarshal

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

marshal

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


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.