Class JaxbDurationAdapter

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

public class JaxbDurationAdapter extends jakarta.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 jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
    • marshal

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