public class SimpleBigDecimalScoreJaxbXmlAdapter extends AbstractScoreJaxbXmlAdapter<SimpleBigDecimalScore>
Score type.
For example: use @XmlJavaTypeAdapter(HardSoftScoreJaxbXmlAdapter.class)
on a HardSoftScore score field and it will marshalled to XML as <score>-999hard/-999soft</score>.
| Constructor and Description |
|---|
SimpleBigDecimalScoreJaxbXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
SimpleBigDecimalScore |
unmarshal(String scoreString) |
marshalpublic SimpleBigDecimalScore unmarshal(String scoreString)
unmarshal in class XmlAdapter<String,SimpleBigDecimalScore>Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.