Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
XSLTProcessorModule.cpp File Reference
#include "nsICategoryManager.h"
#include "nsIDOMClassInfo.h"
#include "nsIDOMNSXPathExpression.h"
#include "nsIDOMXPathExpression.h"
#include "nsIDOMXPathNSResolver.h"
#include "nsIDOMXPathResult.h"
#include "nsIErrorService.h"
#include "nsIExceptionService.h"
#include "nsIGenericFactory.h"
#include "nsIParserService.h"
#include "nsIScriptNameSpaceManager.h"
#include "nsIServiceManager.h"
#include "nsXPathEvaluator.h"
#include "nsXPathException.h"
#include "nsXPIDLString.h"
#include "txAtoms.h"
#include "txMozillaXSLTProcessor.h"
#include "TxLog.h"
#include "nsCRT.h"
#include "nsIScriptSecurityManager.h"
#include "txURIUtils.h"
#include "txXSLTProcessor.h"
#include "nsXPath1Scheme.h"
#include "nsXFormsXPathEvaluator.h"

Go to the source code of this file.

Defines

#define TRANSFORMIIX_DOMCI_EXTENSION_CID   { 0x1c1a3c01, 0x14f6, 0x11d6, {0xa7, 0xf2, 0xea, 0x50, 0x2a, 0xf8, 0x15, 0xdc} }
#define TRANSFORMIIX_XPATH1_SCHEME_CID   { 0xc351177, 0x159, 0x4500, { 0x86, 0xb0, 0xa2, 0x19, 0xdf, 0xde, 0x42, 0x58 } }
#define TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID   "@mozilla.org/transformiix-domci-extender;1"

Functions

static NS_DEFINE_CID (kXSLTProcessorCID, TRANSFORMIIX_XSLT_PROCESSOR_CID)
 NS_DOMCI_EXTENSION_ENTRY_INTERFACE (nsIXSLTProcessorObsolete) NS_DOMCI_EXTENSION_ENTRY_END(XSLTProcessor
&static kXSLTProcessorCID NS_DEFINE_CID (kXPathEvaluatorCID, TRANSFORMIIX_XPATH_EVALUATOR_CID)
 NS_DOMCI_EXTENSION_ENTRY_END (XPathEvaluator, nsIDOMXPathEvaluator, PR_TRUE,&kXPathEvaluatorCID) NS_DOMCI_EXTENSION_ENTRY_END(XPathException
nsnull NS_DOMCI_EXTENSION_ENTRY_END (XPathExpression, nsIDOMXPathExpression, PR_TRUE, nsnull) NS_DOMCI_EXTENSION_ENTRY_END(XPathNSResolver
nsnull nsnull NS_DOMCI_EXTENSION_ENTRY_END (XPathResult, nsIDOMXPathResult, PR_TRUE, nsnull) NS_DOMCI_EXTENSION_ENDstatic NS_METHOD RegisterTransformiix(nsIComponentManager *aCompMgr
 if (NS_FAILED(rv)) return rv
 NS_ENSURE_SUCCESS (rv, rv)
 if (!iidString) return NS_ERROR_OUT_OF_MEMORY
 Initialize (nsIModule *aSelf)
 Shutdown (nsIModule *aSelf)

Variables

 nsIXSLTProcessor
 PR_TRUE
 nsIDOMXPathException
nsnull nsIDOMXPathNSResolver
nsnull nsnull nsIFileaPath
nsnull nsnull nsIFile const char * registryLocation
nsnull nsnull nsIFile const
char const char * 
componentType
nsnull nsnull nsIFile const
char const char const
nsModuleComponentInfo *info
nsresult 
rv = NS_OK
nsCOMPtr< nsICategoryManagercatman
nsXPIDLCString previous
char * iidString = NS_GET_IID(nsIXSLTProcessorObsolete).ToString()
static PRBool gInitialized = PR_FALSE
static nsIExceptionProvidergXPathExceptionProvider = 0
nsINameSpaceManagergTxNameSpaceManager = 0
nsIParserServicegTxParserService = 0
static const nsModuleComponentInfo gComponents []

Define Documentation

#define TRANSFORMIIX_DOMCI_EXTENSION_CID   { 0x1c1a3c01, 0x14f6, 0x11d6, {0xa7, 0xf2, 0xea, 0x50, 0x2a, 0xf8, 0x15, 0xdc} }

Definition at line 70 of file XSLTProcessorModule.cpp.

#define TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID   "@mozilla.org/transformiix-domci-extender;1"

Definition at line 77 of file XSLTProcessorModule.cpp.

#define TRANSFORMIIX_XPATH1_SCHEME_CID   { 0xc351177, 0x159, 0x4500, { 0x86, 0xb0, 0xa2, 0x19, 0xdf, 0xde, 0x42, 0x58 } }

Definition at line 74 of file XSLTProcessorModule.cpp.


Function Documentation

if ( NS_FAILED(rv )
if ( iidString)

Definition at line 653 of file mapi32.cpp.

       {
              return(MAPI_E_FAILURE);
       }
Initialize ( nsIModule aSelf)
static NS_DEFINE_CID ( kXSLTProcessorCID  ,
TRANSFORMIIX_XSLT_PROCESSOR_CID   
) [static]
& static kXSLTProcessorCID NS_DEFINE_CID ( kXPathEvaluatorCID  ,
TRANSFORMIIX_XPATH_EVALUATOR_CID   
) [static]
NS_DOMCI_EXTENSION_ENTRY_END ( XPathEvaluator  ,
nsIDOMXPathEvaluator  ,
PR_TRUE  ,
kXPathEvaluatorCID 
)
NS_ENSURE_SUCCESS ( rv  ,
rv   
)
Shutdown ( nsIModule aSelf)

Variable Documentation

Definition at line 134 of file XSLTProcessorModule.cpp.

Initial value:

Definition at line 141 of file XSLTProcessorModule.cpp.

Definition at line 134 of file XSLTProcessorModule.cpp.

Initial value:
 {
    { "XSLTProcessor",
      TRANSFORMIIX_XSLT_PROCESSOR_CID,
      TRANSFORMIIX_XSLT_PROCESSOR_CONTRACTID,
      txMozillaXSLTProcessorConstructor,
      RegisterTransformiix },
    { "XPathEvaluator",
      TRANSFORMIIX_XPATH_EVALUATOR_CID,
      NS_XPATH_EVALUATOR_CONTRACTID,
      nsXPathEvaluatorConstructor },

    { "XFormsXPathEvaluator",
      TRANSFORMIIX_XFORMS_XPATH_EVALUATOR_CID,
      NS_XFORMS_XPATH_EVALUATOR_CONTRACTID,
      nsXFormsXPathEvaluatorConstructor },

    { "Transformiix DOMCI Extender",
      TRANSFORMIIX_DOMCI_EXTENSION_CID,
      TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
      NS_DOMCI_EXTENSION_CONSTRUCTOR(Transformiix) },
    { "XPath1 XPointer Scheme Processor",
      TRANSFORMIIX_XPATH1_SCHEME_CID,
      NS_XPOINTER_SCHEME_PROCESSOR_BASE "xpath1",
      nsXPath1SchemeProcessorConstructor }
}

Definition at line 298 of file XSLTProcessorModule.cpp.

Definition at line 206 of file XSLTProcessorModule.cpp.

Definition at line 208 of file XSLTProcessorModule.cpp.

Definition at line 209 of file XSLTProcessorModule.cpp.

Definition at line 207 of file XSLTProcessorModule.cpp.

Definition at line 184 of file XSLTProcessorModule.cpp.

Definition at line 98 of file XSLTProcessorModule.cpp.

Definition at line 109 of file XSLTProcessorModule.cpp.

Definition at line 86 of file XSLTProcessorModule.cpp.

Definition at line 86 of file XSLTProcessorModule.cpp.

Definition at line 147 of file XSLTProcessorModule.cpp.

Definition at line 134 of file XSLTProcessorModule.cpp.

Definition at line 139 of file XSLTProcessorModule.cpp.