Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions
nsEncoderNodeFixup Class Reference

#include <nsWebBrowserPersist.h>

Inheritance diagram for nsEncoderNodeFixup:
Inheritance graph
Collaboration diagram for nsEncoderNodeFixup:
Collaboration graph

List of all members.

Public Member Functions

 nsEncoderNodeFixup ()
NS_DECL_ISUPPORTS NS_IMETHOD FixupNode (nsIDOMNode *aNode, nsIDOMNode **aOutNode)
 Create a fixed up version of a node.

Public Attributes


Protected Member Functions

virtual ~nsEncoderNodeFixup ()

Detailed Description

Definition at line 230 of file nsWebBrowserPersist.h.

Constructor & Destructor Documentation

Definition at line 3939 of file nsWebBrowserPersist.cpp.

nsEncoderNodeFixup::~nsEncoderNodeFixup ( ) [protected, virtual]

Definition at line 3944 of file nsWebBrowserPersist.cpp.


Member Function Documentation

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 nsnull.

Implements nsIDocumentEncoderNodeFixup.

Definition at line 3959 of file nsWebBrowserPersist.cpp.


    *aOutNode = nsnull;
    // Test whether we need to fixup the node
    PRUint16 type = 0;
    if (type == nsIDOMNode::ELEMENT_NODE ||
        return mWebBrowserPersist->CloneNodeWithFixedUpURIAttributes(aNode, aOutNode);

    return NS_OK;

Member Data Documentation

Definition at line 238 of file nsWebBrowserPersist.h.

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