Class QueryResponseTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.LeafClassTransformer
org.openehealth.ipf.commons.ihe.xds.core.transform.responses.QueryResponseTransformer
Transforms between
QueryResponse
and the EbXMLQueryResponse
representation.- Author:
- Jens Riemschneider
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.LeafClassTransformer
associationTransformer, documentEntryTransformer, factory, folderTransformer, PROPERTY_FOLDER_CLASSIFICATION_INSIDE, PROPERTY_SUBMISSION_SET_CLASSIFICATION_INSIDE, submissionSetTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTransforms aEbXMLQueryResponse
to aQueryResponse
.toEbXML
(QueryResponse response) Transforms aQueryResponse
to aEbXMLQueryResponse
.Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.transform.ebxml.LeafClassTransformer
addClassification, createClassification, handleFolder, handleSubmissionSet
-
Constructor Details
-
QueryResponseTransformer
Constructs the transformer.- Parameters:
factory
- the factory for ebXML objects.
-
-
Method Details
-
toEbXML
Transforms aQueryResponse
to aEbXMLQueryResponse
.- Parameters:
response
- the response. Can benull
.- Returns:
- the ebXML representation.
null
if the input wasnull
.
-
fromEbXML
Transforms aEbXMLQueryResponse
to aQueryResponse
.- Parameters:
ebXML
- the ebXML representation. Can benull
.- Returns:
- the response.
null
if the input wasnull
.
-