be.ehealth.technicalconnector.adapter

## Class XmlTimeAdapter

- java.lang.Object
- - javax.xml.bind.annotation.adapters.XmlAdapter<String,org.joda.time.DateTime>
  - - be.ehealth.technicalconnector.adapter.XmlTimeAdapter

-     public class XmlTimeAdapter
      extends XmlAdapter<String,org.joda.time.DateTime>

  Converts xs:time from string to org.joda.time.DateTime and vice versa.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XmlTimeAdapter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `marshal(org.joda.time.DateTime value)`
    `org.joda.time.DateTime` | `unmarshal(String value)`

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

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

- - ### Constructor Detail

    - #### XmlTimeAdapter

          public XmlTimeAdapter()

  - ### Method Detail

    - #### unmarshal

          public org.joda.time.DateTime unmarshal(String value)
                                           throws Exception

      Specified by:
        `unmarshal` in class `XmlAdapter<String,org.joda.time.DateTime>`
      Throws:
        `Exception`

    - #### marshal

          public String marshal(org.joda.time.DateTime value)
                         throws Exception

      Specified by:
        `marshal` in class `XmlAdapter<String,org.joda.time.DateTime>`
      Throws:
        `Exception`

Connector Packaging PERSOCCUPATIONALTHERAPIST 4.6.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.