Java5DecimalConvert (JiBX Java data binding to XML - Version 1.2.3)
Keywords: org.jibx.runtime.Java5DecimalConvert class

Overview | Package | Class | Deprecated
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jibx.runtime
Class Java5DecimalConvert

    java.lang.Object
      org.jibx.runtime.Java5DecimalConvert

    public abstract class Java5DecimalConvert

extends java.lang.Object

Utility class supplying a static method for `java.math.BigDecimal` serialization using Java 1.5 and later. Some idiot changed the `toString()` serialization format in Java 1.5, making it incompatible with the schema xs:decimal representation. This class acts as a bridge to the Java 1.5 API, and can only be used on Java 1.5 and later (until Sun again changes the API) versions.

Author:
  Dennis M. Sosnoski

Constructor Summary
`Java5DecimalConvert()`

Method Summary
`static java.lang.String` | `serializeDecimal(java.math.BigDecimal value)` Serialize decimal value to text using the

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Java5DecimalConvert

    public Java5DecimalConvert()

Method Detail

### serializeDecimal

    public static java.lang.String serializeDecimal(java.math.BigDecimal value)

  Serialize decimal value to text using the

  Parameters:
    `value` -
  Returns:
    converted decimal text

Overview | Package | Class | Deprecated
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Project Web Site |