Refine search
public ReceiptRuleSetMetadata unmarshall(StaxUnmarshallerContext context) throws Exception { ReceiptRuleSetMetadata receiptRuleSetMetadata = new ReceiptRuleSetMetadata(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) break; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("Name", targetDepth)) { receiptRuleSetMetadata.setName(StringStaxUnmarshaller.getInstance().unmarshall( context)); continue; } if (context.testExpression("CreatedTimestamp", targetDepth)) { receiptRuleSetMetadata.setCreatedTimestamp(DateStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { break; } } } return receiptRuleSetMetadata; }
public TemplateMetadata unmarshall(StaxUnmarshallerContext context) throws Exception { TemplateMetadata templateMetadata = new TemplateMetadata(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) break; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("Name", targetDepth)) { templateMetadata.setName(StringStaxUnmarshaller.getInstance().unmarshall( context)); continue; } if (context.testExpression("CreatedTimestamp", targetDepth)) { templateMetadata.setCreatedTimestamp(DateStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { break; } } } return templateMetadata; }
public InstanceStatusDetails unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceStatusDetails instanceStatusDetails = new InstanceStatusDetails(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return instanceStatusDetails; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("name", targetDepth)) { instanceStatusDetails.setName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("status", targetDepth)) { instanceStatusDetails.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("impairedSince", targetDepth)) { instanceStatusDetails.setImpairedSince(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return instanceStatusDetails; } } } }
public HistoryRecord unmarshall(StaxUnmarshallerContext context) throws Exception { HistoryRecord historyRecord = new HistoryRecord(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return historyRecord; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("timestamp", targetDepth)) { historyRecord.setTimestamp(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("eventType", targetDepth)) { historyRecord.setEventType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("eventInformation", targetDepth)) { historyRecord.setEventInformation(EventInformationStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return historyRecord; } } } }
public SpotInstanceStatus unmarshall(StaxUnmarshallerContext context) throws Exception { SpotInstanceStatus spotInstanceStatus = new SpotInstanceStatus(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return spotInstanceStatus; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("code", targetDepth)) { spotInstanceStatus.setCode(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("updateTime", targetDepth)) { spotInstanceStatus.setUpdateTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("message", targetDepth)) { spotInstanceStatus.setMessage(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return spotInstanceStatus; } } } }
public GetPasswordDataResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetPasswordDataResult getPasswordDataResult = new GetPasswordDataResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return getPasswordDataResult; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("instanceId", targetDepth)) { getPasswordDataResult.setInstanceId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("timestamp", targetDepth)) { getPasswordDataResult.setTimestamp(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("passwordData", targetDepth)) { getPasswordDataResult.setPasswordData(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return getPasswordDataResult; } } } }
public GetConsoleOutputResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetConsoleOutputResult getConsoleOutputResult = new GetConsoleOutputResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return getConsoleOutputResult; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("instanceId", targetDepth)) { getConsoleOutputResult.setInstanceId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("timestamp", targetDepth)) { getConsoleOutputResult.setTimestamp(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("output", targetDepth)) { getConsoleOutputResult.setOutput(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return getConsoleOutputResult; } } } }
public IdFormat unmarshall(StaxUnmarshallerContext context) throws Exception { IdFormat idFormat = new IdFormat(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return idFormat; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("resource", targetDepth)) { idFormat.setResource(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("useLongIds", targetDepth)) { idFormat.setUseLongIds(BooleanStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("deadline", targetDepth)) { idFormat.setDeadline(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return idFormat; } } } }
public ReputationOptions unmarshall(StaxUnmarshallerContext context) throws Exception { ReputationOptions reputationOptions = new ReputationOptions(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) break; if (context.testExpression("SendingEnabled", targetDepth)) { reputationOptions.setSendingEnabled(BooleanStaxUnmarshaller.getInstance() .unmarshall(context)); continue; if (context.testExpression("LastFreshStart", targetDepth)) { reputationOptions.setLastFreshStart(DateStaxUnmarshaller.getInstance() .unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { break;
public MessageDsn unmarshall(StaxUnmarshallerContext context) throws Exception { MessageDsn messageDsn = new MessageDsn(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) break; if (context.testExpression("ReportingMta", targetDepth)) { messageDsn.setReportingMta(StringStaxUnmarshaller.getInstance().unmarshall( context)); continue; if (context.testExpression("ArrivalDate", targetDepth)) { messageDsn.setArrivalDate(DateStaxUnmarshaller.getInstance() .unmarshall(context)); continue; if (context.testExpression("ExtensionFields/member", targetDepth)) { messageDsn.withExtensionFields(ExtensionFieldStaxUnmarshaller.getInstance() .unmarshall(context)); if (context.getCurrentDepth() < originalDepth) { break;
public InstanceStatusEvent unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceStatusEvent instanceStatusEvent = new InstanceStatusEvent(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return instanceStatusEvent; if (context.testExpression("code", targetDepth)) { instanceStatusEvent.setCode(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("description", targetDepth)) { instanceStatusEvent.setDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("notBefore", targetDepth)) { instanceStatusEvent.setNotBefore(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("notAfter", targetDepth)) { instanceStatusEvent.setNotAfter(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return instanceStatusEvent;
public SpotFleetRequestConfig unmarshall(StaxUnmarshallerContext context) throws Exception { SpotFleetRequestConfig spotFleetRequestConfig = new SpotFleetRequestConfig(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return spotFleetRequestConfig; if (context.testExpression("spotFleetRequestId", targetDepth)) { spotFleetRequestConfig.setSpotFleetRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("spotFleetRequestState", targetDepth)) { spotFleetRequestConfig.setSpotFleetRequestState(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("spotFleetRequestConfig", targetDepth)) { spotFleetRequestConfig.setSpotFleetRequestConfig(SpotFleetRequestConfigDataStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("createTime", targetDepth)) { spotFleetRequestConfig.setCreateTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return spotFleetRequestConfig;
public EbsInstanceBlockDevice unmarshall(StaxUnmarshallerContext context) throws Exception { EbsInstanceBlockDevice ebsInstanceBlockDevice = new EbsInstanceBlockDevice(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return ebsInstanceBlockDevice; if (context.testExpression("volumeId", targetDepth)) { ebsInstanceBlockDevice.setVolumeId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("status", targetDepth)) { ebsInstanceBlockDevice.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("attachTime", targetDepth)) { ebsInstanceBlockDevice.setAttachTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return ebsInstanceBlockDevice;
public DescribeSpotFleetRequestHistoryResult unmarshall(StaxUnmarshallerContext context) throws Exception { DescribeSpotFleetRequestHistoryResult describeSpotFleetRequestHistoryResult = new DescribeSpotFleetRequestHistoryResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return describeSpotFleetRequestHistoryResult; if (context.testExpression("spotFleetRequestId", targetDepth)) { describeSpotFleetRequestHistoryResult.setSpotFleetRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("startTime", targetDepth)) { describeSpotFleetRequestHistoryResult.setStartTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("lastEvaluatedTime", targetDepth)) { describeSpotFleetRequestHistoryResult.setLastEvaluatedTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return describeSpotFleetRequestHistoryResult;
public Credentials unmarshall(StaxUnmarshallerContext context) throws Exception { Credentials credentials = new Credentials(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) break; if (context.testExpression("AccessKeyId", targetDepth)) { credentials.setAccessKeyId(StringStaxUnmarshaller.getInstance().unmarshall( context)); continue; if (context.testExpression("SessionToken", targetDepth)) { credentials.setSessionToken(StringStaxUnmarshaller.getInstance().unmarshall( context)); if (context.testExpression("Expiration", targetDepth)) { credentials.setExpiration(DateStaxUnmarshaller.getInstance() .unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { break;
public InstanceNetworkInterfaceAttachment unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceNetworkInterfaceAttachment instanceNetworkInterfaceAttachment = new InstanceNetworkInterfaceAttachment(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return instanceNetworkInterfaceAttachment; if (context.testExpression("attachmentId", targetDepth)) { instanceNetworkInterfaceAttachment.setAttachmentId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("deviceIndex", targetDepth)) { instanceNetworkInterfaceAttachment.setDeviceIndex(IntegerStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("status", targetDepth)) { instanceNetworkInterfaceAttachment.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("attachTime", targetDepth)) { instanceNetworkInterfaceAttachment.setAttachTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return instanceNetworkInterfaceAttachment;
public ProvisionedBandwidth unmarshall(StaxUnmarshallerContext context) throws Exception { ProvisionedBandwidth provisionedBandwidth = new ProvisionedBandwidth(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return provisionedBandwidth; if (context.testExpression("provisioned", targetDepth)) { provisionedBandwidth.setProvisioned(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("requested", targetDepth)) { provisionedBandwidth.setRequested(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("requestTime", targetDepth)) { provisionedBandwidth.setRequestTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("provisionTime", targetDepth)) { provisionedBandwidth.setProvisionTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return provisionedBandwidth;
public VpcPeeringConnection unmarshall(StaxUnmarshallerContext context) throws Exception { VpcPeeringConnection vpcPeeringConnection = new VpcPeeringConnection(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return vpcPeeringConnection; if (context.testExpression("accepterVpcInfo", targetDepth)) { vpcPeeringConnection.setAccepterVpcInfo(VpcPeeringConnectionVpcInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("expirationTime", targetDepth)) { vpcPeeringConnection.setExpirationTime(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("requesterVpcInfo", targetDepth)) { vpcPeeringConnection.setRequesterVpcInfo(VpcPeeringConnectionVpcInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return vpcPeeringConnection;
public SpotPrice unmarshall(StaxUnmarshallerContext context) throws Exception { SpotPrice spotPrice = new SpotPrice(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return spotPrice; if (context.testExpression("instanceType", targetDepth)) { spotPrice.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("productDescription", targetDepth)) { spotPrice.setProductDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("spotPrice", targetDepth)) { spotPrice.setSpotPrice(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("timestamp", targetDepth)) { spotPrice.setTimestamp(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return spotPrice;
public VolumeStatusEvent unmarshall(StaxUnmarshallerContext context) throws Exception { VolumeStatusEvent volumeStatusEvent = new VolumeStatusEvent(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return volumeStatusEvent; if (context.testExpression("eventType", targetDepth)) { volumeStatusEvent.setEventType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("description", targetDepth)) { volumeStatusEvent.setDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("notBefore", targetDepth)) { volumeStatusEvent.setNotBefore(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("notAfter", targetDepth)) { volumeStatusEvent.setNotAfter(DateStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return volumeStatusEvent;