org.openestate.io.openimmo.xml.Adapter2 Maven / Gradle / Ivy
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));
}
}