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) |
marshal
public SimpleLongScore unmarshal(String scoreString)
unmarshal
in class XmlAdapter<String,SimpleLongScore>
Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.