Class AbstractScoreJaxbAdapter<Score_ extends Score<Score_>>
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,Score_>
-
- org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter<Score_>
-
- Type Parameters:
Score_
- the actual score type
- Direct Known Subclasses:
BendableBigDecimalScoreJaxbAdapter
,BendableLongScoreJaxbAdapter
,BendableScoreJaxbAdapter
,HardMediumSoftBigDecimalScoreJaxbAdapter
,HardMediumSoftLongScoreJaxbAdapter
,HardMediumSoftScoreJaxbAdapter
,HardSoftBigDecimalScoreJaxbAdapter
,HardSoftLongScoreJaxbAdapter
,HardSoftScoreJaxbAdapter
,SimpleBigDecimalScoreJaxbAdapter
,SimpleLongScoreJaxbAdapter
,SimpleScoreJaxbAdapter
public abstract class AbstractScoreJaxbAdapter<Score_ extends Score<Score_>> extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Score_>
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>
.- See Also:
Score
-
-
Constructor Summary
Constructors Constructor Description AbstractScoreJaxbAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(Score_ score)
-