Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsDOMBuilder.cpp File Reference
#include "nsDOMBuilder.h"
#include "nsDOMError.h"
#include "nsContentUtils.h"
#include "nsIDOMDocument.h"

Go to the source code of this file.


nsresult NS_NewDOMBuilder (nsIDOMDOMBuilder **aResult, PRUint16 aMode, const nsAString &aSchemaType, nsIDOMDOMImplementation *aDOMImplementation)


static const char kLoadAsData [] = "loadAsData"

Function Documentation

nsresult NS_NewDOMBuilder ( nsIDOMDOMBuilder **  aResult,
PRUint16  aMode,
const nsAString &  aSchemaType,
nsIDOMDOMImplementation aDOMImplementation 

Definition at line 47 of file nsDOMBuilder.cpp.

  NS_PRECONDITION(aResult, "Null out ptr?  Who do you think you are, flouting XPCOM contract?");
  NS_PRECONDITION(aDOMImplementation, "How are we supposed to create documents without a DOMImplementation?");

  nsDOMBuilder* it = new nsDOMBuilder(aMode, aSchemaType, aDOMImplementation);
  if (!it)

  return CallQueryInterface(it, aResult);

Here is the call graph for this function:

Variable Documentation

const char kLoadAsData[] = "loadAsData" [static]

Definition at line 44 of file nsDOMBuilder.cpp.