public java.lang.Object doDeserialize( SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context) throws java.lang.Exception { com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct instance = new com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct(); java.lang.Object member; boolean isComplete = true; javax.xml.namespace.QName elementName; reader.nextElementContent(); elementName = reader.getName(); if (reader.getState() == XMLReader.START) { if (elementName.equals(ns1_recordID_QNAME)) { member = ns3_myns3__long__long_Long_Serializer.deserialize(ns1_recordID_QNAME, reader, context); instance.setRecordID(((Long) member).longValue()); reader.nextElementContent(); } else { throw new DeserializationException( "soap.unexpectedElementName", new Object[] {ns1_recordID_QNAME, elementName}); } } XMLReaderUtil.verifyReaderState(reader, XMLReader.END); return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state); }
public java.lang.Object doDeserialize( javax.xml.namespace.QName name, XMLReader reader, SOAPDeserializationContext context) throws Exception { javax.xml.namespace.QName elementType = getType(reader); if (elementType != null && elementType.equals(ns1_myCDefectEventDefinition_SOAPSerializer.getXmlType())) { return ns1_myCDefectEventDefinition_SOAPSerializer.deserialize(name, reader, context); } else if (elementType == null || elementType.equals(ns1_myCEventDefinition_SOAPSerializer.getXmlType())) { Object obj = ns1_myCEventDefinition_SOAPSerializer.deserialize(name, reader, context); return obj; } throw new DeserializationException( "soap.unexpectedElementType", new Object[] {"", elementType.toString()}); }
public java.lang.Object doDeserialize( SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context) throws java.lang.Exception { com.m1.ems.ws.client.registration.RegistrationService_loginUsingRegistration_RequestStruct2 instance = new com.m1.ems.ws.client.registration .RegistrationService_loginUsingRegistration_RequestStruct2(); com.m1.ems.ws.client.registration .RegistrationService_loginUsingRegistration_RequestStruct2_SOAPBuilder builder = null; java.lang.Object member; boolean isComplete = true; javax.xml.namespace.QName elementName; reader.nextElementContent(); elementName = reader.getName(); if (reader.getState() == XMLReader.START) { if (elementName.equals(ns1_RegistrationData_1_QNAME)) { member = ns3_myRegistrationData_SOAPSerializer.deserialize( ns1_RegistrationData_1_QNAME, reader, context); if (member instanceof SOAPDeserializationState) { if (builder == null) { builder = new com.m1.ems.ws.client.registration .RegistrationService_loginUsingRegistration_RequestStruct2_SOAPBuilder(); } state = registerWithMemberState(instance, state, member, myREGISTRATIONDATA_1_INDEX, builder); isComplete = false; } else { instance.setRegistrationData_1( (com.m1.ems.ws.client.registration.RegistrationData) member); } reader.nextElementContent(); } else { throw new DeserializationException( "soap.unexpectedElementName", new Object[] {ns1_RegistrationData_1_QNAME, elementName}); } } XMLReaderUtil.verifyReaderState(reader, XMLReader.END); return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state); }
public java.lang.Object doDeserialize( SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context) throws java.lang.Exception { com.seapine.ttsoapcgi.CField instance = new com.seapine.ttsoapcgi.CField(); com.seapine.ttsoapcgi.CField_SOAPBuilder builder = null; java.lang.Object member; boolean isComplete = true; javax.xml.namespace.QName elementName; reader.nextElementContent(); elementName = reader.getName(); if (reader.getState() == XMLReader.START) { if (elementName.equals(ns1_recordid_QNAME)) { member = ns3_myns3__long__long_Long_Serializer.deserialize(ns1_recordid_QNAME, reader, context); instance.setRecordid(((Long) member).longValue()); reader.nextElementContent(); } } elementName = reader.getName(); if (reader.getState() == XMLReader.START) { if (elementName.equals(ns1_name_QNAME)) { member = ns3_myns3_string__java_lang_String_String_Serializer.deserialize( ns1_name_QNAME, reader, context); if (member instanceof SOAPDeserializationState) { if (builder == null) { builder = new com.seapine.ttsoapcgi.CField_SOAPBuilder(); } state = registerWithMemberState(instance, state, member, myNAME_INDEX, builder); isComplete = false; } else { instance.setName((java.lang.String) member); } reader.nextElementContent(); } } XMLReaderUtil.verifyReaderState(reader, XMLReader.END); return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state); }
public java.lang.Object doDeserialize( javax.xml.namespace.QName name, XMLReader reader, SOAPDeserializationContext context) throws Exception { javax.xml.namespace.QName elementType = getType(reader); if (elementType != null && elementType.equals( ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.getXmlType())) { return ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.deserialize( name, reader, context); } else if (elementType != null && elementType.equals( ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.getXmlType())) { return ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.deserialize( name, reader, context); } else if (elementType != null && elementType.equals( ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.getXmlType())) { return ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.deserialize( name, reader, context); } else if (elementType == null || elementType.equals( ns1_myInvalidParameterException_Exception_SOAPSerializer.getXmlType())) { Object obj = ns1_myInvalidParameterException_Exception_SOAPSerializer.deserialize( name, reader, context); while (reader.getState() == XMLReader.START) { reader.skipElement(); reader.nextElementContent(); } return obj; } throw new DeserializationException( "soap.unexpectedElementType", new Object[] {"", elementType.toString()}); }