зеркало из https://github.com/mozilla/gecko-dev.git
Whitespace fixes.
SOAP is not part of default build.
This commit is contained in:
Родитель
d5dfe5563b
Коммит
e3f8c4ff5c
|
@ -38,16 +38,12 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
/**
|
||||
* This interface permits attachment of SOAP attachments.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6192dcbe-1dd2-11b2-81ad-a4597614c4ae)]
|
||||
interface nsISOAPAttachments:nsISupports {
|
||||
interface nsISOAPAttachments : nsISupports {
|
||||
|
||||
/**
|
||||
* Get the attachment associated with a particular identifier.
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsIVariant;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -69,7 +65,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(843afaa8-1dd2-11b2-8b0d-9b5d16fe64ea)]
|
||||
interface nsISOAPBlock:nsISupports {
|
||||
interface nsISOAPBlock : nsISupports {
|
||||
/**
|
||||
* Initialize the block for additional decoding information.
|
||||
*
|
||||
|
@ -78,7 +74,7 @@ interface nsISOAPBlock:nsISupports {
|
|||
* @param aVersion SOAP version for decoding special header attributes.
|
||||
*/
|
||||
void init(in nsISOAPAttachments aAttachments,
|
||||
in unsigned short aVersion);
|
||||
in unsigned short aVersion);
|
||||
|
||||
/**
|
||||
* The namespace URI of the block. Ignored if name is null.
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
#include "nsISupports.idl"
|
||||
#include "nsISOAPMessage.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsISOAPResponse;
|
||||
interface nsISOAPResponseListener;
|
||||
interface nsISOAPCallCompletion;
|
||||
|
@ -57,7 +53,7 @@ interface nsISOAPCallCompletion;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(a8fefe40-52bc-11d4-9a57-000064657374)]
|
||||
interface nsISOAPCall:nsISOAPMessage {
|
||||
interface nsISOAPCall : nsISOAPMessage {
|
||||
|
||||
/**
|
||||
* The URI to which the message will be sent, identifying the
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponseListener;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(86114dd8-1dd2-11b2-ab2b-91d0c995e03a)]
|
||||
interface nsISOAPCallCompletion:nsISupports {
|
||||
interface nsISOAPCallCompletion : nsISupports {
|
||||
|
||||
/**
|
||||
* The call which was invoked (may have changed since
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(4c2e02ae-1dd2-11b2-b1cd-c79dea3d46db)]
|
||||
interface nsISOAPDecoder:nsISupports {
|
||||
interface nsISOAPDecoder : nsISupports {
|
||||
|
||||
/**
|
||||
* Decode the source DOM node
|
||||
|
@ -70,7 +70,7 @@ interface nsISOAPDecoder:nsISupports {
|
|||
* the operation failed or did not return a result.
|
||||
*/
|
||||
nsIVariant decode(in nsISOAPEncoding aEncoding,
|
||||
in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
};
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsISchemaType;
|
||||
interface nsISOAPEncoding;
|
||||
interface nsIVariant;
|
||||
|
@ -53,7 +49,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(fc33ffd6-1dd1-11b2-8750-fa62430a38b4)]
|
||||
interface nsISOAPEncoder:nsISupports {
|
||||
interface nsISOAPEncoder : nsISupports {
|
||||
|
||||
/**
|
||||
* Encode the source variant.
|
||||
|
@ -79,10 +75,10 @@ interface nsISOAPEncoder:nsISupports {
|
|||
* @param aAttachments Accumulates any attachments.
|
||||
*/
|
||||
nsIDOMElement encode(in nsISOAPEncoding aEncoding,
|
||||
in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
};
|
||||
|
|
|
@ -63,7 +63,7 @@ interface nsISchemaCollection;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(9ae49600-1dd1-11b2-877f-e62f620c5e92)]
|
||||
interface nsISOAPEncoding:nsISupports {
|
||||
interface nsISOAPEncoding : nsISupports {
|
||||
|
||||
/**
|
||||
* The name of the encoding as it is known to SOAP.
|
||||
|
@ -88,7 +88,7 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* does not exist and it was not requested that it be created.
|
||||
*/
|
||||
nsISOAPEncoding getAssociatedEncoding(in AString aStyleURI,
|
||||
in boolean aCreateIf);
|
||||
in boolean aCreateIf);
|
||||
|
||||
/**
|
||||
* Set an encoder in the encoding.
|
||||
|
@ -171,11 +171,11 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* @return The element which was inserted and encoded.
|
||||
*/
|
||||
nsIDOMElement encode(in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
|
||||
/**
|
||||
* Decode the source DOM node
|
||||
|
@ -194,8 +194,8 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* the operation failed or did not return a result.
|
||||
*/
|
||||
nsIVariant decode(in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
/**
|
||||
* Map an external schema URI to an internal one. In an
|
||||
* ideal world, we don't need this, but schemas change URIs,
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMElement;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6694-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPFault:nsISupports {
|
||||
interface nsISOAPFault : nsISupports {
|
||||
/**
|
||||
* The DOM element representing the fault in the response SOAP message.
|
||||
* This must be set for the rest of the interface to function correctly.
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISOAPBlock.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsIVariant;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -55,7 +51,7 @@ interface nsISchemaType;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(063d4a4e-1dd2-11b2-a365-cbaf1651f140)]
|
||||
interface nsISOAPHeaderBlock:nsISOAPBlock {
|
||||
interface nsISOAPHeaderBlock : nsISOAPBlock {
|
||||
/**
|
||||
* The actor URI of the header block. If element is set,
|
||||
* then this is a computed value. If this is modified,
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMDocument;
|
||||
interface nsIDOMElement;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -61,7 +57,7 @@ interface nsIVariant;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(3970815e-1dd2-11b2-a475-db4dac6826f1)]
|
||||
interface nsISOAPMessage:nsISupports {
|
||||
interface nsISOAPMessage : nsISupports {
|
||||
|
||||
const unsigned short VERSION_1_1 = 0;
|
||||
const unsigned short VERSION_1_2 = 1;
|
||||
|
@ -173,14 +169,14 @@ interface nsISOAPMessage:nsISupports {
|
|||
* encoded, which may null if there are no parameters.
|
||||
*/
|
||||
void encode(in unsigned short aVersion,
|
||||
in AString aMethodName, in AString aTargetObjectURI,
|
||||
in unsigned long aHeaderBlockCount,
|
||||
[array,
|
||||
size_is(aHeaderBlockCount)] in nsISOAPHeaderBlock
|
||||
aHeaderBlocks, in unsigned long aParameterCount,[array,
|
||||
size_is
|
||||
(aParameterCount)]
|
||||
in nsISOAPParameter aParameters);
|
||||
in AString aMethodName, in AString aTargetObjectURI,
|
||||
in unsigned long aHeaderBlockCount,
|
||||
[array,
|
||||
size_is(aHeaderBlockCount)] in nsISOAPHeaderBlock
|
||||
aHeaderBlocks, in unsigned long aParameterCount,[array,
|
||||
size_is
|
||||
(aParameterCount)]
|
||||
in nsISOAPParameter aParameters);
|
||||
|
||||
/**
|
||||
* Gathers the header blocks of a message so that they can be
|
||||
|
@ -192,8 +188,8 @@ interface nsISOAPMessage:nsISupports {
|
|||
* @return Array of header blocks found in the message.
|
||||
*/
|
||||
void getHeaderBlocks(out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPHeaderBlock aHeaderBlocks);
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPHeaderBlock aHeaderBlocks);
|
||||
|
||||
/**
|
||||
* Gathers the parameters of a message so that they can be
|
||||
|
@ -210,9 +206,9 @@ interface nsISOAPMessage:nsISupports {
|
|||
* @return Array of parameters found in the message.
|
||||
*/
|
||||
void getParameters(in boolean aDocumentStyle,
|
||||
out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPParameter aParameters);
|
||||
out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPParameter aParameters);
|
||||
|
||||
/**
|
||||
* The primary encoding of the message, which is established
|
||||
|
|
|
@ -50,7 +50,7 @@ interface nsISchemaType;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6690-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPParameter:nsISOAPBlock {
|
||||
interface nsISOAPParameter : nsISOAPBlock {
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIPropertyBag;
|
||||
interface nsIVariant;
|
||||
|
||||
|
@ -52,7 +48,7 @@ interface nsIVariant;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(f34cb3c8-1dd1-11b2-8a18-a93a99d92c08)]
|
||||
interface nsISOAPPropertyBagMutator:nsISupports {
|
||||
interface nsISOAPPropertyBagMutator : nsISupports {
|
||||
/**
|
||||
* The property bag that is being constructed.
|
||||
* After the mutator is destroyed, this is
|
||||
|
|
|
@ -50,7 +50,7 @@ interface nsISOAPFault;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6691-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPResponse:nsISOAPMessage {
|
||||
interface nsISOAPResponse : nsISOAPMessage {
|
||||
/**
|
||||
* The fault returned in the response, if one was generated. NULL
|
||||
* if there was no fault. This does not rely on the response
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponse;
|
|||
|
||||
[scriptable, function,
|
||||
uuid(99ec6692-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPResponseListener:nsISupports {
|
||||
interface nsISOAPResponseListener : nsISupports {
|
||||
/**
|
||||
* This method is invoked when we receive an asynchronous response to
|
||||
* a SOAP message. The listener is registered as part of the original
|
||||
|
@ -74,6 +74,6 @@ interface nsISOAPResponseListener:nsISupports {
|
|||
* indicating that the last response was already sent.
|
||||
*/
|
||||
boolean handleResponse(in nsISOAPResponse aResponse,
|
||||
in nsISOAPCall aCall, in unsigned long status,
|
||||
in boolean aLast);
|
||||
in nsISOAPCall aCall, in unsigned long status,
|
||||
in boolean aLast);
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponseListener;
|
|||
* if it is not. Services may be chained.
|
||||
*/
|
||||
[scriptable, uuid(9927fa40-1dd1-11b2-a8d1-857ad21b872c)]
|
||||
interface nsISOAPService:nsISupports {
|
||||
interface nsISOAPService : nsISupports {
|
||||
/**
|
||||
* Configuration object that may contain more info on the service
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ interface nsISOAPService:nsISupports {
|
|||
* recorded in the message.
|
||||
*/
|
||||
boolean process(in nsISOAPMessage aMessage,
|
||||
in nsISOAPResponseListener aListener);
|
||||
in nsISOAPResponseListener aListener);
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsISOAPService;
|
||||
interface nsISOAPEncodingRegistry;
|
||||
|
|
|
@ -45,7 +45,7 @@ interface nsISOAPResponseListener;
|
|||
interface nsISOAPCallCompletion;
|
||||
|
||||
[scriptable, uuid(99ec6695-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPTransport:nsISupports {
|
||||
interface nsISOAPTransport : nsISupports {
|
||||
|
||||
/**
|
||||
* Send the specified message to the specified destination.
|
||||
|
@ -76,8 +76,8 @@ interface nsISOAPTransport:nsISupports {
|
|||
* null if listener is null.
|
||||
*/
|
||||
nsISOAPCallCompletion asyncCall(in nsISOAPCall aCall,
|
||||
in nsISOAPResponseListener aListener,
|
||||
in nsISOAPResponse aResponse);
|
||||
in nsISOAPResponseListener aListener,
|
||||
in nsISOAPResponse aResponse);
|
||||
|
||||
/**
|
||||
* Add listener for unsolicited messages arriving on the transport. Listeners
|
||||
|
@ -95,7 +95,7 @@ interface nsISOAPTransport:nsISupports {
|
|||
* later-declared services.
|
||||
*/
|
||||
void addListener(in nsISOAPTransportListener aListener,
|
||||
in boolean aCapture);
|
||||
in boolean aCapture);
|
||||
|
||||
/**
|
||||
* Remove listener for unsolicited messages arriving on the transport. This
|
||||
|
@ -110,7 +110,7 @@ interface nsISOAPTransport:nsISupports {
|
|||
* may be registered as both).
|
||||
*/
|
||||
void removeListener(in nsISOAPTransportListener aListener,
|
||||
in boolean aCapture);
|
||||
in boolean aCapture);
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -48,7 +48,7 @@ interface nsISOAPMessage;
|
|||
|
||||
[scriptable, function,
|
||||
uuid(99ec6696-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPTransportListener:nsISupports {
|
||||
interface nsISOAPTransportListener : nsISupports {
|
||||
|
||||
/**
|
||||
* This method is invoked when an unsolicited message is
|
||||
|
|
|
@ -38,16 +38,12 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
/**
|
||||
* This interface permits attachment of SOAP attachments.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6192dcbe-1dd2-11b2-81ad-a4597614c4ae)]
|
||||
interface nsISOAPAttachments:nsISupports {
|
||||
interface nsISOAPAttachments : nsISupports {
|
||||
|
||||
/**
|
||||
* Get the attachment associated with a particular identifier.
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsIVariant;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -69,7 +65,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(843afaa8-1dd2-11b2-8b0d-9b5d16fe64ea)]
|
||||
interface nsISOAPBlock:nsISupports {
|
||||
interface nsISOAPBlock : nsISupports {
|
||||
/**
|
||||
* Initialize the block for additional decoding information.
|
||||
*
|
||||
|
@ -78,7 +74,7 @@ interface nsISOAPBlock:nsISupports {
|
|||
* @param aVersion SOAP version for decoding special header attributes.
|
||||
*/
|
||||
void init(in nsISOAPAttachments aAttachments,
|
||||
in unsigned short aVersion);
|
||||
in unsigned short aVersion);
|
||||
|
||||
/**
|
||||
* The namespace URI of the block. Ignored if name is null.
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
#include "nsISupports.idl"
|
||||
#include "nsISOAPMessage.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsISOAPResponse;
|
||||
interface nsISOAPResponseListener;
|
||||
interface nsISOAPCallCompletion;
|
||||
|
@ -57,7 +53,7 @@ interface nsISOAPCallCompletion;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(a8fefe40-52bc-11d4-9a57-000064657374)]
|
||||
interface nsISOAPCall:nsISOAPMessage {
|
||||
interface nsISOAPCall : nsISOAPMessage {
|
||||
|
||||
/**
|
||||
* The URI to which the message will be sent, identifying the
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponseListener;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(86114dd8-1dd2-11b2-ab2b-91d0c995e03a)]
|
||||
interface nsISOAPCallCompletion:nsISupports {
|
||||
interface nsISOAPCallCompletion : nsISupports {
|
||||
|
||||
/**
|
||||
* The call which was invoked (may have changed since
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(4c2e02ae-1dd2-11b2-b1cd-c79dea3d46db)]
|
||||
interface nsISOAPDecoder:nsISupports {
|
||||
interface nsISOAPDecoder : nsISupports {
|
||||
|
||||
/**
|
||||
* Decode the source DOM node
|
||||
|
@ -70,7 +70,7 @@ interface nsISOAPDecoder:nsISupports {
|
|||
* the operation failed or did not return a result.
|
||||
*/
|
||||
nsIVariant decode(in nsISOAPEncoding aEncoding,
|
||||
in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
};
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsISchemaType;
|
||||
interface nsISOAPEncoding;
|
||||
interface nsIVariant;
|
||||
|
@ -53,7 +49,7 @@ interface nsISOAPAttachments;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(fc33ffd6-1dd1-11b2-8750-fa62430a38b4)]
|
||||
interface nsISOAPEncoder:nsISupports {
|
||||
interface nsISOAPEncoder : nsISupports {
|
||||
|
||||
/**
|
||||
* Encode the source variant.
|
||||
|
@ -79,10 +75,10 @@ interface nsISOAPEncoder:nsISupports {
|
|||
* @param aAttachments Accumulates any attachments.
|
||||
*/
|
||||
nsIDOMElement encode(in nsISOAPEncoding aEncoding,
|
||||
in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
};
|
||||
|
|
|
@ -63,7 +63,7 @@ interface nsISchemaCollection;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(9ae49600-1dd1-11b2-877f-e62f620c5e92)]
|
||||
interface nsISOAPEncoding:nsISupports {
|
||||
interface nsISOAPEncoding : nsISupports {
|
||||
|
||||
/**
|
||||
* The name of the encoding as it is known to SOAP.
|
||||
|
@ -88,7 +88,7 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* does not exist and it was not requested that it be created.
|
||||
*/
|
||||
nsISOAPEncoding getAssociatedEncoding(in AString aStyleURI,
|
||||
in boolean aCreateIf);
|
||||
in boolean aCreateIf);
|
||||
|
||||
/**
|
||||
* Set an encoder in the encoding.
|
||||
|
@ -171,11 +171,11 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* @return The element which was inserted and encoded.
|
||||
*/
|
||||
nsIDOMElement encode(in nsIVariant aSource,
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
in AString aNamespaceURI,
|
||||
in AString aName,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments,
|
||||
in nsIDOMElement aDestination);
|
||||
|
||||
/**
|
||||
* Decode the source DOM node
|
||||
|
@ -194,8 +194,8 @@ interface nsISOAPEncoding:nsISupports {
|
|||
* the operation failed or did not return a result.
|
||||
*/
|
||||
nsIVariant decode(in nsIDOMElement aSource,
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
in nsISchemaType aSchemaType,
|
||||
in nsISOAPAttachments aAttachments);
|
||||
/**
|
||||
* Map an external schema URI to an internal one. In an
|
||||
* ideal world, we don't need this, but schemas change URIs,
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMElement;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6694-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPFault:nsISupports {
|
||||
interface nsISOAPFault : nsISupports {
|
||||
/**
|
||||
* The DOM element representing the fault in the response SOAP message.
|
||||
* This must be set for the rest of the interface to function correctly.
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISOAPBlock.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsIVariant;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -55,7 +51,7 @@ interface nsISchemaType;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(063d4a4e-1dd2-11b2-a365-cbaf1651f140)]
|
||||
interface nsISOAPHeaderBlock:nsISOAPBlock {
|
||||
interface nsISOAPHeaderBlock : nsISOAPBlock {
|
||||
/**
|
||||
* The actor URI of the header block. If element is set,
|
||||
* then this is a computed value. If this is modified,
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMDocument;
|
||||
interface nsIDOMElement;
|
||||
interface nsISOAPEncoding;
|
||||
|
@ -61,7 +57,7 @@ interface nsIVariant;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(3970815e-1dd2-11b2-a475-db4dac6826f1)]
|
||||
interface nsISOAPMessage:nsISupports {
|
||||
interface nsISOAPMessage : nsISupports {
|
||||
|
||||
const unsigned short VERSION_1_1 = 0;
|
||||
const unsigned short VERSION_1_2 = 1;
|
||||
|
@ -173,14 +169,14 @@ interface nsISOAPMessage:nsISupports {
|
|||
* encoded, which may null if there are no parameters.
|
||||
*/
|
||||
void encode(in unsigned short aVersion,
|
||||
in AString aMethodName, in AString aTargetObjectURI,
|
||||
in unsigned long aHeaderBlockCount,
|
||||
[array,
|
||||
size_is(aHeaderBlockCount)] in nsISOAPHeaderBlock
|
||||
aHeaderBlocks, in unsigned long aParameterCount,[array,
|
||||
size_is
|
||||
(aParameterCount)]
|
||||
in nsISOAPParameter aParameters);
|
||||
in AString aMethodName, in AString aTargetObjectURI,
|
||||
in unsigned long aHeaderBlockCount,
|
||||
[array,
|
||||
size_is(aHeaderBlockCount)] in nsISOAPHeaderBlock
|
||||
aHeaderBlocks, in unsigned long aParameterCount,[array,
|
||||
size_is
|
||||
(aParameterCount)]
|
||||
in nsISOAPParameter aParameters);
|
||||
|
||||
/**
|
||||
* Gathers the header blocks of a message so that they can be
|
||||
|
@ -192,8 +188,8 @@ interface nsISOAPMessage:nsISupports {
|
|||
* @return Array of header blocks found in the message.
|
||||
*/
|
||||
void getHeaderBlocks(out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPHeaderBlock aHeaderBlocks);
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPHeaderBlock aHeaderBlocks);
|
||||
|
||||
/**
|
||||
* Gathers the parameters of a message so that they can be
|
||||
|
@ -210,9 +206,9 @@ interface nsISOAPMessage:nsISupports {
|
|||
* @return Array of parameters found in the message.
|
||||
*/
|
||||
void getParameters(in boolean aDocumentStyle,
|
||||
out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPParameter aParameters);
|
||||
out unsigned long aCount,
|
||||
[array, size_is(aCount),
|
||||
retval] out nsISOAPParameter aParameters);
|
||||
|
||||
/**
|
||||
* The primary encoding of the message, which is established
|
||||
|
|
|
@ -50,7 +50,7 @@ interface nsISchemaType;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6690-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPParameter:nsISOAPBlock {
|
||||
interface nsISOAPParameter : nsISOAPBlock {
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIPropertyBag;
|
||||
interface nsIVariant;
|
||||
|
||||
|
@ -52,7 +48,7 @@ interface nsIVariant;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(f34cb3c8-1dd1-11b2-8a18-a93a99d92c08)]
|
||||
interface nsISOAPPropertyBagMutator:nsISupports {
|
||||
interface nsISOAPPropertyBagMutator : nsISupports {
|
||||
/**
|
||||
* The property bag that is being constructed.
|
||||
* After the mutator is destroyed, this is
|
||||
|
|
|
@ -50,7 +50,7 @@ interface nsISOAPFault;
|
|||
*/
|
||||
|
||||
[scriptable, uuid(99ec6691-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPResponse:nsISOAPMessage {
|
||||
interface nsISOAPResponse : nsISOAPMessage {
|
||||
/**
|
||||
* The fault returned in the response, if one was generated. NULL
|
||||
* if there was no fault. This does not rely on the response
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponse;
|
|||
|
||||
[scriptable, function,
|
||||
uuid(99ec6692-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPResponseListener:nsISupports {
|
||||
interface nsISOAPResponseListener : nsISupports {
|
||||
/**
|
||||
* This method is invoked when we receive an asynchronous response to
|
||||
* a SOAP message. The listener is registered as part of the original
|
||||
|
@ -74,6 +74,6 @@ interface nsISOAPResponseListener:nsISupports {
|
|||
* indicating that the last response was already sent.
|
||||
*/
|
||||
boolean handleResponse(in nsISOAPResponse aResponse,
|
||||
in nsISOAPCall aCall, in unsigned long status,
|
||||
in boolean aLast);
|
||||
in nsISOAPCall aCall, in unsigned long status,
|
||||
in boolean aLast);
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ interface nsISOAPResponseListener;
|
|||
* if it is not. Services may be chained.
|
||||
*/
|
||||
[scriptable, uuid(9927fa40-1dd1-11b2-a8d1-857ad21b872c)]
|
||||
interface nsISOAPService:nsISupports {
|
||||
interface nsISOAPService : nsISupports {
|
||||
/**
|
||||
* Configuration object that may contain more info on the service
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ interface nsISOAPService:nsISupports {
|
|||
* recorded in the message.
|
||||
*/
|
||||
boolean process(in nsISOAPMessage aMessage,
|
||||
in nsISOAPResponseListener aListener);
|
||||
in nsISOAPResponseListener aListener);
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
%{ C++
|
||||
#include "nsAWritableString.h"
|
||||
%}
|
||||
|
||||
interface nsIDOMElement;
|
||||
interface nsISOAPService;
|
||||
interface nsISOAPEncodingRegistry;
|
||||
|
|
|
@ -45,7 +45,7 @@ interface nsISOAPResponseListener;
|
|||
interface nsISOAPCallCompletion;
|
||||
|
||||
[scriptable, uuid(99ec6695-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPTransport:nsISupports {
|
||||
interface nsISOAPTransport : nsISupports {
|
||||
|
||||
/**
|
||||
* Send the specified message to the specified destination.
|
||||
|
@ -76,8 +76,8 @@ interface nsISOAPTransport:nsISupports {
|
|||
* null if listener is null.
|
||||
*/
|
||||
nsISOAPCallCompletion asyncCall(in nsISOAPCall aCall,
|
||||
in nsISOAPResponseListener aListener,
|
||||
in nsISOAPResponse aResponse);
|
||||
in nsISOAPResponseListener aListener,
|
||||
in nsISOAPResponse aResponse);
|
||||
|
||||
/**
|
||||
* Add listener for unsolicited messages arriving on the transport. Listeners
|
||||
|
@ -95,7 +95,7 @@ interface nsISOAPTransport:nsISupports {
|
|||
* later-declared services.
|
||||
*/
|
||||
void addListener(in nsISOAPTransportListener aListener,
|
||||
in boolean aCapture);
|
||||
in boolean aCapture);
|
||||
|
||||
/**
|
||||
* Remove listener for unsolicited messages arriving on the transport. This
|
||||
|
@ -110,7 +110,7 @@ interface nsISOAPTransport:nsISupports {
|
|||
* may be registered as both).
|
||||
*/
|
||||
void removeListener(in nsISOAPTransportListener aListener,
|
||||
in boolean aCapture);
|
||||
in boolean aCapture);
|
||||
};
|
||||
|
||||
%{C++
|
||||
|
|
|
@ -48,7 +48,7 @@ interface nsISOAPMessage;
|
|||
|
||||
[scriptable, function,
|
||||
uuid(99ec6696-535f-11d4-9a58-000064657374)]
|
||||
interface nsISOAPTransportListener:nsISupports {
|
||||
interface nsISOAPTransportListener : nsISupports {
|
||||
|
||||
/**
|
||||
* This method is invoked when an unsolicited message is
|
||||
|
|
Загрузка…
Ссылка в новой задаче