org.openestate.is24.restapi.xml.Adapter1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IS24-REST Show documentation
Show all versions of OpenEstate-IS24-REST Show documentation
OpenEstate-IS24-REST is a client library for the REST-Webservice of ImmobilienScout24.de written in Java.
package org.openestate.is24.restapi.xml;
import java.math.BigDecimal;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter1
extends XmlAdapter
{
public BigDecimal unmarshal(String value) {
return (javax.xml.bind.DatatypeConverter.parseDecimal(value));
}
public String marshal(BigDecimal value) {
if (value == null) {
return null;
}
return (javax.xml.bind.DatatypeConverter.printDecimal(value));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy