Mozilla.com

« XPCOM API Reference

Summary

This method returns a language mapping specific helper object that may assist in using objects of this class in a specific language.

nsISupports getHelperForLanguage(
  in PRUint32 aLanguage
);

Parameters

aLanguage
[in] This parameter selects the language mapping specific helper object to be returned. nsIProgrammingLanguage defines language identifiers that may be passed for this parameter.

Return Values

This method should return null if there is no helper available for the given language.

Remarks

For example, if asked for the helper for nsIProgrammingLanguage::JAVASCRIPT this might return an object that can be QueryInterface'd into the nsIXPCScriptable interface to assist XPConnect in supplying JavaScript specific behavior to callers of the instance object.

Page last modified 22:02, 8 Nov 2005 by DarinFisher

Files (0)