I have
<xsd:element name="amount" type="xsd:double" minOccurs="0" maxOccurs="1"/>
in my xsd schema element.
But unfortunately I can't change that. Based on this document, I generate a class in Java with Apache CXF. How can I parse this, get generated value in BigDecimal.
Now I have
protected Double amount;
But I want something like this
protected BigDecimal amount;
But I cant change my xsd element with Double. I would also not like to do it globally, but only for selected fields. Is it possible?