List of usage examples for javax.xml.bind DatatypeConverter parseDecimal
public static java.math.BigDecimal parseDecimal(String lexicalXSDDecimal)
Converts the string argument into a BigDecimal value.
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl42(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl52(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl62(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl72(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl102(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZahl152(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.is24_xml.Is24XmlUtils.java
public static BigDecimal parseZimmeranzahl(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.kyero.KyeroUtils.java
public static BigDecimal parseDecimal(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.io.trovit.TrovitUtils.java
public static BigDecimal parseFloat(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }
From source file:org.openestate.is24.restapi.utils.XmlUtils.java
/** * Read a {@link BigDecimal} value from XML * with maximal 8 digits and 2 decimal places. * * @param value// w w w . j av a 2 s . co m * XML string * * @return * parsed value or null, if the value is invalid */ public static BigDecimal parseDecimal8_2(String value) { value = StringUtils.trimToNull(value); return (value != null) ? DatatypeConverter.parseDecimal(value) : null; }