Class HardMediumSoftBigDecimalScoreJaxbAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,Score_>
-
- org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter<HardMediumSoftBigDecimalScore>
-
- org.optaplanner.persistence.jaxb.api.score.buildin.hardmediumsoftbigdecimal.HardMediumSoftBigDecimalScoreJaxbAdapter
-
public class HardMediumSoftBigDecimalScoreJaxbAdapter extends AbstractScoreJaxbAdapter<HardMediumSoftBigDecimalScore>
JAXB binding support for aScore
type.For example: use
@XmlJavaTypeAdapter(HardSoftScoreJaxbAdapter.class)
on aHardSoftScore score
field and it will marshalled to XML as<score>-999hard/-999soft</score>
.
-
-
Constructor Summary
Constructors Constructor Description HardMediumSoftBigDecimalScoreJaxbAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HardMediumSoftBigDecimalScore
unmarshal(String scoreString)
-
Methods inherited from class org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter
marshal
-
-
-
-
Method Detail
-
unmarshal
public HardMediumSoftBigDecimalScore unmarshal(String scoreString)
- Specified by:
unmarshal
in classXmlAdapter<String,HardMediumSoftBigDecimalScore>
-
-