WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/embeddor.implemented/web-content-handler-registrar;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIFactory void createInstance ( nsISupports outer , nsIIDRef iid , out nsQIResult* result )
nsIWebContentConverterService nsIWebContentHandlerInfo getAutoHandler ( AString contentType )
nsIWebContentConverterService void getContentHandlers ( AString contentType , out PRUint32 count , out nsIWebContentHandlerInfo handlers )
nsIWebContentConverterService nsIWebContentHandlerInfo getWebContentHandlerByURI ( AString contentType , AString uri )
nsIWebContentConverterService void loadPreferredHandler ( nsIRequest request )
nsIFactory void lockFactory ( PRBool lock )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIWebContentHandlerRegistrar void registerContentHandler ( DOMString mimeType , DOMString uri , DOMString title , nsIDOMWindow contentWindow )
nsIWebContentHandlerRegistrar void registerProtocolHandler ( DOMString protocol , DOMString uri , DOMString title , nsIDOMWindow contentWindow )
nsIWebContentConverterService void removeContentHandler ( AString contentType , AString uri )
nsIWebContentConverterService void removeProtocolHandler ( AString protocol , AString uri )
nsIWebContentConverterService void resetHandlersForType ( AString contentType )
nsIWebContentConverterService void setAutoHandler ( AString contentType , nsIWebContentHandlerInfo handler )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com