Docshell and Content Viewers

The docshell is responsible for managing the display of a document. The content viewers handle displaying different types of content. When a page request is made, a content viewer is created which can display the content.

Jump to:

nsIContentViewer
nsIContentViewerEdit
nsIContentViewerFile
nsIDocShell
nsIDocShellHistory
nsIDocShellLoadInfo
nsIDocShellTreeItem
nsIDocShellTreeNode
nsIDocShellTreeOwner
nsIDocumentLoader
nsIDocumentLoaderFactory
nsIFrameLoader
nsIFrameLoaderOwner
nsIMarkupDocumentViewer
nsIScrollable
nsITextScroll
nsIURIFixup

@mozilla.org/content/document-loader-factory;1
@mozilla.org/content/element/html;1?name=img
@mozilla.org/content/element/html;1?name=option
@mozilla.org/content/frameloader
@mozilla.org/content/http-startup;1
@mozilla.org/content/namespacemanager;1
@mozilla.org/content/plugin/document-loader-factory;1
@mozilla.org/docloader;1
@mozilla.org/docloaderservice;1
@mozilla.org/docshell/urifixup;1
@mozilla.org/scroll-port-view;1
@mozilla.org/scrolling-view;1
@mozilla.org:/content/content-area-dragdrop;1
@mozilla.org:/content/document-loader-factory;1


Content Viewer Factories

The following components are used to construct content viewers for particular types of content. Each of these components implements the nsIDocumentLoaderFactory interface and may be used to generate an object that implements nsIContentViewer which handles a particular type of content. Some of the viewers are designed to display content in source mode; these factories have view-source in their name.

@mozilla.org/content-viewer-factory/view-source;1?type=application/vnd.mozilla.xul+xml
@mozilla.org/content-viewer-factory/view-source;1?type=application/x-javascript
@mozilla.org/content-viewer-factory/view-source;1?type=application/x-view-source
@mozilla.org/content-viewer-factory/view-source;1?type=application/xhtml+xml
@mozilla.org/content-viewer-factory/view-source;1?type=application/xml
@mozilla.org/content-viewer-factory/view-source;1?type=mozilla.application/cached-xul
@mozilla.org/content-viewer-factory/view-source;1?type=text/css
@mozilla.org/content-viewer-factory/view-source;1?type=text/html
@mozilla.org/content-viewer-factory/view-source;1?type=text/javascript
@mozilla.org/content-viewer-factory/view-source;1?type=text/plain
@mozilla.org/content-viewer-factory/view-source;1?type=text/rdf
@mozilla.org/content-viewer-factory/view-source;1?type=text/xml
@mozilla.org/content-viewer-factory/view;1?type=application/http-index-format
@mozilla.org/content-viewer-factory/view;1?type=application/http-index-format;x-view-type=view-source
@mozilla.org/content-viewer-factory/view;1?type=application/vnd.mozilla.xul+xml
@mozilla.org/content-viewer-factory/view;1?type=application/x-javascript
@mozilla.org/content-viewer-factory/view;1?type=application/x-view-source
@mozilla.org/content-viewer-factory/view;1?type=application/xhtml+xml
@mozilla.org/content-viewer-factory/view;1?type=application/xml
@mozilla.org/content-viewer-factory/view;1?type=image/bmp
@mozilla.org/content-viewer-factory/view;1?type=image/gif
@mozilla.org/content-viewer-factory/view;1?type=image/jpeg
@mozilla.org/content-viewer-factory/view;1?type=image/jpg
@mozilla.org/content-viewer-factory/view;1?type=image/pjpeg
@mozilla.org/content-viewer-factory/view;1?type=image/png
@mozilla.org/content-viewer-factory/view;1?type=image/x-art
@mozilla.org/content-viewer-factory/view;1?type=image/x-icon
@mozilla.org/content-viewer-factory/view;1?type=image/x-jg
@mozilla.org/content-viewer-factory/view;1?type=image/x-jng
@mozilla.org/content-viewer-factory/view;1?type=image/x-png
@mozilla.org/content-viewer-factory/view;1?type=image/x-xbitmap
@mozilla.org/content-viewer-factory/view;1?type=image/x-xbm
@mozilla.org/content-viewer-factory/view;1?type=image/xbm
@mozilla.org/content-viewer-factory/view;1?type=mozilla.application/cached-xul
@mozilla.org/content-viewer-factory/view;1?type=text/css
@mozilla.org/content-viewer-factory/view;1?type=text/html
@mozilla.org/content-viewer-factory/view;1?type=text/javascript
@mozilla.org/content-viewer-factory/view;1?type=text/plain
@mozilla.org/content-viewer-factory/view;1?type=text/rdf
@mozilla.org/content-viewer-factory/view;1?type=text/xml
@mozilla.org/content-viewer-factory/view;1?type=video/x-mng

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com