Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIContentSerializer Class Reference

#include <nsIContentSerializer.h>

Inheritance diagram for nsIContentSerializer:
Inheritance graph
[legend]
Collaboration diagram for nsIContentSerializer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Init (PRUint32 flags, PRUint32 aWrapColumn, const char *aCharSet, PRBool aIsCopying)=0
NS_IMETHOD AppendText (nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString &aStr)=0
NS_IMETHOD AppendCDATASection (nsIDOMCDATASection *aCDATASection, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString &aStr)=0
NS_IMETHOD AppendProcessingInstruction (nsIDOMProcessingInstruction *aPI, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString &aStr)=0
NS_IMETHOD AppendComment (nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString &aStr)=0
NS_IMETHOD AppendDoctype (nsIDOMDocumentType *aDoctype, nsAString &aStr)=0
NS_IMETHOD AppendElementStart (nsIDOMElement *aElement, PRBool aHasChildren, nsAString &aStr)=0
NS_IMETHOD AppendElementEnd (nsIDOMElement *aElement, nsAString &aStr)=0
NS_IMETHOD Flush (nsAString &aStr)=0
NS_IMETHOD AppendDocumentStart (nsIDOMDocument *aDocument, nsAString &aStr)=0
 Append any items in the beginning of the document that won't be serialized by other methods.

Detailed Description

Definition at line 62 of file nsIContentSerializer.h.


Member Function Documentation

NS_IMETHOD nsIContentSerializer::AppendCDATASection ( nsIDOMCDATASection aCDATASection,
PRInt32  aStartOffset,
PRInt32  aEndOffset,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendComment ( nsIDOMComment aComment,
PRInt32  aStartOffset,
PRInt32  aEndOffset,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendDoctype ( nsIDOMDocumentType aDoctype,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendDocumentStart ( nsIDOMDocument aDocument,
nsAString &  aStr 
) [pure virtual]

Append any items in the beginning of the document that won't be serialized by other methods.

XML declaration is the most likely thing this method can produce.

Implemented in mozSanitizingHTMLSerializer, nsPlainTextSerializer, nsXMLContentSerializer, and nsHTMLContentSerializer.

NS_IMETHOD nsIContentSerializer::AppendElementEnd ( nsIDOMElement aElement,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendElementStart ( nsIDOMElement aElement,
PRBool  aHasChildren,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendProcessingInstruction ( nsIDOMProcessingInstruction aPI,
PRInt32  aStartOffset,
PRInt32  aEndOffset,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::AppendText ( nsIDOMText aText,
PRInt32  aStartOffset,
PRInt32  aEndOffset,
nsAString &  aStr 
) [pure virtual]
NS_IMETHOD nsIContentSerializer::Flush ( nsAString &  aStr) [pure virtual]
NS_IMETHOD nsIContentSerializer::Init ( PRUint32  flags,
PRUint32  aWrapColumn,
const char *  aCharSet,
PRBool  aIsCopying 
) [pure virtual]

The documentation for this class was generated from the following file: