no.digipost.api.client.representations.xml
Class DateTimeXmlAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,org.joda.time.DateTime>
      extended by no.digipost.api.client.representations.xml.DateTimeXmlAdapter

public class DateTimeXmlAdapter
extends XmlAdapter<String,org.joda.time.DateTime>


Constructor Summary
DateTimeXmlAdapter()
           
 
Method Summary
 String marshal(org.joda.time.DateTime v)
           
 org.joda.time.DateTime unmarshal(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeXmlAdapter

public DateTimeXmlAdapter()
Method Detail

marshal

public String marshal(org.joda.time.DateTime v)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,org.joda.time.DateTime>
Throws:
Exception

unmarshal

public org.joda.time.DateTime unmarshal(String s)
                                 throws Exception
Specified by:
unmarshal in class XmlAdapter<String,org.joda.time.DateTime>
Throws:
Exception


Copyright © 2012 Digipost Open Source. All Rights Reserved.