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