org.openestate.io.immoxml.xml.Adapter1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenEstate-IO-ImmoXML Show documentation
Show all versions of OpenEstate-IO-ImmoXML Show documentation
OpenEstate-IO-ImmoXML is a Java library to read and write real estate data in the ImmoXML format, that is mostly used by immopool.de.
package org.openestate.io.immoxml.xml;
import java.math.BigDecimal;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter1
extends XmlAdapter
{
public BigDecimal unmarshal(String value) {
return (org.openestate.io.immoxml.ImmoXmlUtils.parseDecimal(value));
}
public String marshal(BigDecimal value) {
return (org.openestate.io.immoxml.ImmoXmlUtils.printDecimal(value));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy