public class BendableBigDecimalScoreJaxbXmlAdapter extends AbstractScoreJaxbXmlAdapter<BendableBigDecimalScore>
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 |
|---|
BendableBigDecimalScoreJaxbXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
BendableBigDecimalScore |
unmarshal(String scoreString) |
marshalpublic BendableBigDecimalScoreJaxbXmlAdapter()
public BendableBigDecimalScore unmarshal(String scoreString)
unmarshal in class XmlAdapter<String,BendableBigDecimalScore>Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.