Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXMLStylesheetPI.cpp File Reference
#include "nsIDOMLinkStyle.h"
#include "nsIDOMStyleSheet.h"
#include "nsIDocument.h"
#include "nsIStyleSheet.h"
#include "nsIURI.h"
#include "nsStyleLinkElement.h"
#include "nsNetUtil.h"
#include "nsXMLProcessingInstruction.h"
#include "nsUnicharUtils.h"
#include "nsParserUtils.h"
#include "nsHTMLAtoms.h"

Go to the source code of this file.


class  nsXMLStylesheetPI


nsresult NS_NewXMLStylesheetProcessingInstruction (nsIContent **aInstancePtrResult, nsNodeInfoManager *aNodeInfoManager, const nsAString &aData)
 aNodeInfoManager must not be null.

Function Documentation

nsresult NS_NewXMLStylesheetProcessingInstruction ( nsIContent **  aInstancePtrResult,
nsNodeInfoManager aNodeInfoManager,
const nsAString &  aData 

aNodeInfoManager must not be null.

Definition at line 248 of file nsXMLStylesheetPI.cpp.

  NS_PRECONDITION(aNodeInfoManager, "Missing nodeinfo manager");

  *aInstancePtrResult = nsnull;
  nsXMLStylesheetPI *instance = new nsXMLStylesheetPI(aNodeInfoManager, aData);
  if (!instance) {

  NS_ADDREF(*aInstancePtrResult = instance);

  return NS_OK;

Here is the call graph for this function:

Here is the caller graph for this function: