public class RetrieveDocumentSetResponseTransformer extends Object
EbXMLRetrieveDocumentSetResponse
and its ebXML representation.Constructor and Description |
---|
RetrieveDocumentSetResponseTransformer(EbXMLFactory factory)
Constructs the transformer.
|
Modifier and Type | Method and Description |
---|---|
RetrievedDocumentSet |
fromEbXML(EbXMLRetrieveDocumentSetResponse ebXML)
Transforms a
EbXMLRetrieveDocumentSetResponse to a RetrievedDocumentSet . |
EbXMLRetrieveDocumentSetResponse |
toEbXML(RetrievedDocumentSet response)
Transforms a
RetrievedDocumentSet to a EbXMLRetrieveDocumentSetResponse . |
public RetrieveDocumentSetResponseTransformer(EbXMLFactory factory)
factory
- the factory for ebXML objects.public EbXMLRetrieveDocumentSetResponse toEbXML(RetrievedDocumentSet response)
RetrievedDocumentSet
to a EbXMLRetrieveDocumentSetResponse
.response
- the response. Can be null
.null
if the input was null
.public RetrievedDocumentSet fromEbXML(EbXMLRetrieveDocumentSetResponse ebXML)
EbXMLRetrieveDocumentSetResponse
to a RetrievedDocumentSet
.ebXML
- the ebXML representation. Can be null
.null
if the input was null
.Copyright © 2018 Open eHealth Foundation. All rights reserved.