org.openestate.io.daft_ie.xml.Adapter3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IO-DaftIE Show documentation
Show all versions of OpenEstate-IO-DaftIE Show documentation
OpenEstate-IO-DaftIE is a Java library to read and write real estate data in the XML format of daft.ie.
package org.openestate.io.daft_ie.xml;
import java.net.URL;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter3
extends XmlAdapter
{
public URL unmarshal(String value) {
return (org.openestate.io.daft_ie.DaftIeUtils.parseURL(value));
}
public String marshal(URL value) {
return (org.openestate.io.daft_ie.DaftIeUtils.printURL(value));
}
}