Class LocalizedStringAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,LocalizedString>
org.openehealth.ipf.commons.ihe.xds.core.metadata.jaxbadapters.LocalizedStringAdapter
public class LocalizedStringAdapter
extends javax.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
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
LocalizedStringAdapter
public LocalizedStringAdapter()
-
-
Method Details
-
marshal
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,
LocalizedString>
-
unmarshal
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,
LocalizedString>
-