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

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

public class DateXmlAdapter
extends XmlAdapter<String,org.joda.time.LocalDate>


Constructor Summary
DateXmlAdapter()
           
 
Method Summary
 String marshal(org.joda.time.LocalDate date)
           
 org.joda.time.LocalDate unmarshal(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateXmlAdapter

public DateXmlAdapter()
Method Detail

unmarshal

public org.joda.time.LocalDate unmarshal(String value)
Specified by:
unmarshal in class XmlAdapter<String,org.joda.time.LocalDate>

marshal

public String marshal(org.joda.time.LocalDate date)
Specified by:
marshal in class XmlAdapter<String,org.joda.time.LocalDate>


Copyright © 2012 Digipost Open Source. All Rights Reserved.