FileDocCategorySizeDatePackage
HTMLScriptElement.javaAPI DocJava SE 5 API2033Fri Aug 26 14:58:40 BST 2005org.w3c.dom.html

HTMLScriptElement

public interface HTMLScriptElement implements HTMLElement
Script statements. See the SCRIPT element definition in HTML 4.0.

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

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetCharset()
The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

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

public java.lang.StringgetEvent()
Reserved for future use.

public java.lang.StringgetHtmlFor()
Reserved for future use.

public java.lang.StringgetSrc()
URI designating an external script. See the src attribute definition in HTML 4.0.

public java.lang.StringgetText()
The script content of the element.

public java.lang.StringgetType()
The content type of the script language. See the type attribute definition in HTML 4.0.

public voidsetCharset(java.lang.String charset)

public voidsetDefer(boolean defer)

public voidsetEvent(java.lang.String event)

public voidsetHtmlFor(java.lang.String htmlFor)

public voidsetSrc(java.lang.String src)

public voidsetText(java.lang.String text)

public voidsetType(java.lang.String type)