Package be.ehealth.technicalconnector.adapter

# Class XmlDurationAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Duration>
be.ehealth.technicalconnector.adapter.XmlDurationAdapter

public class XmlDurationAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Duration>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XmlDurationAdapter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `marshal(Duration duration)`
  `Duration`
  `unmarshal(String lexicalXSDDuration)`

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

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

- ## Constructor Details

  - ### XmlDurationAdapter

    public XmlDurationAdapter()

- ## Method Details

  - ### unmarshal

    public Duration unmarshal(String lexicalXSDDuration) throws Exception
    Specified by:
      `unmarshal` in class `jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Duration>`
    Throws:
      `Exception`

  - ### marshal

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