Class LocalDateTimeAdapter
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
org.faktorips.runtime.xml.jakarta.LocalDateTimeAdapter
- All Implemented Interfaces:
org.faktorips.runtime.xml.IIpsLocalDateTimeAdapter,org.faktorips.runtime.xml.IIpsXmlAdapter<String,LocalDateTime>
public class LocalDateTimeAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
implements org.faktorips.runtime.xml.IIpsLocalDateTimeAdapter
XmlAdapter for LocalDateTime. The adapter can be used for individual
elements/attributes or registered in package-info.java:
@jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapters({
@jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter(value = org.faktorips.runtime.jakarta.xml.LocalDateTimeAdapter.class),
...
})
package com.acme.foo;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
LocalDateTimeAdapter
public LocalDateTimeAdapter()
-
-
Method Details
-
unmarshal
- Specified by:
unmarshalin interfaceorg.faktorips.runtime.xml.IIpsLocalDateTimeAdapter- Specified by:
unmarshalin interfaceorg.faktorips.runtime.xml.IIpsXmlAdapter<String,LocalDateTime> - Specified by:
unmarshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
-
marshal
- Specified by:
marshalin interfaceorg.faktorips.runtime.xml.IIpsLocalDateTimeAdapter- Specified by:
marshalin interfaceorg.faktorips.runtime.xml.IIpsXmlAdapter<String,LocalDateTime> - Specified by:
marshalin classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalDateTime>
-