Score_
- the actual score typepublic abstract class AbstractScoreJaxbXmlAdapter<Score_ extends Score<Score_>> extends XmlAdapter<String,Score_>
Score
type.
For example: use @XmlJavaTypeAdapter(HardSoftScoreJaxbXmlAdapter.class)
on a HardSoftScore score
field and it will marshalled to XML as <score>-999hard/-999soft</score>
.
Score
Constructor and Description |
---|
AbstractScoreJaxbXmlAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(Score_ score) |
unmarshal
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.