Class RetrieveDocumentSetResponseTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer
Transforms between a
EbXMLRetrieveDocumentSetResponse
and its ebXML representation.- Author:
- Jens Riemschneider
-
Constructor Summary
ConstructorDescriptionConstructs the transformer. -
Method Summary
Modifier and TypeMethodDescriptionTransforms aEbXMLRetrieveDocumentSetResponse
to aRetrievedDocumentSet
.toEbXML
(RetrievedDocumentSet response) Transforms aRetrievedDocumentSet
to aEbXMLRetrieveDocumentSetResponse
.
-
Constructor Details
-
RetrieveDocumentSetResponseTransformer
Constructs the transformer.- Parameters:
factory
- the factory for ebXML objects.
-
-
Method Details
-
toEbXML
public EbXMLRetrieveDocumentSetResponse<RetrieveDocumentSetResponseType> toEbXML(RetrievedDocumentSet response) Transforms aRetrievedDocumentSet
to aEbXMLRetrieveDocumentSetResponse
.- Parameters:
response
- the response. Can benull
.- Returns:
- the ebXML representation.
null
if the input wasnull
.
-
fromEbXML
public RetrievedDocumentSet fromEbXML(EbXMLRetrieveDocumentSetResponse<RetrieveDocumentSetResponseType> ebXML) Transforms aEbXMLRetrieveDocumentSetResponse
to aRetrievedDocumentSet
.- Parameters:
ebXML
- the ebXML representation. Can benull
.- Returns:
- the response.
null
if the input wasnull
.
-