KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.w3c.dom.Element JavaDoc;
16
17 /**
18  * All HTML element interfaces derive from this class. Elements that only
19  * expose the HTML core attributes are represented by the base
20  * <code>HTMLElement</code> interface. These elements are as follows: HEAD
21  * special: SUB, SUP, SPAN, BDO font: TT, I, B, U, S, STRIKE, BIG, SMALL
22  * phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR list:
23  * DD, DT NOFRAMES, NOSCRIPT ADDRESS, CENTER The <code>style</code> attribute
24  * of an HTML element is accessible through the
25  * <code>ElementCSSInlineStyle</code> interface which is defined in the .
26  * <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>.
27  */

28 public interface HTMLElement extends Element JavaDoc {
29     /**
30      * The element's identifier. See the id attribute definition in HTML 4.0.
31      */

32     public String JavaDoc getId();
33     public void setId(String JavaDoc id);
34
35     /**
36      * The element's advisory title. See the title attribute definition in
37      * HTML 4.0.
38      */

39     public String JavaDoc getTitle();
40     public void setTitle(String JavaDoc title);
41
42     /**
43      * Language code defined in RFC 1766. See the lang attribute definition
44      * in HTML 4.0.
45      */

46     public String JavaDoc getLang();
47     public void setLang(String JavaDoc lang);
48
49     /**
50      * Specifies the base direction of directionally neutral text and the
51      * directionality of tables. See the dir attribute definition in HTML
52      * 4.0.
53      */

54     public String JavaDoc getDir();
55     public void setDir(String JavaDoc dir);
56
57     /**
58      * The class attribute of the element. This attribute has been renamed
59      * due to conflicts with the "class" keyword exposed by many languages.
60      * See the class attribute definition in HTML 4.0.
61      */

62     public String JavaDoc getClassName();
63     public void setClassName(String JavaDoc className);
64
65 }
66
67
Popular Tags