org.jvnet.hyperjaxb3.xml.bind.annotation.adapters
Class DurationAsString
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Duration,String>
org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.DurationAsString
public class DurationAsString
- extends XmlAdapter<Duration,String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DurationAsString
public DurationAsString()
unmarshal
public String unmarshal(Duration duration)
throws Exception
- Specified by:
unmarshal in class XmlAdapter<Duration,String>
- Throws:
Exception
marshal
public Duration marshal(String duration)
throws Exception
- Specified by:
marshal in class XmlAdapter<Duration,String>
- Throws:
Exception
Copyright © 2005-2014. All Rights Reserved.