org.openestate.io.openimmo.xml.Adapter7 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 Adapter7
extends XmlAdapter
{
public BigDecimal unmarshal(String value) {
return (org.openestate.io.openimmo.OpenImmoUtils.parsePositiveDecimal(value));
}
public String marshal(BigDecimal value) {
return (org.openestate.io.openimmo.OpenImmoUtils.printPositiveDecimal(value));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy