public class AssigningAuthorityAdapter extends XmlAdapter<String,AssigningAuthority>
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 and Description |
---|
AssigningAuthorityAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(AssigningAuthority v) |
AssigningAuthority |
unmarshal(String v) |
public String marshal(AssigningAuthority v) throws Exception
marshal
in class XmlAdapter<String,AssigningAuthority>
Exception
public AssigningAuthority unmarshal(String v) throws Exception
unmarshal
in class XmlAdapter<String,AssigningAuthority>
Exception
Copyright © 2018 Open eHealth Foundation. All rights reserved.