public class ResponseObjectMapper extends Object
MapperFactory
public PutTherapeuticLinkResponse mapXMLToPutTherapeuticLinkResponse(String xml) throws TechnicalConnectorException
xml
- TechnicalConnectorException
public RevokeTherapeuticLinkResponse mapXMLToRevokeTherapeuticLinkResponse(String xml) throws TechnicalConnectorException
xml
- TechnicalConnectorException
public GetTherapeuticLinkResponse mapXMLToGetTherapeuticLinkResponse(String xml) throws TechnicalConnectorException
xml
- TechnicalConnectorException
public HasTherapeuticLinkResponse mapXMLToHasTherapeuticLinkResponse(String xml) throws TechnicalConnectorException
xml
- TechnicalConnectorException
public PutTherapeuticLinkResponse mapJaxbToPutTherapeuticLinkResponse(PutTherapeuticLinkResponse jaxbResponse)
jaxbResponse
- public GetTherapeuticLinkResponse mapJaxbToGetTherapeuticLinkResponse(GetTherapeuticLinkResponse jaxbResponse)
jaxbResponse
- public RevokeTherapeuticLinkResponse mapJaxbToRevokeTherapeuticLinkResponse(RevokeTherapeuticLinkResponse jaxbResponse)
jaxbResponse
- public HasTherapeuticLinkResponse mapJaxbToHasTherapeuticLinkResponse(HasTherapeuticLinkResponse jaxbResponse)
public Acknowledge mapAcknowledge(AcknowledgeType acknowledge)
public <T> T generateJAXB(String request, Class<T> clazz) throws TechnicalConnectorException
T
- request
- the request as string.clazz
- the class of the jaxb type.TechnicalConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.