Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsDOMBuilder.h File Reference
#include "nsIDOMDOMBuilder.h"
#include "nsIDOMDOMEntityResolver.h"
#include "nsIDOMDOMErrorHandler.h"
#include "nsIDOMDOMBuilderFilter.h"
#include "nsIDOMDOMImplementation.h"
#include "nsCOMPtr.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  nsDOMBuilder
 This class implements the DOMBuilder from DOM3 Load/Save. More...


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

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: