public interface

HTMLScriptElement

implements HTMLElement
org.w3c.dom.html.HTMLScriptElement

Class Overview

Script statements. See the SCRIPT element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getCharset()
The character encoding of the linked resource.
abstract boolean getDefer()
Indicates that the user agent can defer processing of the script.
abstract String getEvent()
Reserved for future use.
abstract String getHtmlFor()
Reserved for future use.
abstract String getSrc()
URI designating an external script.
abstract String getText()
The script content of the element.
abstract String getType()
The content type of the script language.
abstract void setCharset(String charset)
abstract void setDefer(boolean defer)
abstract void setEvent(String event)
abstract void setHtmlFor(String htmlFor)
abstract void setSrc(String src)
abstract void setText(String text)
abstract void setType(String type)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract String getCharset ()

The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

public abstract boolean getDefer ()

Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.0.

public abstract String getEvent ()

Reserved for future use.

public abstract String getHtmlFor ()

Reserved for future use.

public abstract String getSrc ()

URI designating an external script. See the src attribute definition in HTML 4.0.

public abstract String getText ()

The script content of the element.

public abstract String getType ()

The content type of the script language. See the type attribute definition in HTML 4.0.

public abstract void setCharset (String charset)

public abstract void setDefer (boolean defer)

public abstract void setEvent (String event)

public abstract void setHtmlFor (String htmlFor)

public abstract void setSrc (String src)

public abstract void setText (String text)

public abstract void setType (String type)