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