Back to index

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

#include <nsDOMSerializer.h>

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

List of all members.

Public Member Functions

 nsDOMSerializer ()
virtual ~nsDOMSerializer ()
AString serializeToString (in nsIDOMNode root)
 The subtree rooted by the specified element is serialized to a string.
void serializeToStream (in nsIDOMNode root, in nsIOutputStream stream, in AUTF8String charset)
 The subtree rooted by the specified element is serialized to a byte stream using the character set specified.

Detailed Description

Definition at line 43 of file nsDOMSerializer.h.


Constructor & Destructor Documentation

Definition at line 56 of file nsDOMSerializer.cpp.

{
}

Definition at line 60 of file nsDOMSerializer.cpp.

{
}

Member Function Documentation

void nsIDOMSerializer::serializeToStream ( in nsIDOMNode  root,
in nsIOutputStream  stream,
in AUTF8String  charset 
) [inherited]

The subtree rooted by the specified element is serialized to a byte stream using the character set specified.

Parameters:
rootThe root of the subtree to be serialized. This could be any node, including a Document.
streamThe byte stream to which the subtree is serialized.
charsetThe name of the character set to use for the encoding to a byte stream.
AString nsIDOMSerializer::serializeToString ( in nsIDOMNode  root) [inherited]

The subtree rooted by the specified element is serialized to a string.

Parameters:
rootThe root of the subtree to be serialized. This could be any node, including a Document.
Returns:
The serialized subtree in the form of a Unicode string

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