Struct xpcom::interfaces::nsIDocumentEncoderNodeFixup [] [src]

#[repr(C)]
pub struct nsIDocumentEncoderNodeFixup { /* fields omitted */ }

interface nsIDocumentEncoderNodeFixup : nsISupports

Methods

impl nsIDocumentEncoderNodeFixup
[src]

[src]

Cast this nsIDocumentEncoderNodeFixup to one of its base interfaces.

impl nsIDocumentEncoderNodeFixup
[src]

[src]

/**
   * 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.
   * @param aNode Node to fixup.
   * @param [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.
   * @return The resulting fixed up node.
   */

nsIDOMNode fixupNode (in nsIDOMNode aNode, out boolean aSerializeCloneKids);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDocumentEncoderNodeFixup
[src]

IID: nsIID = nsID(1033073112, 41645, 16446, [139, 14, 136, 133, 173, 53, 98, 227])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDocumentEncoderNodeFixup
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDocumentEncoderNodeFixup
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.