org.apache.openejb.jee
Class TimeUnitAdapter

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

public class TimeUnitAdapter
extends XmlAdapter<String,TimeUnit>

Version:
$Rev:$ $Date:$

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

Constructor Detail

TimeUnitAdapter

public TimeUnitAdapter()
Method Detail

unmarshal

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

marshal

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


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