All Packages Class Hierarchy This Package Previous Next Index
Interface org.w3c.dom.html.HTMLScriptElement
- public interface HTMLScriptElement
- extends HTMLElement
Script statements. See the SCRIPT element definition in HTML 4.0.
-
getCharset()
- The character encoding of the linked resource.
-
getDefer()
- Indicates that the user agent can defer processing of the script.
-
getEvent()
- Reserved for future use.
-
getHtmlFor()
- Reserved for future use.
-
getSrc()
- URI designating an external script.
-
getText()
- The script content of the element.
-
getType()
- The content type of the script language.
-
setCharset(String)
-
-
setDefer(boolean)
-
-
setEvent(String)
-
-
setHtmlFor(String)
-
-
setSrc(String)
-
-
setText(String)
-
-
setType(String)
-
getText
public abstract String getText()
- The script content of the element.
setText
public abstract void setText(String text)
getHtmlFor
public abstract String getHtmlFor()
- Reserved for future use.
setHtmlFor
public abstract void setHtmlFor(String htmlFor)
getEvent
public abstract String getEvent()
- Reserved for future use.
setEvent
public abstract void setEvent(String event)
getCharset
public abstract String getCharset()
- The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.
setCharset
public abstract void setCharset(String charset)
getDefer
public abstract boolean getDefer()
- Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.0.
setDefer
public abstract void setDefer(boolean defer)
getSrc
public abstract String getSrc()
- URI designating an external script. See the src attribute definition in HTML 4.0.
setSrc
public abstract void setSrc(String src)
getType
public abstract String getType()
- The content type of the script language. See the type attribute definition in HTML 4.0.
setType
public abstract void setType(String type)
All Packages Class Hierarchy This Package Previous Next Index