コード例 #1
0
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.CField instance = (com.seapine.ttsoapcgi.CField) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordid()), ns1_recordid_QNAME, null, writer, context);
    ns3_myns3_string__java_lang_String_String_Serializer.serialize(
        instance.getName(), ns1_name_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.TtsoapcgiPortType_deleteTestRunByRecordID_RequestStruct instance =
        (com.seapine.ttsoapcgi.TtsoapcgiPortType_deleteTestRunByRecordID_RequestStruct) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getCookie()), ns1_cookie_QNAME, null, writer, context);
    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordID()), ns1_recordID_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj,
      javax.xml.namespace.QName name,
      SerializerCallback callback,
      XMLWriter writer,
      SOAPSerializationContext context)
      throws Exception {
    com.seapine.ttsoapcgi.CEventDefinition instance = (com.seapine.ttsoapcgi.CEventDefinition) obj;

    if (obj instanceof com.seapine.ttsoapcgi.CDefectEventDefinition) {
      ns1_myCDefectEventDefinition_SOAPSerializer.serialize(obj, name, callback, writer, context);
    } else {
      ns1_myCEventDefinition_SOAPSerializer.serialize(obj, name, callback, writer, context);
    }
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_checkLoginStatus_RequestStruct2 instance =
        (com.m1.ems.ws.client.registration.RegistrationService_checkLoginStatus_RequestStruct2) obj;

    ns2_myns2_string__java_lang_String_String_Serializer.serialize(
        instance.getString_1(), ns1_String_1_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct instance =
        (com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordID()), ns1_recordID_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_login2_ResponseStruct2 instance =
        (com.m1.ems.ws.client.registration.RegistrationService_login2_ResponseStruct2) obj;

    ns3_myLoginResp_SOAPSerializer.serialize(
        instance.getResult(), ns1_result_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_loginUsingRegistration_RequestStruct2
        instance =
            (com.m1.ems.ws.client.registration
                    .RegistrationService_loginUsingRegistration_RequestStruct2)
                obj;

    ns3_myRegistrationData_SOAPSerializer.serialize(
        instance.getRegistrationData_1(), ns1_RegistrationData_1_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj,
      javax.xml.namespace.QName name,
      SerializerCallback callback,
      XMLWriter writer,
      SOAPSerializationContext context)
      throws Exception {
    dictionary.InvalidParameterException_Exception instance =
        (dictionary.InvalidParameterException_Exception) obj;

    if (obj instanceof dictionary.LanguagePairNotUniquelyDecidedException_Exception) {
      ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else if (obj instanceof dictionary.UnsupportedLanguagePairException_Exception) {
      ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else if (obj instanceof dictionary.UnsupportedMatchingMethodException_Exception) {
      ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else {
      ns1_myInvalidParameterException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    }
  }