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