Public Member Functions

nsIDocumentEncoderNodeFixup Interface Reference

import "nsIDocumentEncoder.idl";

List of all members.

Public Member Functions

nsIDOMNode fixupNode (in nsIDOMNode aNode, out boolean aSerializeCloneKids)
 Create a fixed up version of a node.

Member Function Documentation

nsIDOMNode nsIDocumentEncoderNodeFixup::fixupNode ( in nsIDOMNode  aNode,
out boolean  aSerializeCloneKids 
)

Create a fixed up version of a node.

This method is called before each node in a document is about to be persisted. The implementor may return a new node with fixed up attributes or null. If null is returned the node should be used as-is.

Parameters:
aNode Node to fixup.
[OUT] aSerializeCloneKids True if the document encoder should apply recursive serialization to the children of the fixed up node instead of the children of the original node.
Returns:
The resulting fixed up node.

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