public static ChangeInfoStaxUnmarshaller getInstance() { if (instance == null) instance = new ChangeInfoStaxUnmarshaller(); return instance; } }
public AssociateVPCWithHostedZoneResult unmarshall(StaxUnmarshallerContext context) throws Exception { AssociateVPCWithHostedZoneResult associateVPCWithHostedZoneResult = new AssociateVPCWithHostedZoneResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return associateVPCWithHostedZoneResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ChangeInfo", targetDepth)) { associateVPCWithHostedZoneResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return associateVPCWithHostedZoneResult; } } } }
public GetChangeResult unmarshall(StaxUnmarshallerContext context) throws Exception { GetChangeResult getChangeResult = new GetChangeResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return getChangeResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ChangeInfo", targetDepth)) { getChangeResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return getChangeResult; } } } }
public ChangeResourceRecordSetsResult unmarshall(StaxUnmarshallerContext context) throws Exception { ChangeResourceRecordSetsResult changeResourceRecordSetsResult = new ChangeResourceRecordSetsResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return changeResourceRecordSetsResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ChangeInfo", targetDepth)) { changeResourceRecordSetsResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return changeResourceRecordSetsResult; } } } }
public DisassociateVPCFromHostedZoneResult unmarshall(StaxUnmarshallerContext context) throws Exception { DisassociateVPCFromHostedZoneResult disassociateVPCFromHostedZoneResult = new DisassociateVPCFromHostedZoneResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return disassociateVPCFromHostedZoneResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ChangeInfo", targetDepth)) { disassociateVPCFromHostedZoneResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return disassociateVPCFromHostedZoneResult; } } } }
public DeleteHostedZoneResult unmarshall(StaxUnmarshallerContext context) throws Exception { DeleteHostedZoneResult deleteHostedZoneResult = new DeleteHostedZoneResult(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; if (context.isStartOfDocument()) targetDepth += 1; while (true) { XMLEvent xmlEvent = context.nextEvent(); if (xmlEvent.isEndDocument()) return deleteHostedZoneResult; if (xmlEvent.isAttribute() || xmlEvent.isStartElement()) { if (context.testExpression("ChangeInfo", targetDepth)) { deleteHostedZoneResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue; } } else if (xmlEvent.isEndElement()) { if (context.getCurrentDepth() < originalDepth) { return deleteHostedZoneResult; } } } }
createHostedZoneResult.setChangeInfo(ChangeInfoStaxUnmarshaller.getInstance().unmarshall(context)); continue;