org.openestate.io.openimmo.xml.Adapter6 Maven / Gradle / Ivy
package org.openestate.io.openimmo.xml;
import java.math.BigInteger;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter6
extends XmlAdapter
{
public BigInteger unmarshal(String value) {
return (org.openestate.io.openimmo.OpenImmoUtils.parsePositiveInteger(value));
}
public String marshal(BigInteger value) {
return (org.openestate.io.openimmo.OpenImmoUtils.printPositiveInteger(value));
}
}