Class JaxbDurationAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
org.optaplanner.core.impl.io.jaxb.adapter.JaxbDurationAdapter

public class JaxbDurationAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
  • Constructor Details

    • JaxbDurationAdapter

      public JaxbDurationAdapter()
  • Method Details

    • unmarshal

      public Duration unmarshal(String durationString)
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
    • marshal

      public String marshal(Duration duration)
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Duration>