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()}); }
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()}); }