Class RecipientTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.RecipientTransformer
Transforms between a
Recipient
and its ebXML representation.
The ebXML representation is a simple String used as a slot value. This class is independent of the ebXML version being used.
- Author:
- Jens Riemschneider
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RecipientTransformer
public RecipientTransformer()
-
-
Method Details
-
toEbXML
Transforms a recipient into its ebXML representation (a slot value).- Parameters:
recipient
- the recipient to transform. Can benull
.- Returns:
- the slot value.
null
if the input wasnull
.
-
fromEbXML
Transforms an ebXML representation (a slot value) into aRecipient
.- Parameters:
slotValue
- the slot value. Can benull
.- Returns:
- the recipient.
null
if the input wasnull
.
-