Class AssociationTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.AssociationTransformer
Transforms an
Association
to its ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromEbXML
(EbXMLAssociation association) Transforms the given ebXML representation into anAssociation
.toEbXML
(Association association, EbXMLObjectLibrary objectLibrary) Transforms the given association to its ebXML representation.
-
Constructor Details
-
AssociationTransformer
Constructs the transformer- Parameters:
factory
- factory for version independent ebXML objects.
-
-
Method Details
-
toEbXML
Transforms the given association to its ebXML representation.- Parameters:
association
- the association to transform. Can benull
.objectLibrary
- the object library.- Returns:
- the ebXML representation.
null
if the input wasnull
.
-
fromEbXML
Transforms the given ebXML representation into anAssociation
.- Parameters:
association
- the ebXML association. Can benull
.- Returns:
- the created
Association
instance.null
if the input wasnull
.
-