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