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