Class CodeTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.CodeTransformer
Transforms between
Code and its ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEbXML(EbXMLClassification classification) Transforms aEbXMLClassificationto aCodeinstance.toEbXML(Code code, EbXMLObjectLibrary objectLibrary) Transforms aCodeinstance to aEbXMLClassification.
-
Constructor Details
-
CodeTransformer
Constructs the transformer- Parameters:
ebXMLFactory- factory for version independent ebXML objects.
-
-
Method Details
-
toEbXML
Transforms aCodeinstance to aEbXMLClassification.- Parameters:
code- the code instance to transform. Can benull.objectLibrary- the object library.- Returns:
- the
EbXMLClassification.nullif the input wasnull.
-
fromEbXML
Transforms aEbXMLClassificationto aCodeinstance.- Parameters:
classification-EbXMLClassification. Can benull.- Returns:
- the code instance.
nullif the input wasnull.
-