public class PercentRoundingAdapter extends XmlAdapter<BigDecimal,BigDecimal>
| Constructor and Description |
|---|
PercentRoundingAdapter()
Instantiates a new percent rounding adapter.
|
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
marshal(BigDecimal value) |
BigDecimal |
unmarshal(BigDecimal p) |
public PercentRoundingAdapter()
Instantiates a new percent rounding adapter.
public BigDecimal marshal(BigDecimal value) throws Exception
marshal in class XmlAdapter<BigDecimal,BigDecimal>Exceptionpublic BigDecimal unmarshal(BigDecimal p) throws Exception
unmarshal in class XmlAdapter<BigDecimal,BigDecimal>ExceptionCopyright © 2014-2016 Konik.io. All Rights Reserved.