Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions  Download package

virtual PRBool nsIContent::IsLink ( nsIURI **  aURI  )  const [pure virtual]

API to check if this is a link that's traversed in response to user input (e.g. a click event). Specializations for HTML/SVG/generic XML allow for different types of link in different types of content.

aURI Required out param. If this content is a link, a new nsIURI set to this link's URI will be passed out.
The out param, aURI, is guaranteed to be set to a non-null pointer when the return value is PR_TRUE.
XXXjwatt: IMO IsInteractiveLink would be a better name.

Implemented in nsGenericElement.

Generated by  Doxygen 1.6.0   Back to index