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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransforms aEbXMLQueryResponseto aQueryResponse.toEbXML(QueryResponse response) Transforms aQueryResponseto 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 aQueryResponseto aEbXMLQueryResponse.- Parameters:
response- the response. Can benull.- Returns:
- the ebXML representation.
nullif the input wasnull.
-
fromEbXML
Transforms aEbXMLQueryResponseto aQueryResponse.- Parameters:
ebXML- the ebXML representation. Can benull.- Returns:
- the response.
nullif the input wasnull.
-