public CreateStackResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateStackResult createStackResult = new CreateStackResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createStackResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("StackId", targetDepth)) { createStackResult.setStackId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createStackResult; } } } }
protected boolean handleXmlEvent(QueueConfiguration queueConfig, StaxUnmarshallerContext context, int targetDepth) throws Exception { if (context.testExpression("Queue", targetDepth)) { queueConfig.setQueueARN(StringStaxUnmarshaller.getInstance().unmarshall(context)); return true; } return false; }
public PublishResult unmarshall(StaxUnmarshallerContext context) throws Exception { PublishResult publishResult = new PublishResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return publishResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("MessageId", targetDepth)) { publishResult.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return publishResult; } } } }
protected boolean handleXmlEvent(TopicConfiguration topicConfig, StaxUnmarshallerContext context, int targetDepth) throws Exception { if (context.testExpression("Topic", targetDepth)) { topicConfig.setTopicARN(StringStaxUnmarshaller.getInstance().unmarshall(context)); return true; } return false; }
public InstanceIpv6Address unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceIpv6Address instanceIpv6Address = new InstanceIpv6Address(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return instanceIpv6Address; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ipv6Address", targetDepth)) { instanceIpv6Address.setIpv6Address(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return instanceIpv6Address; } } } }
public GenerateServiceLastAccessedDetailsResult unmarshall(StaxUnmarshallerContext context) throws Exception { GenerateServiceLastAccessedDetailsResult generateServiceLastAccessedDetailsResult = new GenerateServiceLastAccessedDetailsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return generateServiceLastAccessedDetailsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("JobId", targetDepth)) { generateServiceLastAccessedDetailsResult.setJobId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return generateServiceLastAccessedDetailsResult; } } } }
public DeleteMessageBatchResultEntry unmarshall(StaxUnmarshallerContext context) throws Exception { DeleteMessageBatchResultEntry deleteMessageBatchResultEntry = new DeleteMessageBatchResultEntry(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return deleteMessageBatchResultEntry; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Id", targetDepth)) { deleteMessageBatchResultEntry.setId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return deleteMessageBatchResultEntry; } } } }
public ModifyDBClusterParameterGroupResult unmarshall(StaxUnmarshallerContext context) throws Exception { ModifyDBClusterParameterGroupResult modifyDBClusterParameterGroupResult = new ModifyDBClusterParameterGroupResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return modifyDBClusterParameterGroupResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("DBClusterParameterGroupName", targetDepth)) { modifyDBClusterParameterGroupResult.setDBClusterParameterGroupName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return modifyDBClusterParameterGroupResult; } } } }
public TrackingOptions unmarshall(StaxUnmarshallerContext context) throws Exception { TrackingOptions trackingOptions = new TrackingOptions(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return trackingOptions; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("CustomRedirectDomain", targetDepth)) { trackingOptions.setCustomRedirectDomain(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return trackingOptions; } } } }
public CreateStackInstancesResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateStackInstancesResult createStackInstancesResult = new CreateStackInstancesResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createStackInstancesResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("OperationId", targetDepth)) { createStackInstancesResult.setOperationId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createStackInstancesResult; } } } }
public InstanceIpv6AddressRequest unmarshall(StaxUnmarshallerContext context) throws Exception { InstanceIpv6AddressRequest instanceIpv6AddressRequest = new InstanceIpv6AddressRequest(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return instanceIpv6AddressRequest; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("Ipv6Address", targetDepth)) { instanceIpv6AddressRequest.setIpv6Address(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return instanceIpv6AddressRequest; } } } }
public AssociateAddressResult unmarshall(StaxUnmarshallerContext context) throws Exception { AssociateAddressResult associateAddressResult = new AssociateAddressResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return associateAddressResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("associationId", targetDepth)) { associateAddressResult.setAssociationId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return associateAddressResult; } } } }
public CreateOpenIDConnectProviderResult unmarshall(StaxUnmarshallerContext context) throws Exception { CreateOpenIDConnectProviderResult createOpenIDConnectProviderResult = new CreateOpenIDConnectProviderResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return createOpenIDConnectProviderResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("OpenIDConnectProviderArn", targetDepth)) { createOpenIDConnectProviderResult.setOpenIDConnectProviderArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return createOpenIDConnectProviderResult; } } } }
public AdjustmentType unmarshall(StaxUnmarshallerContext context) throws Exception { AdjustmentType adjustmentType = new AdjustmentType(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return adjustmentType; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("AdjustmentType", targetDepth)) { adjustmentType.setAdjustmentType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return adjustmentType; } } } }
public ElasticGpuSpecificationResponse unmarshall(StaxUnmarshallerContext context) throws Exception { ElasticGpuSpecificationResponse elasticGpuSpecificationResponse = new ElasticGpuSpecificationResponse(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return elasticGpuSpecificationResponse; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("type", targetDepth)) { elasticGpuSpecificationResponse.setType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return elasticGpuSpecificationResponse; } } } }
public SetIpAddressTypeResult unmarshall(StaxUnmarshallerContext context) throws Exception { SetIpAddressTypeResult setIpAddressTypeResult = new SetIpAddressTypeResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return setIpAddressTypeResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("IpAddressType", targetDepth)) { setIpAddressTypeResult.setIpAddressType(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return setIpAddressTypeResult; } } } }
public DecodeAuthorizationMessageResult unmarshall(StaxUnmarshallerContext context) throws Exception { DecodeAuthorizationMessageResult decodeAuthorizationMessageResult = new DecodeAuthorizationMessageResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return decodeAuthorizationMessageResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("DecodedMessage", targetDepth)) { decodeAuthorizationMessageResult.setDecodedMessage(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return decodeAuthorizationMessageResult; } } } }
public ReplaceNetworkAclAssociationResult unmarshall(StaxUnmarshallerContext context) throws Exception { ReplaceNetworkAclAssociationResult replaceNetworkAclAssociationResult = new ReplaceNetworkAclAssociationResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return replaceNetworkAclAssociationResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("newAssociationId", targetDepth)) { replaceNetworkAclAssociationResult.setNewAssociationId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return replaceNetworkAclAssociationResult; } } } }
public SendCustomVerificationEmailResult unmarshall(StaxUnmarshallerContext context) throws Exception { SendCustomVerificationEmailResult sendCustomVerificationEmailResult = new SendCustomVerificationEmailResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 2; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return sendCustomVerificationEmailResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("MessageId", targetDepth)) { sendCustomVerificationEmailResult.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return sendCustomVerificationEmailResult; } } } }
public CidrBlock unmarshall(StaxUnmarshallerContext context) throws Exception { CidrBlock cidrBlock = new CidrBlock(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return cidrBlock; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("cidrBlock", targetDepth)) { cidrBlock.setCidrBlock(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return cidrBlock; } } } }