KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > html > HTMLScriptElement


1 /*
2  * Copyright (c) 2000 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10  * details.
11  */

12
13 package org.w3c.dom.html;
14
15 /**
16  * Script statements. See the SCRIPT element definition in HTML 4.0.
17  * <p>See also the <a HREF='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
18  */

19 public interface HTMLScriptElement extends HTMLElement {
20     /**
21      * The script content of the element.
22      */

23     public String JavaDoc getText();
24     public void setText(String JavaDoc text);
25
26     /**
27      * Reserved for future use.
28      */

29     public String JavaDoc getHtmlFor();
30     public void setHtmlFor(String JavaDoc htmlFor);
31
32     /**
33      * Reserved for future use.
34      */

35     public String JavaDoc getEvent();
36     public void setEvent(String JavaDoc event);
37
38     /**
39      * The character encoding of the linked resource. See the charset
40      * attribute definition in HTML 4.0.
41      */

42     public String JavaDoc getCharset();
43     public void setCharset(String JavaDoc charset);
44
45     /**
46      * Indicates that the user agent can defer processing of the script. See
47      * the defer attribute definition in HTML 4.0.
48      */

49     public boolean getDefer();
50     public void setDefer(boolean defer);
51
52     /**
53      * URI designating an external script. See the src attribute definition
54      * in HTML 4.0.
55      */

56     public String JavaDoc getSrc();
57     public void setSrc(String JavaDoc src);
58
59     /**
60      * The content type of the script language. See the type attribute
61      * definition in HTML 4.0.
62      */

63     public String JavaDoc getType();
64     public void setType(String JavaDoc type);
65
66 }
67
68
Popular Tags