Class ResponseTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.responses.ResponseTransformer
Transforms between
Response
and the ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTransforms aEbXMLRegistryResponse
to aResponse
.Transforms aResponse
to aEbXMLRegistryResponse
.
-
Constructor Details
-
ResponseTransformer
Constructs the transformer.- Parameters:
factory
- the factory for ebXML objects.
-
-
Method Details
-
toEbXML
Transforms aResponse
to aEbXMLRegistryResponse
.- Parameters:
response
- the response. Can benull
.- Returns:
- the ebXML representation.
null
if the input wasnull
.
-
fromEbXML
Transforms aEbXMLRegistryResponse
to aResponse
.- Parameters:
ebXML
- the ebXML representation. Can benull
.- Returns:
- the response.
null
if the input wasnull
.
-