01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * 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;
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 {
29: /**
30: * The element's identifier. See the id attribute definition in HTML 4.0.
31: */
32: public String getId();
33:
34: public void setId(String id);
35:
36: /**
37: * The element's advisory title. See the title attribute definition in
38: * HTML 4.0.
39: */
40: public String getTitle();
41:
42: public void setTitle(String title);
43:
44: /**
45: * Language code defined in RFC 1766. See the lang attribute definition
46: * in HTML 4.0.
47: */
48: public String getLang();
49:
50: public void setLang(String lang);
51:
52: /**
53: * Specifies the base direction of directionally neutral text and the
54: * directionality of tables. See the dir attribute definition in HTML
55: * 4.0.
56: */
57: public String getDir();
58:
59: public void setDir(String dir);
60:
61: /**
62: * The class attribute of the element. This attribute has been renamed
63: * due to conflicts with the "class" keyword exposed by many languages.
64: * See the class attribute definition in HTML 4.0.
65: */
66: public String getClassName();
67:
68: public void setClassName(String className);
69:
70: }
|