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