Class BendableScoreJaxbAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Score_>
org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter<BendableScore>
org.optaplanner.persistence.jaxb.api.score.buildin.bendable.BendableScoreJaxbAdapter
JAXB binding support for a
Score
type.
For example: use @XmlJavaTypeAdapter(HardSoftScoreJaxbAdapter.class)
on a HardSoftScore score
field and it will marshalled to XML as <score>-999hard/-999soft</score>
.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter
marshal
-
Constructor Details
-
BendableScoreJaxbAdapter
public BendableScoreJaxbAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in classXmlAdapter<String,
BendableScore>
-