eu.etaxonomy.cdm.jaxb
Class PartialAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,org.joda.time.Partial>
      extended by eu.etaxonomy.cdm.jaxb.PartialAdapter

public class PartialAdapter
extends XmlAdapter<String,org.joda.time.Partial>


Field Summary
protected static Pattern PATTERN
           
 
Constructor Summary
PartialAdapter()
           
 
Method Summary
 String marshal(org.joda.time.Partial partial)
           
 org.joda.time.Partial unmarshal(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATTERN

protected static Pattern PATTERN
Constructor Detail

PartialAdapter

public PartialAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2007-2013 EDIT. All Rights Reserved.