Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIScriptElement Class Reference

Internal interface implemented by script elements. More...

#include <nsIScriptElement.h>

Inheritance diagram for nsIScriptElement:
Inheritance graph
[legend]
Collaboration diagram for nsIScriptElement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void GetScriptType (nsAString &type)=0
 Content type identifying the scripting language.
virtual already_AddRefed< nsIURIGetScriptURI ()=0
 Location of script source text.
virtual void GetScriptText (nsAString &text)=0
 Script source text for inline script elements.
virtual void GetScriptCharset (nsAString &charset)=0
virtual void SetScriptLineNumber (PRUint32 aLineNumber)=0
virtual PRUint32 GetScriptLineNumber ()=0

Detailed Description

Internal interface implemented by script elements.

Definition at line 54 of file nsIScriptElement.h.


Member Function Documentation

virtual void nsIScriptElement::GetScriptCharset ( nsAString &  charset) [pure virtual]
virtual PRUint32 nsIScriptElement::GetScriptLineNumber ( ) [pure virtual]

Implemented in nsHTMLScriptElement, and nsSVGScriptElement.

Here is the caller graph for this function:

virtual void nsIScriptElement::GetScriptText ( nsAString &  text) [pure virtual]

Script source text for inline script elements.

Implemented in nsHTMLScriptElement, and nsSVGScriptElement.

virtual void nsIScriptElement::GetScriptType ( nsAString &  type) [pure virtual]

Content type identifying the scripting language.

Can be empty, in which case javascript will be assumed.

Implemented in nsHTMLScriptElement, and nsSVGScriptElement.

Here is the caller graph for this function:

Location of script source text.

Can return null, in which case this is assumed to be an inline script element.

Implemented in nsHTMLScriptElement, and nsSVGScriptElement.

Here is the caller graph for this function:

virtual void nsIScriptElement::SetScriptLineNumber ( PRUint32  aLineNumber) [pure virtual]

The documentation for this class was generated from the following file: