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.

nsIPluginTagInfo

IID:5f1ec1d0-019b-11d2-815b-006008119d7a
Inherits From:nsISupports

Plugin Tag Info Interface This interface provides information about the HTML tag on the page. Some day this might get superseded by a DOM API.


Methods

void getAttribute ( char* name , out constCharPtr* result ) void getAttributes ( PRUint16Ref count , constCharStarConstStar names , constCharStarConstStar values )

void getAttribute ( char* name , out constCharPtr* result )

Gets the value for the named attribute.

Arguments:
name: - the name of the attribute to find
result: - the resulting attribute

void getAttributes ( PRUint16Ref count , constCharStarConstStar names , constCharStarConstStar values )

QueryInterface on nsIPluginInstancePeer to get this.

(Corresponds to NPP_New's argc, argn, and argv arguments.) Get a ptr to the paired list of attribute names and values, returns the length of the array.

Each name or value is a null-terminated string.

Arguments:
count
names
values

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com