Search completed in 1.30 seconds.
9 results for "nsijsid":
nsIJSID
Mozilla › Tech › XPCOM › Reference › Interface › nsIJSID
nts.interfacesById[uuid] Components.classesById[cid] The first two cases create a named JSID while the last two cases create an unnamed JSID. An unnamed JSID also results when you implement a function that is passed an nsIIDRef parameter, such as QueryInterface(). Note that for these cases of JSID the specified class or interface must exist and be scriptable. Method overview boolean equals(in nsIJSID other); const nsID* getID(); Violates the XPCOM interface guidelines void initialize(in string idString); string toString(); Attributes Attribute Type Description id nsIDPtr Read only. Native code only! Obsolete since Gecko 1.9 The internal nsID. name string Read only. The name of the JSID, if it was set. number string Read only. The string representation of the internal nsID. ...
...ring(); Attributes Attribute Type Description id nsIDPtr Read only. Native code only! Obsolete since Gecko 1.9 The internal nsID. name string Read only. The name of the JSID, if it was set. number string Read only. The string representation of the internal nsID. valid boolean Read only. Returns true if the JSID has been initialised. Methods equals() This method determines if this nsIJSID has the same nsID as another nsIJSID. boolean equals( in nsIJSID other ); Parameters other The other nsIJSID to compare to. Return value true if the nsIJSID's are valid and have the same nsID, otherwise false. Violates the XPCOM interface guidelines getID() const nsID* getID(); Parameters None. Return value A pointer to the internal nsID structure. initialize() Initializes the JSID. ...
Index
Mozilla › Tech › XPCOM › Index
or to create nsIXPCException objects. These exception objects may be thrown when implementing xpcom interfaces in JavaScript, and they can provide better diagnostics in the error console if not caught than simply throwing an nsresult's value will. 19 Components.ID XPCOM:Language Bindings, XPConnect Components.ID is a constructor that creates native objects that conform to the nsIJSID interface. 20 Components.classes XPCOM:Language Bindings, XPConnect Components.classes is a read-only object whose properties are classes indexed by ContractID. 21 Components.classesByID XPCOM:Language Bindings, XPConnect Components.classesByID is a read-only object whose properties are classes indexed by CID. 22 Components.interfaces XPCOM...
...able to nsISupports.QueryInterface() on B to get back to A. nsIInterfaceRequestor, however, allows you to obtain an interface C from A that may (or most likely) will not have the ability to get back to A. 703 getInterface No summary! 704 nsIJSCID Interfaces, Interfaces:Scriptable, XPCOM, XPCOM API Reference, XPCOM Interface Reference None. ...
Components.ID
Mozilla › Tech › XPCOM › Language Bindings › Components.ID
Syntax var interfaceID = [ new ] Components.ID(iid); Parameters iid A string of the format '{00000000-0000-0000-0000-000000000000}' giving the interface ID of the interface Description Components.ID creates interface IDs for use in implementing methods like QueryInterface, getInterfaces, and other methods that take interface IDs as parameters. Components.classes, Components.classesByID, Components.interfaces provide pretty much all the nsIDs that most JavaScript code would ever need to deal with. ...
Components.classes
Mozilla › Tech › XPCOM › Language Bindings › Components.classes
Components.classes is a read-only object whose properties implement the nsIJSCID interface. Each object represents one of the classes of XPCOM components that can be constructed or accessed as an XPCOM service. The properties of this object are indexed by the ContractID (or human-readable name) of the component class. All of the properties and methods of the nsIJSCID and its ancestor interface nsIJSID are available for use on the objects contained in this object. Note that Components.classes reflects only those component classes that have been previously installed and registered with the component manager using ContractIDs. If you want to use a class which was only registered with their CID, use Components.classesByID instead of Components.classes to retrieve it. Note also that it is possibl...
Language bindings
Mozilla › Tech › XPCOM › Language Bindings
nents.ExceptionComponents.Exception is a JavaScript constructor to create nsIXPCException objects. ...
nsIJSCID
Mozilla › Tech › XPCOM › Reference › Interface › nsIJSCID
js/src/xpconnect/idl/xpcjsid.idlScriptable This interface provides methods to instantiate a component and access service components. Inherits from: nsIJSID Last changed in Gecko 1.7 Method overview nsISupports createInstance(); nsISupports getService(); Methods createInstance() nsISupports createInstance(); Parameters None. Return value getService() nsISupports getService(); Parameters None. Return value See also See Components.classes for usage patterns of the createInstance() and getService() methods. ...
nsIJSIID
Mozilla › Tech › XPCOM › Reference › Interface › nsIJSIID
<< XPCOM API Reference Summary [scriptable, uuid(e08dcda0-d651-11d2-9843-006008962422)] interface nsIJSIID : nsIJSID {}; ...
XPCOM Interface Reference
Mozilla › Tech › XPCOM › Reference › Interface
TPHeaderListenernsIHapticFeedbacknsIHttpActivityDistributornsIHttpActivityObservernsIHttpChannelnsIHttpChannelInternalnsIHttpHeaderVisitornsIHttpServernsIHttpUpgradeListenernsIIDNServicensIIFrameBoxObjectnsIINIParsernsIINIParserFactorynsIINIParserWriternsIIOServicensIIdleServicensIInProcessContentFrameMessageManagernsIInputStreamnsIInputStreamCallbacknsIInstallLocationnsIInterfaceRequestornsIJSCIDnsIJSIDnsIJSIIDnsIJSONnsIJetpacknsIJetpackServicensIJumpListBuildernsIJumpListItemnsILivemarkServicensILoadGroupnsILocalFilensILocalFileMacnsILocalensILocaleServicensILoginInfonsILoginManagernsILoginManagerCryptonsILoginManagerIEMigrationHelpernsILoginManagerPrompternsILoginManagerStoragensILoginMetaInfonsIMIMEInputStreamnsIMacDockSupportnsIMarkupDocumentViewernsIMemorynsIMemoryMultiReporternsIMemoryMult...
XPCOM Interface Reference by grouping
Mozilla › Tech › XPCOM › Reference › Reference by grouping
d nsIThreadEventFilter nsIThreadInternal nsIThreadManager nsIThreadObserver nsIThreadPool nsIThreadPoolListener nsIToolkit Util nsIVersionComparator nsIWeakReference nsIFactory nsIInterfaceRequestor nsIJSCID nsIJSID nsIJSIID nsIModule nsIObserver nsIObserverService nsIProperties nsIProperty nsIPropertyBag nsIPropertyBag2 nsIPropertyElement nsIServerSocket nsIServerSocketListener nsIServiceManager nsISocketProvider nsISocketProviderService nsISocketTransport nsISocketTransportService...