Visit Mozilla.org

nsIClassInfo

From MDC

« XPCOM API Reference

Contents

[edit] Summary

The nsIClassInfo interface provides information about a specific implementation class. See Using nsIClassInfo for details.

#include "nsIClassInfo.h"
 
[scriptable, uuid=(986c11d0-f340-11d4-9075-0010a4e73d9a)]
interface nsIClassInfo : nsISupports { ... };

[edit] Methods

getHelperForLanguage
This method returns a language mapping specific helper object that may assist in using objects of this class in a specific language.
getInterfaces
This method returns an ordered list of interfaces IIDs that instances of the class promise to implement.

[edit] Attributes

classDescription
Specifies a human readable string naming the class or null.
classID
Specifies a ClassID through which an instance of this class can be created.
classIDNoAlloc
Specifies a ClassID through which an instance of this class can be created.
contractID
Specifies a ContractID through which an instance of this class can be created.
flags
Specifies various binary properties of this class.
implementationLanguage
Specifies the language type in which this class is implemented.

[edit] History

This interface was finalized for Mozilla 0.9.6. See bug 99158 for details.