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

## Class SimpleScoreJaxbAdapter

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

-     public class SimpleScoreJaxbAdapter
      extends AbstractScoreJaxbAdapter<SimpleScore>

  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
    --- | ---
    `SimpleScoreJaxbAdapter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SimpleScore` | `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

    - #### SimpleScoreJaxbAdapter

          public SimpleScoreJaxbAdapter()

  - ### Method Detail

    - #### unmarshal

          public SimpleScore unmarshal​(String scoreString)

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