Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsWSDLLoadingContext Class Reference

#include <nsWSDLLoader.h>

Collaboration diagram for nsWSDLLoadingContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsWSDLLoadingContext (nsIDOMDocument *aDocument, const nsAString &aLocation)
 ~nsWSDLLoadingContext ()
void GetRootElement (nsIDOMElement **aElement)
PRUint32 GetChildIndex ()
void SetChildIndex (PRUint32 aChildIndex)
void GetTargetNamespace (nsAString &aNamespace)
void GetDocumentLocation (nsAString &aLocation)

Protected Attributes

nsCOMPtr< nsIDOMDocumentmDocument
PRUint32 mChildIndex
nsString mDocumentLocation

Detailed Description

Definition at line 102 of file nsWSDLLoader.h.


Constructor & Destructor Documentation

nsWSDLLoadingContext::nsWSDLLoadingContext ( nsIDOMDocument aDocument,
const nsAString &  aLocation 
) [inline]

Definition at line 105 of file nsWSDLLoader.h.

    : mDocument(aDocument), mChildIndex(0), mDocumentLocation(aLocation)
  {
  }

Definition at line 110 of file nsWSDLLoader.h.

  {
  }

Member Function Documentation

Definition at line 119 of file nsWSDLLoader.h.

  {
    return mChildIndex;
  }

Here is the caller graph for this function:

void nsWSDLLoadingContext::GetDocumentLocation ( nsAString &  aLocation) [inline]

Definition at line 140 of file nsWSDLLoader.h.

  {
    aLocation.Assign(mDocumentLocation);
  }

Here is the caller graph for this function:

Definition at line 114 of file nsWSDLLoader.h.

  {
    mDocument->GetDocumentElement(aElement);
  }

Here is the caller graph for this function:

void nsWSDLLoadingContext::GetTargetNamespace ( nsAString &  aNamespace) [inline]

Definition at line 128 of file nsWSDLLoader.h.

  {
    nsCOMPtr<nsIDOMElement> element;
    GetRootElement(getter_AddRefs(element));
    if (element) {
      element->GetAttribute(NS_LITERAL_STRING("targetNamespace"), aNamespace);
    }
    else {
      aNamespace.Truncate();
    }
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 123 of file nsWSDLLoader.h.

  {
    mChildIndex = aChildIndex;
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 150 of file nsWSDLLoader.h.

Definition at line 149 of file nsWSDLLoader.h.

Definition at line 151 of file nsWSDLLoader.h.


The documentation for this class was generated from the following file: