org.w3c.dom.html

Interface HTMLScriptElement

public interface HTMLScriptElement extends HTMLElement

Script statements. See the SCRIPT element definition in HTML 4.0.
Method Summary
StringgetCharset()
The character encoding of the linked resource.
booleangetDefer()
Indicates that the user agent can defer processing of the script.
StringgetEvent()
Reserved for future use.
StringgetHtmlFor()
Reserved for future use.
StringgetSrc()
URI designating an external script.
StringgetText()
The script content of the element.
StringgetType()
The content type of the script language.
voidsetCharset(String charset)
voidsetDefer(boolean defer)
voidsetEvent(String event)
voidsetHtmlFor(String htmlFor)
voidsetSrc(String src)
voidsetText(String text)
voidsetType(String type)

Method Detail

getCharset

public String getCharset()
The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

getDefer

public boolean getDefer()
Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.0.

getEvent

public String getEvent()
Reserved for future use.

getHtmlFor

public String getHtmlFor()
Reserved for future use.

getSrc

public String getSrc()
URI designating an external script. See the src attribute definition in HTML 4.0.

getText

public String getText()
The script content of the element.

getType

public String getType()
The content type of the script language. See the type attribute definition in HTML 4.0.

setCharset

public void setCharset(String charset)

setDefer

public void setDefer(boolean defer)

setEvent

public void setEvent(String event)

setHtmlFor

public void setHtmlFor(String htmlFor)

setSrc

public void setSrc(String src)

setText

public void setText(String text)

setType

public void setType(String type)