Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDocumentLoaderFactory Interface Reference

To get a component that implements nsIDocumentLoaderFactory for a given mimetype, use nsICategoryManager to find an entry with the mimetype as its name in the category "Gecko-Content-Viewers". More...

import "nsIDocumentLoaderFactory.idl";

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

List of all members.

Public Member Functions

nsIContentViewer createInstance (in string aCommand, in nsIChannel aChannel, in nsILoadGroup aLoadGroup, in string aContentType, in nsISupports aContainer, in nsISupports aExtraInfo, out nsIStreamListener aDocListenerResult)
nsIContentViewer createInstanceForDocument (in nsISupports aContainer, in nsIDocument aDocument, in string aCommand)
nsIDocument createBlankDocument (in nsILoadGroup aLoadGroup)

Detailed Description

To get a component that implements nsIDocumentLoaderFactory for a given mimetype, use nsICategoryManager to find an entry with the mimetype as its name in the category "Gecko-Content-Viewers".

The value of the entry is the contractid of the component. The component is a service, so use GetService, not CreateInstance to get it.

Definition at line 56 of file nsIDocumentLoaderFactory.idl.


Member Function Documentation

nsIContentViewer nsIDocumentLoaderFactory::createInstance ( in string  aCommand,
in nsIChannel  aChannel,
in nsILoadGroup  aLoadGroup,
in string  aContentType,
in nsISupports  aContainer,
in nsISupports  aExtraInfo,
out nsIStreamListener  aDocListenerResult 
)
nsIContentViewer nsIDocumentLoaderFactory::createInstanceForDocument ( in nsISupports  aContainer,
in nsIDocument  aDocument,
in string  aCommand 
)

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