コード例 #1
0
 /**
  * XML string representation of this object
  *
  * @return XML String
  */
 public String toXML() {
   StringBuffer xml = new StringBuffer();
   xml.append("<GetReportListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
   if (isSetGetReportListResult()) {
     GetReportListResult getReportListResult = getGetReportListResult();
     xml.append("<GetReportListResult>");
     xml.append(getReportListResult.toXMLFragment());
     xml.append("</GetReportListResult>");
   }
   if (isSetResponseMetadata()) {
     ResponseMetadata responseMetadata = getResponseMetadata();
     xml.append("<ResponseMetadata>");
     xml.append(responseMetadata.toXMLFragment());
     xml.append("</ResponseMetadata>");
   }
   xml.append("</GetReportListResponse>");
   return xml.toString();
 }
コード例 #2
0
 /**
  * XML string representation of this object
  *
  * @return XML String
  */
 public String toXML() {
   StringBuffer xml = new StringBuffer();
   xml.append(
       "<CancelFeedSubmissionsResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
   if (isSetCancelFeedSubmissionsResult()) {
     CancelFeedSubmissionsResult cancelFeedSubmissionsResult = getCancelFeedSubmissionsResult();
     xml.append("<CancelFeedSubmissionsResult>");
     xml.append(cancelFeedSubmissionsResult.toXMLFragment());
     xml.append("</CancelFeedSubmissionsResult>");
   }
   if (isSetResponseMetadata()) {
     ResponseMetadata responseMetadata = getResponseMetadata();
     xml.append("<ResponseMetadata>");
     xml.append(responseMetadata.toXMLFragment());
     xml.append("</ResponseMetadata>");
   }
   xml.append("</CancelFeedSubmissionsResponse>");
   return xml.toString();
 }
コード例 #3
0
 /**
  * XML string representation of this object
  *
  * @return XML String
  */
 public String toXML() {
   StringBuffer xml = new StringBuffer();
   xml.append(
       "<GetServiceStatusResponse xmlns=\"http://mws.amazonservices.com/schema/Products/2011-10-01\">");
   if (isSetGetServiceStatusResult()) {
     GetServiceStatusResult getServiceStatusResult = getGetServiceStatusResult();
     xml.append("<GetServiceStatusResult>");
     xml.append(getServiceStatusResult.toXMLFragment());
     xml.append("</GetServiceStatusResult>");
   }
   if (isSetResponseMetadata()) {
     ResponseMetadata responseMetadata = getResponseMetadata();
     xml.append("<ResponseMetadata>");
     xml.append(responseMetadata.toXMLFragment());
     xml.append("</ResponseMetadata>");
   }
   xml.append("</GetServiceStatusResponse>");
   return xml.toString();
 }