Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
txNamespaceManager Class Reference

#include <txXPathNode.h>

List of all members.

Static Public Member Functions

static PRInt32 getNamespaceID (const nsAString &aNamespaceURI)
static nsresult getNamespaceURI (const PRInt32 aID, nsAString &aResult)

Detailed Description

Definition at line 120 of file txXPathNode.h.


Member Function Documentation

PRInt32 txNamespaceManager::getNamespaceID ( const nsAString &  aNamespaceURI) [inline, static]

Definition at line 129 of file txXPathNode.h.

{
#ifdef TX_EXE
    return txStandaloneNamespaceManager::getNamespaceID(aNamespaceURI);
#else
    NS_ASSERTION(gTxNameSpaceManager, "No namespace manager");

    PRInt32 namespaceID = kNameSpaceID_Unknown;
    gTxNameSpaceManager->RegisterNameSpace(aNamespaceURI, namespaceID);
    return namespaceID;
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult txNamespaceManager::getNamespaceURI ( const PRInt32  aID,
nsAString &  aResult 
) [inline, static]

Definition at line 144 of file txXPathNode.h.

{
#ifdef TX_EXE
    return txStandaloneNamespaceManager::getNamespaceURI(aID, aResult);
#else
    NS_ASSERTION(gTxNameSpaceManager, "No namespace manager");

    return gTxNameSpaceManager->GetNameSpaceURI(aID, aResult);
#endif
}

Here is the call graph for this function:


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