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/docshell/urifixup;1

This component implements the following interfaces:

Constants

PRUint32 nsIURIFixup.FIXUP_FLAG_NONE = 0
Allow the fixup to use a keyword lookup service to complete the URI. The fixup object implementer should honour this flag and only perform any lengthy keyword (or search) operation if it is set.
PRUint32 nsIURIFixup.FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP = 1
Tell the fixup to make an alternate URI from the input URI, for example to turn foo into www.foo.com.
PRUint32 nsIURIFixup.FIXUP_FLAGS_MAKE_ALTERNATE_URI = 2

Methods

InterfaceMethod
nsIURIFixup nsIURI createExposableURI ( nsIURI URI )
nsIURIFixup nsIURI createFixupURI ( AUTF8String URIText , PRUint32 fixupFlags )
nsIURIFixup nsIURI keywordToURI ( AUTF8String keyword )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com