Constructor and Description |
---|
CodeTransformer(EbXMLFactory ebXMLFactory)
Constructs the transformer
|
Modifier and Type | Method and Description |
---|---|
Code |
fromEbXML(EbXMLClassification classification)
Transforms a
EbXMLClassification to a Code instance. |
EbXMLClassification |
toEbXML(Code code,
EbXMLObjectLibrary objectLibrary)
Transforms a
Code instance to a EbXMLClassification . |
public CodeTransformer(EbXMLFactory ebXMLFactory)
ebXMLFactory
- factory for version independent ebXML objects.public EbXMLClassification toEbXML(Code code, EbXMLObjectLibrary objectLibrary)
Code
instance to a EbXMLClassification
.code
- the code instance to transform. Can be null
.objectLibrary
- the object library.EbXMLClassification
. null
if the input
was null
.public Code fromEbXML(EbXMLClassification classification)
EbXMLClassification
to a Code
instance.classification
- EbXMLClassification
. Can be null
.null
if the input was null
.Copyright © 2018 Open eHealth Foundation. All rights reserved.