public GetHostedZoneCountResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetHostedZoneCountResult getHostedZoneCountResult = new GetHostedZoneCountResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getHostedZoneCountResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("HostedZoneCount", targetDepth)) { getHostedZoneCountResult.setHostedZoneCount(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getHostedZoneCountResult; } } } }
public DiskImageVolumeDescription unmarshall(StaxUnmarshallerContext context) throws Exception { DiskImageVolumeDescription diskImageVolumeDescription = new DiskImageVolumeDescription(); 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 diskImageVolumeDescription; if (xmlEvent == XmlPullParser.START_TAG) { if (context.testExpression("size", targetDepth)) { diskImageVolumeDescription.setSize(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("id", targetDepth)) { diskImageVolumeDescription.setId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { return diskImageVolumeDescription; } } } }
public VolumeDetail unmarshall(StaxUnmarshallerContext context) throws Exception { VolumeDetail volumeDetail = new VolumeDetail(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return volumeDetail; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("size", targetDepth)) { volumeDetail.setSize(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return volumeDetail; } } } }
public LBCookieStickinessPolicy unmarshall(StaxUnmarshallerContext context) throws Exception { LBCookieStickinessPolicy lBCookieStickinessPolicy = new LBCookieStickinessPolicy(); 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("PolicyName", targetDepth)) { lBCookieStickinessPolicy.setPolicyName(StringStaxUnmarshaller.getInstance() .unmarshall(context)); continue; } if (context.testExpression("CookieExpirationPeriod", targetDepth)) { lBCookieStickinessPolicy.setCookieExpirationPeriod(LongStaxUnmarshaller .getInstance().unmarshall(context)); continue; } } else if (xmlEvent == XmlPullParser.END_TAG) { if (context.getCurrentDepth() < originalDepth) { break; } } } return lBCookieStickinessPolicy; }
public GetHealthCheckCountResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetHealthCheckCountResult getHealthCheckCountResult = new GetHealthCheckCountResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getHealthCheckCountResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("HealthCheckCount", targetDepth)) { getHealthCheckCountResult.setHealthCheckCount(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getHealthCheckCountResult; } } } }
public PriceSchedule unmarshall(StaxUnmarshallerContext context) throws Exception { PriceSchedule priceSchedule = new PriceSchedule(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return priceSchedule; if (context.testExpression("term", targetDepth)) { priceSchedule.setTerm(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("price", targetDepth)) { priceSchedule.setPrice(DoubleStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("currencyCode", targetDepth)) { priceSchedule.setCurrencyCode(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return priceSchedule;
public ReusableDelegationSetLimit unmarshall(StaxUnmarshallerContext context) throws Exception { ReusableDelegationSetLimit reusableDelegationSetLimit = new ReusableDelegationSetLimit(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return reusableDelegationSetLimit; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Type", targetDepth)) { reusableDelegationSetLimit.setType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("Value", targetDepth)) { reusableDelegationSetLimit.setValue(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return reusableDelegationSetLimit; } } } }
public DiskImageDescription unmarshall(StaxUnmarshallerContext context) throws Exception { DiskImageDescription diskImageDescription = new DiskImageDescription(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return diskImageDescription; if (context.testExpression("format", targetDepth)) { diskImageDescription.setFormat(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("size", targetDepth)) { diskImageDescription.setSize(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("importManifestUrl", targetDepth)) { diskImageDescription.setImportManifestUrl(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return diskImageDescription;
public AccountLimit unmarshall(StaxUnmarshallerContext context) throws Exception { AccountLimit accountLimit = new AccountLimit(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return accountLimit; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Type", targetDepth)) { accountLimit.setType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("Value", targetDepth)) { accountLimit.setValue(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return accountLimit; } } } }
public ImportVolumeTaskDetails unmarshall(StaxUnmarshallerContext context) throws Exception { ImportVolumeTaskDetails importVolumeTaskDetails = new ImportVolumeTaskDetails(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return importVolumeTaskDetails; if (context.testExpression("bytesConverted", targetDepth)) { importVolumeTaskDetails.setBytesConverted(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("availabilityZone", targetDepth)) { importVolumeTaskDetails.setAvailabilityZone(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("description", targetDepth)) { importVolumeTaskDetails.setDescription(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return importVolumeTaskDetails;
public HostedZoneLimit unmarshall(StaxUnmarshallerContext context) throws Exception { HostedZoneLimit hostedZoneLimit = new HostedZoneLimit(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return hostedZoneLimit; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Type", targetDepth)) { hostedZoneLimit.setType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("Value", targetDepth)) { hostedZoneLimit.setValue(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return hostedZoneLimit; } } } }
public SendDataPoint unmarshall(StaxUnmarshallerContext context) throws Exception { SendDataPoint sendDataPoint = new SendDataPoint(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; if (context.testExpression("DeliveryAttempts", targetDepth)) { sendDataPoint.setDeliveryAttempts(LongStaxUnmarshaller.getInstance() .unmarshall(context)); continue; if (context.testExpression("Bounces", targetDepth)) { sendDataPoint .setBounces(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; sendDataPoint.setComplaints(LongStaxUnmarshaller.getInstance().unmarshall( context)); continue; .setRejects(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { break;
public GetHostedZoneLimitResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetHostedZoneLimitResult getHostedZoneLimitResult = new GetHostedZoneLimitResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getHostedZoneLimitResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Limit", targetDepth)) { getHostedZoneLimitResult.setLimit(HostedZoneLimitStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("Count", targetDepth)) { getHostedZoneLimitResult.setCount(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getHostedZoneLimitResult; } } } }
if (context.isStartOfDocument()) targetDepth += 2; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return domainMetadataResult; if (context.testExpression("ItemCount", targetDepth)) { domainMetadataResult.setItemCount(IntegerStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("ItemNamesSizeBytes", targetDepth)) { domainMetadataResult.setItemNamesSizeBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("AttributeNameCount", targetDepth)) { domainMetadataResult.setAttributeNameCount(IntegerStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("AttributeNamesSizeBytes", targetDepth)) { domainMetadataResult.setAttributeNamesSizeBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("AttributeValuesSizeBytes", targetDepth)) { domainMetadataResult.setAttributeValuesSizeBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return domainMetadataResult;
public LBCookieStickinessPolicy unmarshall(StaxUnmarshallerContext context) throws Exception { LBCookieStickinessPolicy lBCookieStickinessPolicy = new LBCookieStickinessPolicy(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return lBCookieStickinessPolicy; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("PolicyName", targetDepth)) { lBCookieStickinessPolicy.setPolicyName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("CookieExpirationPeriod", targetDepth)) { lBCookieStickinessPolicy.setCookieExpirationPeriod(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return lBCookieStickinessPolicy; } } } }
public ImportInstanceVolumeDetailItem unmarshall(StaxUnmarshallerContext context) throws Exception { ImportInstanceVolumeDetailItem importInstanceVolumeDetailItem = new ImportInstanceVolumeDetailItem(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return importInstanceVolumeDetailItem; if (context.testExpression("bytesConverted", targetDepth)) { importInstanceVolumeDetailItem.setBytesConverted(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("availabilityZone", targetDepth)) { importInstanceVolumeDetailItem.setAvailabilityZone(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("image", targetDepth)) { importInstanceVolumeDetailItem.setImage(DiskImageDescriptionStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return importInstanceVolumeDetailItem;
public DiskImageVolumeDescription unmarshall(StaxUnmarshallerContext context) throws Exception { DiskImageVolumeDescription diskImageVolumeDescription = new DiskImageVolumeDescription(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return diskImageVolumeDescription; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("id", targetDepth)) { diskImageVolumeDescription.setId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("size", targetDepth)) { diskImageVolumeDescription.setSize(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return diskImageVolumeDescription; } } } }
public ReservedInstancesOffering unmarshall(StaxUnmarshallerContext context) throws Exception { ReservedInstancesOffering reservedInstancesOffering = new ReservedInstancesOffering(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return reservedInstancesOffering; if (context.testExpression("reservedInstancesOfferingId", targetDepth)) { reservedInstancesOffering.setReservedInstancesOfferingId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("instanceType", targetDepth)) { reservedInstancesOffering.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("availabilityZone", targetDepth)) { reservedInstancesOffering.setAvailabilityZone(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("duration", targetDepth)) { reservedInstancesOffering.setDuration(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return reservedInstancesOffering;
public GetAccountLimitResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetAccountLimitResult getAccountLimitResult = new GetAccountLimitResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getAccountLimitResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Limit", targetDepth)) { getAccountLimitResult.setLimit(AccountLimitStaxUnmarshaller.getInstance().unmarshall(context)); continue; } if (context.testExpression("Count", targetDepth)) { getAccountLimitResult.setCount(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getAccountLimitResult; } } } }
public ReservedInstances unmarshall(StaxUnmarshallerContext context) throws Exception { ReservedInstances reservedInstances = new ReservedInstances(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; int xmlEvent = context.nextEvent(); if (xmlEvent == XmlPullParser.END_DOCUMENT) return reservedInstances; if (context.testExpression("reservedInstancesId", targetDepth)) { reservedInstances.setReservedInstancesId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("instanceType", targetDepth)) { reservedInstances.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("availabilityZone", targetDepth)) { reservedInstances.setAvailabilityZone(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.testExpression("duration", targetDepth)) { reservedInstances.setDuration(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; if (context.getCurrentDepth() < originalDepth) { return reservedInstances;