org.openestate.io.kyero.xml.Adapter6 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IO-Kyero Show documentation
Show all versions of OpenEstate-IO-Kyero Show documentation
OpenEstate-IO-Kyero is a Java library to read and write real estate data in the XML format of kyero.com.
package org.openestate.io.kyero.xml;
import java.util.Calendar;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter6
extends XmlAdapter
{
public Calendar unmarshal(String value) {
return (org.openestate.io.kyero.KyeroUtils.parseDateType(value));
}
public String marshal(Calendar value) {
return (org.openestate.io.kyero.KyeroUtils.printDateType(value));
}
}