Class AssigningAuthorityAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,AssigningAuthority>
org.openehealth.ipf.commons.ihe.xds.core.metadata.jaxbadapters.AssigningAuthorityAdapter
public class AssigningAuthorityAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<String,AssigningAuthority>
A JAXB
XmlAdapter
that creates a simplified representation of an
AssigningAuthority
which just contains the universal id without the
namespace id and the universal id type. In XDS these fields are not used
and they get in the way when trying to serialize in a simple HL7 V3 format.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
AssigningAuthorityAdapter
public AssigningAuthorityAdapter()
-
-
Method Details
-
marshal
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,
AssigningAuthority>
-
unmarshal
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,
AssigningAuthority>
-