All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openestate.io.daft_ie.xml.Adapter2 Maven / Gradle / Ivy

Go to download

OpenEstate-IO-DaftIE is a Java library to read and write real estate data in the XML format of daft.ie.

There is a newer version: 1.4
Show newest version

package org.openestate.io.daft_ie.xml;

import java.util.Calendar;
import javax.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter2
    extends XmlAdapter
{


    public Calendar unmarshal(String value) {
        return (org.openestate.io.daft_ie.DaftIeUtils.parseDate(value));
    }

    public String marshal(Calendar value) {
        return (org.openestate.io.daft_ie.DaftIeUtils.printDate(value));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy