nsIClassInfo
| IID: | 986c11d0-f340-11d4-9075-0010a4e73d9a |
| Inherits From: | nsISupports |
| Status: | FROZEN |
Provides information about a specific implementation class
This interface is implemented by the following components:
- @mozilla.org/DOM/Level2/CSS/computedStyleDeclaration;1
- @mozilla.org/aggregateprincipal;1
- @mozilla.org/certificateprincipal;1
- @mozilla.org/codebaseprincipal;1
- @mozilla.org/content/element/html;1?name=img
- @mozilla.org/content/element/html;1?name=option
- @mozilla.org/document-transformer;1?type=text/xsl
- @mozilla.org/document-transformer;1?type=text/xslt
- @mozilla.org/document-transformer;1?type=xslt
- @mozilla.org/dom/xpath-evaluator;1
- @mozilla.org/js/xpc/Exception;1
- @mozilla.org/layout/xul-boxobject-browser;1
- @mozilla.org/layout/xul-boxobject-editor;1
- @mozilla.org/layout/xul-boxobject-iframe;1
- @mozilla.org/layout/xul-boxobject-listbox;1
- @mozilla.org/layout/xul-boxobject-menu;1
- @mozilla.org/layout/xul-boxobject-popup;1
- @mozilla.org/layout/xul-boxobject-scrollbox;1
- @mozilla.org/layout/xul-boxobject-tree;1
- @mozilla.org/layout/xul-boxobject;1
- @mozilla.org/network/standard-url;1
- @mozilla.org/rdf/resource-factory;1?name=imap
- @mozilla.org/rdf/resource-factory;1?name=mailbox
- @mozilla.org/rdf/resource-factory;1?name=moz-abdirectory
- @mozilla.org/rdf/resource-factory;1?name=moz-abldapdirectory
- @mozilla.org/rdf/resource-factory;1?name=moz-abmdbdirectory
- @mozilla.org/rdf/resource-factory;1?name=news
- @mozilla.org/sample;1
- @mozilla.org/sidebar;1
- @mozilla.org/systemprincipal;1
- @mozilla.org/xmlextras/domparser;1
- @mozilla.org/xmlextras/proxy/webservicecomplextypewrapper;1
- @mozilla.org/xmlextras/proxy/webservicepropertybagwrapper;1
- @mozilla.org/xmlextras/proxy/webserviceproxy;1
- @mozilla.org/xmlextras/proxy/webserviceproxyfactory;1
- @mozilla.org/xmlextras/proxy/webserviceproxytest;1
- @mozilla.org/xmlextras/schemas/schemaloader;1
- @mozilla.org/xmlextras/soap/call;1
- @mozilla.org/xmlextras/soap/fault;1
- @mozilla.org/xmlextras/soap/headerblock;1
- @mozilla.org/xmlextras/soap/parameter;1
- @mozilla.org/xmlextras/soap/propertybagmutator;1
- @mozilla.org/xmlextras/soap/response;1
- @mozilla.org/xmlextras/soap/transport;1?protocol=http
- @mozilla.org/xmlextras/soap/transport;1?protocol=https
- @mozilla.org/xmlextras/wsdl/wsdlloader;1
- @mozilla.org/xmlextras/xmlhttprequest;1
- @mozilla.org/xmlextras/xmlserializer;1
- @mozilla.org/xmlextras/xpointerresult;1
- @mozilla.org/xul/xul-controllers;1
- @mozilla.org/xul/xul-document;1
- @mozilla.org/content/dom-selection;1
- @mozilla.org/content/range;1
- @mozilla.org/principal;1
- @mozilla.org/security/crypto;1
- @mozilla.org/security/pkcs11;1
- @mozilla.org/content/canvas-rendering-context;1?id=2d
- @mozilla.org/svg/rect;1
- @mozilla.org/svg/svg-document;1
- @mozilla.org/xml/xml-document;1
- @mozilla.org/browser/feeds/result-writer;1
- @mozilla.org/embeddor.implemented/web-content-handler-registrar;1
- @mozilla.org/fuel/application;1
Constants
Properties
readonly char* classDescription
A human readable string naming the class, or null.
readonly nsCIDPtr* classID
A class ID through which an instance of this class can be created (or accessed as a service, if flags & SINGLETON), or null.
[notxpcom] readonly nsCID classIDNoAlloc
Also a class ID through which an instance of this class can be created (or accessed as a service, if flags & SINGLETON). If the class does not have a CID, it should return NS_ERROR_NOT_AVAILABLE. This attribute exists so C++ callers can avoid allocating and freeing a CID, as would happen if they used classID.
readonly char* contractID
A contract ID through which an instance of this class can be created (or accessed as a service, if flags & SINGLETON), or null.
readonly PRUint32 flags
readonly PRUint32 implementationLanguage
Return language type from list in nsIProgrammingLanguage
Methods
nsISupports getHelperForLanguage ( PRUint32 language )
void getInterfaces ( out PRUint32 count , out nsIIDPtr array )
nsISupports getHelperForLanguage ( PRUint32 language )
Get a language mapping specific helper object that may assist in using objects of this class in a specific lanaguage. For instance, if asked for the helper for nsIProgrammingLanguage::JAVASCRIPT this might return an object that can be QI'd into the nsIXPCScriptable interface to assist XPConnect in supplying JavaScript specific behavior to callers of the instance object.
See: nsIProgrammingLanguage.idl
Should return null if no helper available for given language.
- Arguments:
- language
void getInterfaces ( out PRUint32 count , out nsIIDPtr array )
Get an ordered list of the interface ids that instances of the class promise to implement. Note that nsISupports is an implicit member of any such list and need not be included.
Should set *count = 0 and *array = null and return NS_OK if getting the list is not supported.
- Arguments:
- count
- array
References
This interface is passed as an argument to the following methods:
nsIXPCSecurityManager.CanAccess, nsIXPCSecurityManager.CanCreateWrapper, nsIXPConnect.getWrappedNativePrototype, nsIXPConnect.restoreWrappedNativePrototype
Reference documentation is generated from Mozilla's source.
