Class LocalizedStringAdapter
java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalizedString>
org.openehealth.ipf.commons.ihe.xds.core.metadata.jaxbadapters.LocalizedStringAdapter
public class LocalizedStringAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,LocalizedString>
A JAXB
XmlAdapter
that creates a simplified representation of
a LocalizedString
which just contains the string itself without
the language and charset information. There is at least one case in the
HL7 V3 serialization in which this simplified representation is needed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
LocalizedStringAdapter
public LocalizedStringAdapter()
-
-
Method Details
-
marshal
- Specified by:
marshal
in classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,
LocalizedString>
-
unmarshal
- Specified by:
unmarshal
in classjakarta.xml.bind.annotation.adapters.XmlAdapter<String,
LocalizedString>
-