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