public class HardSoftDoubleScoreJaxbXmlAdapter extends AbstractScoreJaxbXmlAdapter<org.optaplanner.core.api.score.buildin.hardsoftdouble.HardSoftDoubleScore>
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 |
|---|
HardSoftDoubleScoreJaxbXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.optaplanner.core.api.score.buildin.hardsoftdouble.HardSoftDoubleScore |
unmarshal(String scoreString) |
marshalpublic org.optaplanner.core.api.score.buildin.hardsoftdouble.HardSoftDoubleScore unmarshal(String scoreString)
unmarshal in class XmlAdapter<String,org.optaplanner.core.api.score.buildin.hardsoftdouble.HardSoftDoubleScore>Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.