|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.therlink.mappers.ResponseObjectMapper
public class ResponseObjectMapper
Mappe for Response objects
Factory : MapperFactory
Method Summary | ||
---|---|---|
|
generateJAXB(String request,
Class<T> clazz)
It builds a Jaxb object given the string. |
|
Acknowledge |
mapAcknowledge(AcknowledgeType acknowledge)
|
|
GetTherapeuticLinkResponse |
mapJaxbToGetTherapeuticLinkResponse(GetTherapeuticLinkResponse jaxbResponse)
|
|
PutTherapeuticLinkResponse |
mapJaxbToPutTherapeuticLinkResponse(PutTherapeuticLinkResponse jaxbResponse)
|
|
RevokeTherapeuticLinkResponse |
mapJaxbToRevokeTherapeuticLinkResponse(RevokeTherapeuticLinkResponse jaxbResponse)
|
|
GetTherapeuticLinkResponse |
mapXMLToGetTherapeuticLinkResponse(String xml)
Maps a XML string to a getTherapeuticLinkResponse object |
|
PutTherapeuticLinkResponse |
mapXMLToPutTherapeuticLinkResponse(String xml)
Maps a XML string to a PutTherapeuticLinkResponse object |
|
RevokeTherapeuticLinkResponse |
mapXMLToRevokeTherapeuticLinkResponse(String xml)
Maps a XML string to a RevokeTherapeuticLinkResponse object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 PutTherapeuticLinkResponse mapJaxbToPutTherapeuticLinkResponse(PutTherapeuticLinkResponse jaxbResponse)
xmlResponse
-
public GetTherapeuticLinkResponse mapJaxbToGetTherapeuticLinkResponse(GetTherapeuticLinkResponse jaxbResponse)
xmlResponse
-
public RevokeTherapeuticLinkResponse mapJaxbToRevokeTherapeuticLinkResponse(RevokeTherapeuticLinkResponse jaxbResponse)
xmlResponse
-
public Acknowledge mapAcknowledge(AcknowledgeType acknowledge)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |