nsIDocumentLoaderFactory

IID:df15f850-5d98-11d4-9f4d-0010a4053fd0
Inherits From:nsISupports

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.

This interface is implemented by the following components:


Methods

nsIDocument createBlankDocument ( nsILoadGroup loadGroup ) nsIContentViewer createInstance ( char* command , nsIChannel channel , nsILoadGroup loadGroup , char* contentType , nsISupports container , nsISupports extraInfo , out nsIStreamListener docListenerResult ) nsIContentViewer createInstanceForDocument ( nsISupports container , nsIDocument document , char* command )

nsIDocument createBlankDocument ( nsILoadGroup loadGroup )

Arguments:
loadGroup

nsIContentViewer createInstance ( char* command , nsIChannel channel , nsILoadGroup loadGroup , char* contentType , nsISupports container , nsISupports extraInfo , out nsIStreamListener docListenerResult )

Arguments:
command
channel
loadGroup
contentType
container
extraInfo
docListenerResult

nsIContentViewer createInstanceForDocument ( nsISupports container , nsIDocument document , char* command )

Arguments:
container
document
command

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com