org.w3c.dom.html2
Interface HTMLScriptElement
public
interface
HTMLScriptElement
extends HTMLElement
Method Summary |
String | getCharset()
The character encoding of the linked resource. |
boolean | getDefer()
Indicates that the user agent can defer processing of the script. |
String | getEvent()
Reserved for future use. |
String | getHtmlFor()
Reserved for future use. |
String | getSrc() |
String | getText()
The script content of the element. |
String | getType()
The content type of the script language. |
void | setCharset(String charset)
The character encoding of the linked resource. |
void | setDefer(boolean defer)
Indicates that the user agent can defer processing of the script. |
void | setEvent(String event)
Reserved for future use. |
void | setHtmlFor(String htmlFor)
Reserved for future use. |
void | setSrc(String src) |
void | setText(String text)
The script content of the element. |
void | setType(String type)
The content type of the script language. |
public String getCharset()
The character encoding of the linked resource. See the charset
attribute definition in HTML 4.01.
public boolean getDefer()
Indicates that the user agent can defer processing of the script. See
the defer attribute definition in HTML 4.01.
public String getEvent()
Reserved for future use.
public String getHtmlFor()
Reserved for future use.
public String getSrc()
URI [
IETF RFC 2396] designating an external script. See the src attribute definition
in HTML 4.01.
public String getText()
The script content of the element.
public String getType()
The content type of the script language. See the type attribute
definition in HTML 4.01.
public void setCharset(String charset)
The character encoding of the linked resource. See the charset
attribute definition in HTML 4.01.
public void setDefer(boolean defer)
Indicates that the user agent can defer processing of the script. See
the defer attribute definition in HTML 4.01.
public void setEvent(String event)
Reserved for future use.
public void setHtmlFor(String htmlFor)
Reserved for future use.
public void setSrc(String src)
URI [
IETF RFC 2396] designating an external script. See the src attribute definition
in HTML 4.01.
public void setText(String text)
The script content of the element.
public void setType(String type)
The content type of the script language. See the type attribute
definition in HTML 4.01.