Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsWSDLLoader.cpp File Reference
#include "nsIWebServiceErrorHandler.h"
#include "nsWSDLLoader.h"
#include "nsIDOMEvent.h"
#include "nsIDOMEventTarget.h"
#include "nsNetUtil.h"
#include "nsIDOMDocument.h"
#include "nsIDOM3Node.h"
#include "nsReadableUtils.h"
#include "nsIXPConnect.h"
#include "nsIScriptSecurityManager.h"
#include "nsIPrincipal.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsStaticAtom.h"
#include "nsISOAPMessage.h"
#include "nsIPrefService.h"
#include "nsWSDLAtomList.h"

Go to the source code of this file.


#define SCHEMA_2001_NAMESPACE   ""
#define SCHEMA_1999_NAMESPACE   ""
#define WSDL_ATOM(_name, _value)   nsIAtom* nsWSDLAtoms::_name;
#define WSDL_ATOM(_name, _value)   { _value, &nsWSDLAtoms::_name },


static PRBool IsElementOfNamespace (nsIDOMElement *aElement, const nsAString &aNamespace)
static nsresult ParseQualifiedName (nsIDOMElement *aContext, const nsAString &aQualifiedName, nsAString &aPrefix, nsAString &aLocalName, nsAString &aNamespaceURI)


static const nsStaticAtom atomInfo []

Define Documentation

#define SCHEMA_1999_NAMESPACE   ""

Definition at line 73 of file nsWSDLLoader.cpp.

#define SCHEMA_2001_NAMESPACE   ""

Definition at line 72 of file nsWSDLLoader.cpp.

#define WSDL_ATOM (   _name,
)    nsIAtom* nsWSDLAtoms::_name;

Definition at line 82 of file nsWSDLLoader.cpp.

#define WSDL_ATOM (   _name,
)    { _value, &nsWSDLAtoms::_name },

Definition at line 82 of file nsWSDLLoader.cpp.

Function Documentation

static PRBool IsElementOfNamespace ( nsIDOMElement aElement,
const nsAString &  aNamespace 
) [inline, static]

Definition at line 264 of file nsWSDLLoader.cpp.

       nsAutoString namespaceURI;
       return namespaceURI.Equals(aNamespace);

Here is the caller graph for this function:

static nsresult ParseQualifiedName ( nsIDOMElement aContext,
const nsAString &  aQualifiedName,
nsAString &  aPrefix,
nsAString &  aLocalName,
nsAString &  aNamespaceURI 
) [static]

Definition at line 860 of file nsWSDLLoader.cpp.

  nsReadingIterator<PRUnichar> pos, begin, end;

  pos = begin;

  if (FindCharInReadable(PRUnichar(':'), pos, end)) {
    CopyUnicodeTo(begin, pos, aPrefix);
    CopyUnicodeTo(++pos, end, aLocalName);
  else {
    CopyUnicodeTo(begin, end, aLocalName);

  nsCOMPtr<nsIDOM3Node> node(do_QueryInterface(aContext));
  if (!node) {

  return node->LookupNamespaceURI(aPrefix, aNamespaceURI);

Here is the call graph for this function:

Variable Documentation

Initial value:
#define WSDL_ATOM(_name, _value) 


Definition at line 86 of file nsWSDLLoader.cpp.