Package org.faktorips.runtime.jaxb
Class LocalDateAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalDate>
org.faktorips.runtime.jaxb.LocalDateAdapter
- All Implemented Interfaces:
IIpsLocalDateAdapter
,IIpsXmlAdapter<String,
LocalDate>
@Deprecated
public class LocalDateAdapter
extends XmlAdapter<String,LocalDate>
implements IIpsLocalDateAdapter
Deprecated.
XmlAdapter
for LocalDate
. The adapter can be used for individual
elements/attributes or registered in package-info.java
:
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters({
@javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(value = org.faktorips.runtime.jaxb.LocalDateAdapter.class),
...
})
package com.acme.foo;
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocalDateAdapter
public LocalDateAdapter()Deprecated.
-
-
Method Details
-
unmarshal
Deprecated.Description copied from interface:IIpsXmlAdapter
Convert a value type to a bound type.- Specified by:
unmarshal
in interfaceIIpsLocalDateAdapter
- Specified by:
unmarshal
in interfaceIIpsXmlAdapter<String,
LocalDate> - Specified by:
unmarshal
in classXmlAdapter<String,
LocalDate> - Parameters:
v
- The value to be converted. Can be null.
-
marshal
Deprecated.Description copied from interface:IIpsXmlAdapter
Convert a bound type to a value type.- Specified by:
marshal
in interfaceIIpsLocalDateAdapter
- Specified by:
marshal
in interfaceIIpsXmlAdapter<String,
LocalDate> - Specified by:
marshal
in classXmlAdapter<String,
LocalDate> - Parameters:
v
- The value to be converted. Can be null.
-
org.faktorips.runtime.xml.javax.LocalDateAdapter
ororg.faktorips.runtime.xml.jakarta.LocalDateAdapter
instead