Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsXMLContentSerializer.cpp File Reference
#include "nsXMLContentSerializer.h"
#include "nsHTMLAtoms.h"
#include "nsIDOMText.h"
#include "nsIDOMCDATASection.h"
#include "nsIDOMProcessingInstruction.h"
#include "nsIDOMComment.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentType.h"
#include "nsIDOMElement.h"
#include "nsIContent.h"
#include "nsIDocument.h"
#include "nsINameSpaceManager.h"
#include "nsITextContent.h"
#include "nsTextFragment.h"
#include "nsString.h"
#include "prprf.h"
#include "nsUnicharUtils.h"
#include "nsCRT.h"
#include "nsContentUtils.h"
#include "nsLayoutAtoms.h"

Go to the source code of this file.

Classes

struct  NameSpaceDecl

Defines

#define kXMLNS   "xmlns"

Functions

nsresult NS_NewXMLContentSerializer (nsIContentSerializer **aSerializer)

Variables

static const PRUint16 kGTVal = 62
static const char * kEntities []
static const char * kAttrEntities []

Class Documentation

struct NameSpaceDecl

Definition at line 60 of file nsXMLContentSerializer.cpp.

Collaboration diagram for NameSpaceDecl:
Class Members
nsIDOMElement * mOwner
nsString mPrefix
nsString mURI

Define Documentation

#define kXMLNS   "xmlns"

Definition at line 298 of file nsXMLContentSerializer.cpp.


Function Documentation

Definition at line 66 of file nsXMLContentSerializer.cpp.

{
  nsXMLContentSerializer* it = new nsXMLContentSerializer();
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return CallQueryInterface(it, aSerializer);
}

Here is the call graph for this function:


Variable Documentation

const char* kAttrEntities[] [static]
Initial value:
 {
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", """, "", "", "", "&", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "<", "", ">"
}

Definition at line 744 of file nsXMLContentSerializer.cpp.

const char* kEntities[] [static]
Initial value:
 {
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "&", "",
  "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",
  "<", "", ">"
}

Definition at line 734 of file nsXMLContentSerializer.cpp.

const PRUint16 kGTVal = 62 [static]

Definition at line 733 of file nsXMLContentSerializer.cpp.