Package org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft

## Class HardSoftScoreJaxbAdapter

- java.lang.Object
- - javax.xml.bind.annotation.adapters.XmlAdapter<String,​Score_>
  - - org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter<HardSoftScore>
    - - org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft.HardSoftScoreJaxbAdapter

-     public class HardSoftScoreJaxbAdapter
      extends AbstractScoreJaxbAdapter<HardSoftScore>

  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

    Constructors
    Constructor | Description
    --- | ---
    `HardSoftScoreJaxbAdapter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `HardSoftScore` | `unmarshal​(String scoreString)` |

    - ### Methods inherited from class org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter

      `marshal`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HardSoftScoreJaxbAdapter

          public HardSoftScoreJaxbAdapter()

  - ### Method Detail

    - #### unmarshal

          public HardSoftScore unmarshal​(String scoreString)

      Specified by:
        `unmarshal` in class `XmlAdapter<String,​HardSoftScore>`