Addressing james' request to change isXml to theXml
This commit is contained in:
parent
b37c4b5ae7
commit
6ecaa4fc18
|
@ -97,10 +97,10 @@ public class ResourceDeliveryMessage extends BaseResourceMessage implements IRes
|
||||||
mySubscription = theSubscription;
|
mySubscription = theSubscription;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setPayload(FhirContext theCtx, IBaseResource thePayload, Boolean isXml) {
|
public void setPayload(FhirContext theCtx, IBaseResource thePayload, Boolean theXml) {
|
||||||
myPayload = thePayload;
|
myPayload = thePayload;
|
||||||
|
|
||||||
if (isXml) {
|
if (theXml) {
|
||||||
myPayloadString = theCtx.newXmlParser().encodeResourceToString(thePayload);
|
myPayloadString = theCtx.newXmlParser().encodeResourceToString(thePayload);
|
||||||
} else {
|
} else {
|
||||||
myPayloadString = theCtx.newJsonParser().encodeResourceToString(thePayload);
|
myPayloadString = theCtx.newJsonParser().encodeResourceToString(thePayload);
|
||||||
|
|
Loading…
Reference in New Issue