KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Copyright (c) 2003 World Wide Web Consortium,
23  * (Massachusetts Institute of Technology, Institut National de
24  * Recherche en Informatique et en Automatique, Keio University). All
25  * Rights Reserved. This program is distributed under the W3C's Software
26  * Intellectual Property License. This program is distributed in the
27  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
28  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29  * PURPOSE.
30  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
31  */

32
33 package org.w3c.dom.html2;
34
35 import org.w3c.dom.Element JavaDoc;
36
37 /**
38  * All HTML element interfaces derive from this class. Elements that only
39  * expose the HTML core attributes are represented by the base
40  * <code>HTMLElement</code> interface. These elements are as follows:
41  * special: SUB, SUP, SPAN, BDOfont: TT, I, B, U, S, STRIKE, BIG, SMALL
42  * phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBRlist:
43  * DD, DTNOFRAMES, NOSCRIPTADDRESS, CENTERThe <code>style</code> attribute
44  * of an HTML element is accessible through the
45  * <code>ElementCSSInlineStyle</code> interface which is defined in the CSS
46  * module [<a HREF='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>DOM Level 2 Style Sheets and CSS</a>].
47  * <p>See also the <a HREF='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
48  */

49 public interface HTMLElement extends Element JavaDoc {
50     /**
51      * The element's identifier. See the id attribute definition in HTML 4.01.
52      */

53     public String JavaDoc getId();
54     /**
55      * The element's identifier. See the id attribute definition in HTML 4.01.
56      */

57     public void setId(String JavaDoc id);
58
59     /**
60      * The element's advisory title. See the title attribute definition in
61      * HTML 4.01.
62      */

63     public String JavaDoc getTitle();
64     /**
65      * The element's advisory title. See the title attribute definition in
66      * HTML 4.01.
67      */

68     public void setTitle(String JavaDoc title);
69
70     /**
71      * Language code defined in RFC 1766. See the lang attribute definition in
72      * HTML 4.01.
73      */

74     public String JavaDoc getLang();
75     /**
76      * Language code defined in RFC 1766. See the lang attribute definition in
77      * HTML 4.01.
78      */

79     public void setLang(String JavaDoc lang);
80
81     /**
82      * Specifies the base direction of directionally neutral text and the
83      * directionality of tables. See the dir attribute definition in HTML
84      * 4.01.
85      */

86     public String JavaDoc getDir();
87     /**
88      * Specifies the base direction of directionally neutral text and the
89      * directionality of tables. See the dir attribute definition in HTML
90      * 4.01.
91      */

92     public void setDir(String JavaDoc dir);
93
94     /**
95      * The class attribute of the element. This attribute has been renamed due
96      * to conflicts with the "class" keyword exposed by many languages. See
97      * the class attribute definition in HTML 4.01.
98      */

99     public String JavaDoc getClassName();
100     /**
101      * The class attribute of the element. This attribute has been renamed due
102      * to conflicts with the "class" keyword exposed by many languages. See
103      * the class attribute definition in HTML 4.01.
104      */

105     public void setClassName(String JavaDoc className);
106
107 }
108
Popular Tags