Checking in Sources/Docs of DOM Level 2 from :
http://www.w3.org/DOM/DOMTM git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
No files matched your search
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>W3C IPR SOFTWARE NOTICE</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<h1>
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
</h1>
|
||||
<h3>
|
||||
Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</h3>
|
||||
<p>
|
||||
The DOM bindings are published under the W3C Software Copyright Notice
|
||||
and License. The software license requires "Notice of any changes or
|
||||
modifications to the W3C files, including the date changes were made."
|
||||
Consequently, modified versions of the DOM bindings must document that
|
||||
they do not conform to the W3C standard; in the case of the IDL binding,
|
||||
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
|
||||
binding, the package names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<p>
|
||||
<b>Note:</b> The original version of the W3C Software Copyright Notice
|
||||
and License could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
|
||||
</p>
|
||||
<h3>
|
||||
Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/
|
||||
</h3>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you include the following on ALL
|
||||
copies of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
</li>
|
||||
<li>
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright ©
|
||||
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
</li>
|
||||
<li>
|
||||
Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived.)
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright
|
||||
holders.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,223 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:42:26 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model (DOM) Level 2 Core
|
||||
Specification</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='expanded-toc.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='n'
|
||||
href='expanded-toc.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='head'>
|
||||
<p><a href='http://www.w3.org/'><img height='48' width='72'
|
||||
alt='W3C' src='./images/w3c_home.gif' /></a></p>
|
||||
|
||||
<h1 id='title'>Document Object Model (DOM) Level 2 Core
|
||||
Specification</h1>
|
||||
|
||||
<h2 id='version'>Version 1.0</h2>
|
||||
|
||||
<!-- REC-DOM-Level-2-Core-20001113
|
||||
-->
|
||||
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
|
||||
2000</i></h2>
|
||||
|
||||
<dl>
|
||||
<dt>This version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</a><br />
|
||||
(<a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.ps'>
|
||||
PostScript file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.pdf'>
|
||||
PDF file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.txt'>
|
||||
plain text</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.zip'>
|
||||
ZIP file</a>)</dd>
|
||||
|
||||
<dt>Latest version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Core'>http://www.w3.org/TR/DOM-Level-2-Core</a></dd>
|
||||
|
||||
<dt>Previous version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-20000927</a></dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Editors:</dt>
|
||||
|
||||
<dd>Arnaud Le Hors, <i>W3C team contact until October 1999, then
|
||||
IBM</i></dd>
|
||||
|
||||
<dd>Philippe Le Hégaret, <i>W3C, team contact (from November
|
||||
1999)</i></dd>
|
||||
|
||||
<dd>Lauren Wood, <i>SoftQuad Software Inc., WG Chair</i></dd>
|
||||
|
||||
<dd>Gavin Nicol, <i>Inso EPS (for DOM Level 1)</i></dd>
|
||||
|
||||
<dd>Jonathan Robie, <i>Texcel Research and Software AG (for DOM
|
||||
Level 1)</i></dd>
|
||||
|
||||
<dd>Mike Champion, <i>ArborText and Software AG (for DOM Level 1
|
||||
from November 20, 1997)</i></dd>
|
||||
|
||||
<dd>Steve Byrne, <i>JavaSoft (for DOM Level 1 until November 19,
|
||||
1997)</i></dd>
|
||||
</dl>
|
||||
|
||||
<p class='copyright'>Copyright © 2000 <a
|
||||
href='http://www.w3.org/'><abbr
|
||||
title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>
|
||||
(<a href='http://www.lcs.mit.edu/'><abbr
|
||||
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
|
||||
href='http://www.inria.fr/'><abbr lang='fr'
|
||||
title='Institut National de Recherche en Informatique et Automatique'>
|
||||
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
|
||||
Rights Reserved. W3C <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
|
||||
liability</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
|
||||
trademark</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
document use</a> and <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
software licensing</a> rules apply.</p>
|
||||
</div>
|
||||
|
||||
<hr title='separator from header' />
|
||||
<h2 id='abstract'>Abstract</h2>
|
||||
|
||||
<div class='abstract'>
|
||||
<p>This specification defines the Document Object Model Level 2
|
||||
Core, a platform- and language-neutral interface that allows
|
||||
programs and scripts to dynamically access and update the content
|
||||
and structure of documents. The Document Object Model Level 2 Core
|
||||
builds on the Document Object Model Level 1 Core.</p>
|
||||
|
||||
<p>The DOM Level 2 Core is made of a set of core interfaces to
|
||||
create and manipulate the structure and contents of a document. The
|
||||
Core also contains specialized interfaces dedicated to XML.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='status'>Status of this document</h2>
|
||||
|
||||
<div class='status'>
|
||||
<p><em>This section describes the status of this document at the
|
||||
time of its publication. Other documents may supersede this
|
||||
document. The latest status of this document series is maintained
|
||||
at the W3C.</em></p>
|
||||
|
||||
<p>This document has been reviewed by W3C Members and other
|
||||
interested parties and has been endorsed by the Director as a <a
|
||||
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
|
||||
W3C Recommendation</a>. It is a stable document and may be used as
|
||||
reference material or cited as a normative reference from another
|
||||
document. W3C's role in making the Recommendation is to draw
|
||||
attention to the specification and to promote its widespread
|
||||
deployment. This enhances the functionality and interoperability of
|
||||
the Web.</p>
|
||||
|
||||
<p>This document has been produced as part of the <a
|
||||
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
|
||||
The authors of this document are the DOM Working Group members.
|
||||
Different modules of the Document Object Model have different
|
||||
editors.</p>
|
||||
|
||||
<p>Please send general comments about this document to the public
|
||||
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
|
||||
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
|
||||
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
|
||||
|
||||
<p>The English version of this specification is the only normative
|
||||
version. Information about <a
|
||||
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
|
||||
of this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
|
||||
|
||||
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
|
||||
of known errors</a> in this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
|
||||
|
||||
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
|
||||
Recommendations and other technical documents</a> can be found at
|
||||
http://www.w3.org/TR.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
|
||||
of contents</a></h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='introduction.html'>What is the Document Object
|
||||
Model?</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='core.html'>1.
|
||||
Document Object Model Core</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='changes.html'>Appendix A: Changes</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='i18n.html'>Appendix
|
||||
B: Accessing code point boundaries</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix C: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix D: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix E: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix F: Acknowledgements</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='n' href='expanded-toc.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
*/
|
||||
/* Style for a "Recommendation" */
|
||||
|
||||
/*
|
||||
This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
|
||||
Acknowledgments:
|
||||
|
||||
- 'background-color' doesn't work on Mac IE 3, but 'background'
|
||||
does (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
|
||||
'small' is better: works in Mac NS, but is always 12pt in Mac IE
|
||||
3 (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
$Id$
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 2em 1em 2em 70px;
|
||||
font-family: sans-serif;
|
||||
color: black;
|
||||
background: white;
|
||||
background-position: top left;
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
th, td { /* ns 4 */
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { text-align: left }
|
||||
h1, h2, h3 { color: #005A9C }
|
||||
h1 { font: 170% sans-serif }
|
||||
h2 { font: 140% sans-serif }
|
||||
h3 { font: 120% sans-serif }
|
||||
h4 { font: bold 100% sans-serif }
|
||||
h5 { font: italic 100% sans-serif }
|
||||
h6 { font: small-caps 100% sans-serif }
|
||||
|
||||
.hide { display: none }
|
||||
|
||||
div.head { margin-bottom: 1em }
|
||||
div.head h1 { margin-top: 2em; clear: both }
|
||||
div.head table { margin-left: 2em; margin-top: 2em }
|
||||
div.head img { color: white; border: none } /* remove border from top image */
|
||||
|
||||
p.copyright { font-size: small }
|
||||
p.copyright small { font-size: small }
|
||||
|
||||
@media screen { /* hide from IE3 */
|
||||
a:hover { background: #ffa }
|
||||
}
|
||||
|
||||
pre { margin-left: 2em }
|
||||
/*
|
||||
p {
|
||||
margin-top: 0.6em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
*/
|
||||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
|
||||
dt { font-weight: bold }
|
||||
|
||||
pre, code { font-family: monospace } /* navigator 4 requires this */
|
||||
|
||||
ul.toc {
|
||||
list-style: disc; /* Mac NS has problem with 'none' */
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media aural {
|
||||
h1, h2, h3 { stress: 20; richness: 90 }
|
||||
.hide { speak: none }
|
||||
p.copyright { volume: x-soft; speech-rate: x-fast }
|
||||
dt { pause-before: 20% }
|
||||
pre { speak-punctuation: code }
|
||||
}
|
||||
|
||||
/* Things (icons) that should only show up in projection mode */
|
||||
.projection { display: none }
|
||||
@media projection { .projection { display: inline } }
|
||||
|
||||
|
||||
body {
|
||||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:25 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Acknowledgements</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='glossary.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ecma-script-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ecma-script-binding.html'>previous</a> <a
|
||||
accesskey='n' href='glossary.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="contributors" name='contributors'></a>
|
||||
|
||||
<h1 id='contributors-h1' class='adiv1'>Appendix F:
|
||||
Acknowledgements</h1>
|
||||
|
||||
<p>Many people contributed to this specification, including members
|
||||
of the DOM Working Group and the DOM Interest Group. We especially
|
||||
thank the following:</p>
|
||||
|
||||
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
|
||||
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
|
||||
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
|
||||
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
|
||||
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
|
||||
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
|
||||
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
|
||||
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
|
||||
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
|
||||
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
|
||||
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
|
||||
Davis (IBM), Mark Scardina (Oracle), Martin Dürst (W3C), Mick
|
||||
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
|
||||
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
|
||||
(Netscape), Philippe Le Hégaret (W3C, <em>W3C team
|
||||
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
|
||||
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
|
||||
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
|
||||
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
|
||||
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
|
||||
|
||||
<p>Thanks to all those who have helped to improve this
|
||||
specification by sending suggestions and corrections.</p>
|
||||
|
||||
<div class='div2'><a id="Productions" name='Productions'></a>
|
||||
|
||||
<h2 id='Productions-h2' class='adiv2'>F.1: Production Systems</h2>
|
||||
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java
|
||||
and ECMA Script bindings were all produced automatically.</p>
|
||||
|
||||
<p>Thanks to Joe English, author of <a
|
||||
href='http://www.flightlab.com/cost'>cost</a>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
|
||||
who wrote the scripts which run on top of cost. Arnaud Le Hors and
|
||||
Philippe Le Hégaret maintained the scripts.</p>
|
||||
|
||||
<p>For DOM Level 2, we used <a
|
||||
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le
|
||||
Hégaret and Arnaud Le Hors wrote the <a
|
||||
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
|
||||
Java programs</a> which are the DOM application.</p>
|
||||
|
||||
<p>Thanks also to Jan Kärrman, author of <a
|
||||
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
|
||||
use in creating the PostScript version of the specification.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Productions --></div>
|
||||
|
||||
<!-- div1 contributors -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
|
||||
<a accesskey='n' href='glossary.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:01 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Changes</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='i18n.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='core.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='core.html'>previous</a> <a accesskey='n'
|
||||
href='i18n.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Changes" name='Changes'></a>
|
||||
|
||||
<h1 id='Changes-h1' class='adiv1'>Appendix A: Changes</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Arnaud Le Hors, IBM</dd>
|
||||
|
||||
<dd>Philippe Le Hégaret, W3C</dd>
|
||||
</dl>
|
||||
|
||||
<div class='div2'><a id="DOMLevel1to2Changes"
|
||||
name='DOMLevel1to2Changes'></a>
|
||||
|
||||
<h2 id='DOMLevel1to2Changes-h2' class='adiv2'>A.1: Changes between
|
||||
DOM Level 1 Core and DOM Level 2 Core</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b>OMG IDL</b></dt>
|
||||
|
||||
<dd>The DOM Level 2 specifications are now using Corba 2.3.1
|
||||
instead of Corba 2.2.</dd>
|
||||
|
||||
<dt><b>Type <a
|
||||
href='core.html#DOMString'><code>DOMString</code></a></b></dt>
|
||||
|
||||
<dd>The definition of <a
|
||||
href='core.html#DOMString'><code>DOMString</code></a> in IDL is now
|
||||
a <code>valuetype</code>.</dd>
|
||||
</dl>
|
||||
|
||||
<div class='div3'><a id="DOMLevel1Changes"
|
||||
name='DOMLevel1Changes'></a>
|
||||
|
||||
<h3 id='DOMLevel1Changes-h3' class='adiv3'>A.1.1: Changes to DOM
|
||||
Level 1 Core interfaces and exceptions</h3>
|
||||
|
||||
<dl>
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-637646024'><code>Attr</code></a></b></dt>
|
||||
|
||||
<dd>The <a href='core.html#ID-637646024'><code>Attr</code></a>
|
||||
interface has one new attribute: <code>ownerElement</code>.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#i-Document'><code>Document</code></a></b></dt>
|
||||
|
||||
<dd>The <a href='core.html#i-Document'><code>Document</code></a>
|
||||
interface has five new methods: <code>importNode</code>,
|
||||
<code>createElementNS</code>, <code>createAttributeNS</code>,
|
||||
<code>getElementsByTagNameNS</code> and
|
||||
<code>getElementById</code>.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a></b></dt>
|
||||
|
||||
<dd>The <a
|
||||
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a>
|
||||
interface has three new methods: <code>getNamedItemNS</code>,
|
||||
<code>setNamedItemNS</code>, <code>removeNamedItemNS</code>.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-1950641247'><code>Node</code></a></b></dt>
|
||||
|
||||
<dd>The <a href='core.html#ID-1950641247'><code>Node</code></a>
|
||||
interface has two new methods: <code>isSupported</code> and
|
||||
<code>hasAttributes</code>.<br />
|
||||
<code>normalize</code>, previously in the <a
|
||||
href='core.html#ID-745549614'><code>Element</code></a> interface,
|
||||
has been moved in the <a
|
||||
href='core.html#ID-1950641247'><code>Node</code></a>
|
||||
interface.<br />
|
||||
The <a href='core.html#ID-1950641247'><code>Node</code></a>
|
||||
interface has three new attributes: <code>namespaceURI</code>,
|
||||
<code>prefix</code> and <code>localName</code>.<br />
|
||||
The <code>ownerDocument</code> attribute was specified to be
|
||||
<code>null</code> when the node is a <a
|
||||
href='core.html#i-Document'><code>Document</code></a>. It now is
|
||||
also <code>null</code> when the node is a <a
|
||||
href='core.html#ID-412266927'><code>DocumentType</code></a> which
|
||||
is not used with any <a class='noxref'
|
||||
href='core.html#i-Document'><code>Document</code></a> yet.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-412266927'><code>DocumentType</code></a></b></dt>
|
||||
|
||||
<dd>The <a
|
||||
href='core.html#ID-412266927'><code>DocumentType</code></a>
|
||||
interface has three attributes: <code>publicId</code>,
|
||||
<code>systemId</code> and <code>internalSubset</code>.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-102161490'><code>DOMImplementation</code></a></b></dt>
|
||||
|
||||
<dd>The <a
|
||||
href='core.html#ID-102161490'><code>DOMImplementation</code></a>
|
||||
interface has two new methods: <code>createDocumentType</code> and
|
||||
<code>createDocument</code>.</dd>
|
||||
|
||||
<dt><b>Interface <a
|
||||
href='core.html#ID-745549614'><code>Element</code></a></b></dt>
|
||||
|
||||
<dd>The <a href='core.html#ID-745549614'><code>Element</code></a>
|
||||
interface has eight new methods: <code>getAttributeNS</code>,
|
||||
<code>setAttributeNS</code>, <code>removeAttributeNS</code>,
|
||||
<code>getAttributeNodeNS</code>, <code>setAttributeNodeNS</code>,
|
||||
<code>getElementsByTagNameNS</code>, <code>hasAttribute</code> and
|
||||
<code>hasAttributeNS</code>.<br />
|
||||
The method <code>normalize</code> is now inherited from the <a
|
||||
href='core.html#ID-1950641247'><code>Node</code></a> interface
|
||||
where it was moved.</dd>
|
||||
|
||||
<dt><b>Exception <a
|
||||
href='core.html#ID-17189187'><code>DOMException</code></a></b></dt>
|
||||
|
||||
<dd>The <a
|
||||
href='core.html#ID-17189187'><code>DOMException</code></a> has five
|
||||
new exception codes: <code>INVALID_STATE_ERR</code>,
|
||||
<code>SYNTAX_ERR</code>, <code>INVALID_MODIFICATION_ERR</code>,
|
||||
<code>NAMESPACE_ERR</code> and
|
||||
<code>INVALID_ACCESS_ERR</code>.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div3 DOMLevel1Changes -->
|
||||
<div class='div3'><a id="DOMLevel2Addons"
|
||||
name='DOMLevel2Addons'></a>
|
||||
|
||||
<h3 id='DOMLevel2Addons-h3' class='adiv3'>A.1.2: New features</h3>
|
||||
|
||||
<div class='div4'><a id="DOMLevel2Addons-types"
|
||||
name='DOMLevel2Addons-types'></a>
|
||||
|
||||
<h4 id='DOMLevel2Addons-types-h4' class='adiv4'>A.1.2.1: New
|
||||
types</h4>
|
||||
|
||||
<dl>
|
||||
<dt><b><a
|
||||
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a></b></dt>
|
||||
|
||||
<dd>The <a
|
||||
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a> type
|
||||
was added to the Core module.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div4 DOMLevel2Addons-types --></div>
|
||||
|
||||
<!-- div3 DOMLevel2Addons --></div>
|
||||
|
||||
<!-- div2 DOMLevel1to2Changes --></div>
|
||||
|
||||
<!-- div1 Changes -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='core.html'>previous</a> <a
|
||||
accesskey='n' href='i18n.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:42:28 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Copyright Notice</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='introduction.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='expanded-toc.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='expanded-toc.html'>previous</a> <a accesskey='n'
|
||||
href='introduction.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Copyright-Notice"
|
||||
name='Copyright-Notice'></a>
|
||||
|
||||
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
|
||||
|
||||
<p><b>Copyright © 2000 <a href='http://www.w3.org/'>World Wide
|
||||
Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p>This document is published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a>. The bindings within this document
|
||||
are published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a>. The software license requires
|
||||
"Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made." Consequently, modified versions of the
|
||||
DOM bindings must document that they do not conform to the W3C
|
||||
standard; in the case of the IDL definitions, the pragma prefix can
|
||||
no longer be 'w3c.org'; in the case of the Java Language binding,
|
||||
the package names can no longer be in the 'org.w3c' package.</p>
|
||||
|
||||
<div class='div2'><a id="Copyright-notice-document"
|
||||
name='Copyright-notice-document'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Document Notice
|
||||
and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
|
||||
Notice</a>. By using and/or copying this document, or the W3C
|
||||
document from which this statement is linked, you (the licensee)
|
||||
agree that you have read, understood, and will comply with the
|
||||
following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on <em>ALL</em>
|
||||
copies of the document, or portions thereof, that you use:</p>
|
||||
|
||||
<ol>
|
||||
<li>A link or URL to the original W3C document.</li>
|
||||
|
||||
<li>The pre-existing copyright notice of the original author, or if
|
||||
it doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)</li>
|
||||
|
||||
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
|
||||
</ol>
|
||||
|
||||
<p>When space permits, inclusion of the full text of this
|
||||
<b>NOTICE</b> should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.</p>
|
||||
|
||||
<p>No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the <a
|
||||
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
|
||||
FAQ</a>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.</p>
|
||||
|
||||
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-document -->
|
||||
<div class='div2'><a id="Copyright-notice-software"
|
||||
name='Copyright-notice-software'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Software
|
||||
Copyright Notice and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and modify this software and its
|
||||
documentation, with or without modification, for any purpose and
|
||||
without fee or royalty is hereby granted, provided that you include
|
||||
the following on ALL copies of the software and documentation or
|
||||
portions thereof, including modifications, that you make:</p>
|
||||
|
||||
<ol>
|
||||
<li>The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.</li>
|
||||
|
||||
<li>Any pre-existing intellectual property disclaimers. If none
|
||||
exist, then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."</li>
|
||||
|
||||
<li>Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)</li>
|
||||
</ol>
|
||||
|
||||
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-software --></div>
|
||||
|
||||
<!-- div1 Copyright-Notice -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='expanded-toc.html'>previous</a> <a
|
||||
accesskey='n' href='introduction.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,973 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:27 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='previous' href='references.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='references.html'>previous</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Index" name='Index'></a>
|
||||
|
||||
<h1 id='role-index' class='index'>Index</h1>
|
||||
|
||||
<table
|
||||
summary='the table contains all keywords used in this document'>
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref' href='core.html#DOMString'>16-bit
|
||||
unit</a> <a class='index-inst' href='core.html#DOMString'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-5DFED1F0'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-FF21A306'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-7D61178C'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-3EDB695F'>5</a>, <a
|
||||
class='index-inst' href='core.html#ID-7C603781'>6</a>, <a
|
||||
class='index-inst' href='core.html#ID-E5CBA7FB'>7</a>, <a
|
||||
class='index-inst' href='core.html#ID-38853C1D'>8</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-16-bit-unit'>9</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-952280727'>ancestor</a> <a class='index-inst'
|
||||
href='core.html#ID-952280727'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-785887307'>2</a>, <a class='index-inst'
|
||||
href='core.html#ID-184E7107'>3</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-ancestor'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>API</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='introduction.html#ID-E7C30821'>2</a>, <a class='index-inst'
|
||||
href='introduction.html#ID-E7C30822'>3</a>, <a class='index-inst'
|
||||
href='core.html#ID-1CED5498'>4</a>, <a class='index-inst'
|
||||
href='core.html#ID-C74D1578'>5</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-API'>6</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-184E7107'>appendChild</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-32791A2F'>appendData</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-637646024'>Attr</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>ATTRIBUTE_NODE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-84CF096'>attributes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>CDATA_SECTION_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-667469212'>CDATASection</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-FF21A306'>CharacterData</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-5DFED1F0'>Charmod</a> <a class='index-inst'
|
||||
href='core.html#ID-5DFED1F0'>1</a>, <a class='index-inst'
|
||||
href='references.html#Charmod'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1590626202'>child</a> <a class='index-inst'
|
||||
href='core.html#ID-1590626202'>1</a>, <a class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>2</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-child'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1451460987'>childNodes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>client application</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-application'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-3A0ED0A4'>cloneNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>COM</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-1CED5498'>2</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-COM'>3</a>, <a class='index-inst'
|
||||
href='references.html#COM'>4</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1728279322'>Comment</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>COMMENT_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-87CD092'>convenience</a> <a class='index-inst'
|
||||
href='core.html#ID-87CD092'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-745549614'>2</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-convenience'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>CORBA</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='references.html#CORBA'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1084891198'>createAttribute</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-DocCrAttrNS'>createAttributeNS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-D26C0AF8'>createCDATASection</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1334481328'>createComment</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Level-2-Core-DOM-createDocument'>createDocument</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-35CB04B5'>createDocumentFragment</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Level-2-Core-DOM-createDocType'>createDocumentType</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-2141741547'>createElement</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-DocCrElNS'>createElementNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-392B75AE'>createEntityReference</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-135944439'>createProcessingInstruction</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1975348127'>createTextNode</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-72AB8359'>data</a> <a class='index-inst'
|
||||
href='core.html#ID-72AB8359'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-837822393'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30821'>data model</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-datamodel'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-7C603781'>deleteData</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>descendant</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst' href='core.html#Core-Document-importNode'>2</a>,
|
||||
<a class='index-inst' href='core.html#ID-1938918D'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-A6C90942'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-527DCFF2'>5</a>, <a
|
||||
class='index-inst' href='core.html#ID-11C98490'>6</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-descendant'>7</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-B63ED1A31'>doctype</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#i-Document'>Document</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>DOCUMENT_FRAGMENT_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>DOCUMENT_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>DOCUMENT_TYPE_NODE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-87CD092'>documentElement</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-B63ED1A3'>DocumentFragment</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-412266927'>DocumentType</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30824'>DOM Level 1</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30824'>1</a>, <a
|
||||
class='index-inst' href='references.html#DOM-Level-1'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 CSS</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst' href='references.html#DOMCSS-inf'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 Events</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='references.html#DOMEvents-inf'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 HTML</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst' href='core.html#ID-BBACDC08'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-E067D597'>3</a>, <a
|
||||
class='index-inst' href='references.html#DOMHTML-inf'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 Range</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='references.html#DOMRange-inf'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 Style
|
||||
Sheets</a> <a class='index-inst'
|
||||
href='introduction.html#ID-Conformance'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='references.html#DOMStyleSheets-inf'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 Traversal</a>
|
||||
<a class='index-inst'
|
||||
href='introduction.html#ID-Conformance'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='references.html#DOMTraversal-inf'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>DOM Level 2 Views</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='references.html#DOMViews-inf'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-17189187'>DOMException</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-102161490'>DOMImplementation</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#DOMString'>DOMString</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>DOMSTRING_SIZE_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#DOMTimeStamp'>DOMTimeStamp</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>ECMAScript</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-249F15BA'>2</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-ECMAScript'>3</a>, <a
|
||||
class='index-inst' href='references.html#ECMAScript'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-745549614'>Element</a> <a class='index-inst'
|
||||
href='core.html#ID-745549614'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-1590626202'>2</a>, <a class='index-inst'
|
||||
href='core.html#td-live'>3</a>, <a class='index-inst'
|
||||
href='core.html#ID-5DFED1F0'>4</a>, <a class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>5</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-element'>6</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>ELEMENT_NODE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1788794630'>entities</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-527DCFF2'>Entity</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>ENTITY_NODE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>ENTITY_REFERENCE_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-11C98490'>EntityReference</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-169727388'>firstChild</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-666EE0F9'>getAttribute</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-217A91B8'>getAttributeNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElGetAtNodeNS'>getAttributeNodeNS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElGetAttrNS'>getAttributeNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-getElBId'>getElementById</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-A6C9094'>getElementsByTagName</a> <a
|
||||
class='index-inst' href='core.html#ID-A6C9094'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-1938918D'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-getElBTNNS'>getElementsByTagNameNS</a> <a
|
||||
class='index-inst' href='core.html#ID-getElBTNNS'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-A6C90942'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1074577549'>getNamedItem</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-getNamedItemNS'>getNamedItemNS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElHasAttr'>hasAttribute</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElHasAttrNS'>hasAttributeNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-NodeHasAttrs'>hasAttributes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-810594187'>hasChildNodes</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-5CED94D7'>hasFeature</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>HIERARCHY_REQUEST_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30824'>hosting implementation</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30824'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='glossary.html#dt-implementation'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>HTML</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-HTML'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-HTML'>HTML4.0</a> <a class='index-inst'
|
||||
href='glossary.html#dt-HTML'>1</a>, <a class='index-inst'
|
||||
href='references.html#HTML40'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1B793EBA'>implementation</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Core-Document-importNode'>importNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INDEX_SIZE_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1312295772'>information item</a> <a
|
||||
class='index-inst' href='core.html#ID-1312295772'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-infoitem'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30821'>Infoset</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30822'>2</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-infoitem'>3</a>, <a
|
||||
class='index-inst' href='references.html#InfoSet'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1CED5498'>inheritance</a> <a class='index-inst'
|
||||
href='core.html#ID-1CED5498'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-inheritance'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-952280727'>insertBefore</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-3EDB695F'>insertData</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>interface</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-interface'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-Core-DocType-internalSubset'>internalSubset</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INUSE_ATTRIBUTE_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INVALID_ACCESS_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INVALID_CHARACTER_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INVALID_MODIFICATION_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>INVALID_STATE_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-C74D1578'>ISO/IEC 10646</a> <a
|
||||
class='index-inst' href='core.html#ID-C74D1578'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-16-bit-unit'>2</a>, <a
|
||||
class='index-inst' href='references.html#ISO10646'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Level-2-Core-Node-supports'>isSupported</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-844377136'>item</a> <a class='index-inst'
|
||||
href='core.html#ID-844377136'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-349467F9'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>Java</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='references.html#Java'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>JavaIDL</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='references.html#JavaIDL'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>JavaScript</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-ECMAScript'>2</a>, <a
|
||||
class='index-inst' href='references.html#JavaScript'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>JScript</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='references.html#JScript'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>language binding</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-lang-binding'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-61AD09FB'>lastChild</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-203510337'>length</a> <a class='index-inst'
|
||||
href='core.html#ID-203510337'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-6D0FB19E'>2</a>, <a class='index-inst'
|
||||
href='core.html#ID-7D61178C'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref' href='core.html#td-live'>live</a>
|
||||
<a class='index-inst' href='core.html#td-live'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-536297177'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-1780488922'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-DocCrElNS'>local name</a> <a class='index-inst'
|
||||
href='core.html#ID-DocCrElNS'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-DocCrAttrNS'>2</a>, <a class='index-inst'
|
||||
href='core.html#ID-getElBTNNS'>3</a>, <a class='index-inst'
|
||||
href='core.html#ID-getNamedItemNS'>4</a>, <a class='index-inst'
|
||||
href='core.html#ID-removeNamedItemNS'>5</a>, <a class='index-inst'
|
||||
href='core.html#ID-ElGetAttrNS'>6</a>, <a class='index-inst'
|
||||
href='core.html#ID-ElRemAtNS'>7</a>, <a class='index-inst'
|
||||
href='core.html#ID-ElGetAtNodeNS'>8</a>, <a class='index-inst'
|
||||
href='core.html#ID-ElSetAtNodeNS'>9</a>, <a class='index-inst'
|
||||
href='core.html#ID-A6C90942'>10</a>, <a class='index-inst'
|
||||
href='core.html#ID-ElHasAttrNS'>11</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-localname'>12</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-NodeNSLocalN'>localName</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-Conformance'>method</a> <a
|
||||
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-method'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>MIDL</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='references.html#MSIDL'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30821'>model</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-model'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1112119403'>name</a> <a class='index-inst'
|
||||
href='core.html#ID-1112119403'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-1844763134'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1780488922'>NamedNodeMap</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>namespace prefix</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-392B75AE'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSPrefix'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-527DCFF2'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-11C98490'>5</a>, <a
|
||||
class='index-inst'
|
||||
href='glossary.html#dt-namespaceprefix'>6</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>namespace URI</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='core.html#Level-2-Core-DOM-createDocument'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-DocCrElNS'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-DocCrAttrNS'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-getElBTNNS'>5</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSname'>6</a>, <a
|
||||
class='index-inst' href='core.html#ID-getNamedItemNS'>7</a>, <a
|
||||
class='index-inst' href='core.html#ID-removeNamedItemNS'>8</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElGetAttrNS'>9</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElSetAttrNS'>10</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElRemAtNS'>11</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElGetAtNodeNS'>12</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElSetAtNodeNS'>13</a>, <a
|
||||
class='index-inst' href='core.html#ID-A6C90942'>14</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElHasAttrNS'>15</a>, <a
|
||||
class='index-inst' href='core.html#ID-11C98490'>16</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-namespaceURI'>17</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>NAMESPACE_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>Namespaces</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='core.html#Level-2-Core-DOM-createDocument'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-DocCrElNS'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSname'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSPrefix'>5</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-localname'>6</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-namespaceprefix'>7</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-namespaceURI'>8</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-qualifiedname'>9</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-XML-namespace'>10</a>,
|
||||
<a class='index-inst' href='references.html#Namespaces'>11</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-NodeNSname'>namespaceURI</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-6AC54C2F'>nextSibling</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>NO_DATA_ALLOWED_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>NO_MODIFICATION_ALLOWED_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1950641247'>Node</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-536297177'>NodeList</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-F68D095'>nodeName</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-111237558'>nodeType</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-F68D080'>nodeValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-normalize'>normalize</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>NOT_FOUND_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>NOT_SUPPORTED_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-5431D1B9'>Notation</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>NOTATION_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-6ABAEB38'>notationName</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-D46829EF'>notations</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C30821'>object model</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
|
||||
class='index-inst' href='introduction.html#ID-E7C30822'>2</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-object-model'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>OMGIDL</a> <a
|
||||
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-C74D1578'>2</a>, <a
|
||||
class='index-inst' href='references.html#OMGIDL'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#node-ownerDoc'>ownerDocument</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Attr-ownerElement'>ownerElement</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1060184317'>parent</a> <a class='index-inst'
|
||||
href='core.html#ID-1060184317'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-parent'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1060184317'>parentNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-NodeNSPrefix'>prefix</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-640FB3C8'>previousSibling</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>PROCESSING_INSTRUCTION_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1004215813'>ProcessingInstruction</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-Core-DocType-publicId'>publicId</a> <a
|
||||
class='index-inst' href='core.html#ID-Core-DocType-publicId'>1</a>,
|
||||
<a class='index-inst' href='core.html#ID-54F2B4D0'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-D7303025'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>qualified name</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='core.html#Level-2-Core-DOM-createDocType'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='core.html#Level-2-Core-DOM-createDocument'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-DocCrElNS'>4</a>, <a
|
||||
class='index-inst' href='core.html#ID-DocCrAttrNS'>5</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSPrefix'>6</a>, <a
|
||||
class='index-inst' href='core.html#ID-NodeNSLocalN'>7</a>, <a
|
||||
class='index-inst' href='core.html#ID-ElSetAttrNS'>8</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-qualifiedname'>9</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-3A0ED0A4'>readonly node</a> <a
|
||||
class='index-inst' href='core.html#ID-3A0ED0A4'>1</a>, <a
|
||||
class='index-inst' href='core.html#ID-5431D1B9'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-527DCFF2'>3</a>, <a
|
||||
class='index-inst' href='core.html#ID-11C98490'>4</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-readonly-node'>5</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-6D6AC0F9'>removeAttribute</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-D589198'>removeAttributeNode</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElRemAtNS'>removeAttributeNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1734834066'>removeChild</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-D58B193'>removeNamedItem</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-removeNamedItemNS'>removeNamedItemNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-785887307'>replaceChild</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-E5CBA7FB'>replaceData</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-XML-namespace'>RFC2396</a> <a
|
||||
class='index-inst' href='glossary.html#dt-XML-namespace'>1</a>, <a
|
||||
class='index-inst' href='references.html#URIRef'>2</a></td>
|
||||
<td width='30%'><a class='noxref' href='core.html#i-Document'>root
|
||||
node</a> <a class='index-inst' href='core.html#i-Document'>1</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-root-node'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-F68F082'>setAttribute</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-887236154'>setAttributeNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElSetAtNodeNS'>setAttributeNodeNS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-ElSetAttrNS'>setAttributeNS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1025163788'>setNamedItem</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-setNamedItemNS'>setNamedItemNS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-B63ED1A3'>sibling</a> <a class='index-inst'
|
||||
href='core.html#ID-B63ED1A3'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-38853C1D'>2</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-sibling'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-862529273'>specified</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-38853C1D'>splitText</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-5DFED1F0'>string comparison</a> <a
|
||||
class='index-inst' href='core.html#ID-5DFED1F0'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='glossary.html#dt-string-compare'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-6531BCCF'>substringData</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>SYNTAX_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-Core-DocType-systemId'>systemId</a> <a
|
||||
class='index-inst' href='core.html#ID-Core-DocType-systemId'>1</a>,
|
||||
<a class='index-inst' href='core.html#ID-E8AAB1D0'>2</a>, <a
|
||||
class='index-inst' href='core.html#ID-D7C29F3E'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-104682815'>tagName</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1478689192'>target</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1312295772'>Text</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1841493061'>TEXT_NODE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-1478689192'>token</a> <a class='index-inst'
|
||||
href='core.html#ID-1478689192'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-token'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-637646024'>tokenized</a> <a class='index-inst'
|
||||
href='core.html#ID-637646024'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-tokenized'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-C74D1578'>Unicode</a> <a class='index-inst'
|
||||
href='core.html#ID-C74D1578'>1</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-16-bit-unit'>2</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-string-compare'>3</a>, <a class='index-inst'
|
||||
href='references.html#Unicode'>4</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-221662474'>value</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-B63ED1A3'>well-formed document</a> <a
|
||||
class='index-inst' href='core.html#ID-B63ED1A3'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-well-formed'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-258A00AF'>WRONG_DOCUMENT_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='introduction.html#ID-E7C3082'>XML</a> <a class='index-inst'
|
||||
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
|
||||
href='core.html#ID-5431D1B9'>2</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-XML'>3</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-element'>4</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-well-formed'>5</a>, <a class='index-inst'
|
||||
href='glossary.html#dt-XML-name'>6</a>, <a class='index-inst'
|
||||
href='references.html#XML'>7</a></td>
|
||||
<td width='30%'><a class='noxref' href='core.html#ID-5CED94D7'>XML
|
||||
name</a> <a class='index-inst' href='core.html#ID-5CED94D7'>1</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-XML-name'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#Namespaces-Considerations'>XML namespace</a> <a
|
||||
class='index-inst'
|
||||
href='core.html#Namespaces-Considerations'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-XML-namespace'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='core.html#ID-normalize'>XPointer</a> <a class='index-inst'
|
||||
href='core.html#ID-normalize'>1</a>, <a class='index-inst'
|
||||
href='references.html#XPointer'>2</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- div1 Index -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='references.html'>previous</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:42:27 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Expanded Table of Contents</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='copyright-notice.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='Overview.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='Overview.html'>previous</a> <a accesskey='n'
|
||||
href='copyright-notice.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="TOC" name='TOC'></a>
|
||||
|
||||
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='introduction.html'>What is the Document Object Model?</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C3082'>Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C30821'>What the Document Object Model
|
||||
is</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C30822'>What the Document Object Model
|
||||
is not</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C30823'>Where the Document Object
|
||||
Model came from</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C30824'>Entities and the DOM
|
||||
Core</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-Conformance'>Conformance</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='introduction.html#ID-E7C30826'>DOM Interfaces and DOM
|
||||
Implementations</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='core.html'>1.
|
||||
Document Object Model Core</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='core.html#ID-1590626201'>1.1. Overview of the DOM Core
|
||||
Interfaces</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-1590626202'>1.1.1. The DOM Structure
|
||||
Model</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-249F15BA'>1.1.2. Memory Management</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-45A944CB'>1.1.3. Naming Conventions</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-1CED5498'>1.1.4. Inheritance vs. Flattened Views
|
||||
of the API</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-C74D1578'>1.1.5. The DOMString type</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#Core-DOMTimeStamp'>1.1.6. The DOMTimeStamp
|
||||
type</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#ID-5DFED1F0'>1.1.7. String comparisons in the
|
||||
DOM</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='core.html#Namespaces-Considerations'>1.1.8. XML
|
||||
Namespaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='core.html#ID-BBACDC08'>1.2. Fundamental Interfaces</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='core.html#ID-E067D597'>1.3. Extended Interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='changes.html'>Appendix A: Changes</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='changes.html#DOMLevel1to2Changes'>A.1. Changes between DOM
|
||||
Level 1 Core and DOM Level 2 Core</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='changes.html#DOMLevel1Changes'>A.1.1. Changes to DOM Level 1
|
||||
Core interfaces and exceptions</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='changes.html#DOMLevel2Addons'>A.1.2. New features</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='i18n.html'>Appendix
|
||||
B: Accessing code point boundaries</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='i18n.html#i18n-introduction'>B.1. Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='i18n.html#i18n-methods'>B.2. Methods</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix C: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix D: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix E: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix F: Acknowledgements</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='acknowledgements.html#Productions'>F.1. Production
|
||||
Systems</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Normative'>1. Normative
|
||||
references</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Informative'>2. Informative
|
||||
references</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div1 TOC -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='Overview.html'>previous</a> <a
|
||||
accesskey='n' href='copyright-notice.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,356 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:25 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Glossary</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='references.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='acknowledgements.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='acknowledgements.html'>previous</a> <a accesskey='n'
|
||||
href='references.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="glossary" name='glossary'></a>
|
||||
|
||||
<h1 id='role-glossary' class='glossary'>Glossary</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Arnaud Le Hors, IBM</dd>
|
||||
|
||||
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
|
||||
|
||||
<dd>Robert S. Sutor, IBM (for DOM Level 1)</dd>
|
||||
</dl>
|
||||
|
||||
<p>Several of the following term definitions have been borrowed or
|
||||
modified from similar definitions in other W3C or standards
|
||||
documents. See the links within the definitions for more
|
||||
information.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="dt-16-bit-unit" name='dt-16-bit-unit'>16-bit
|
||||
unit</a></b></dt>
|
||||
|
||||
<dd>The base unit of a <a
|
||||
href='core.html#DOMString'><code>DOMString</code></a>. This
|
||||
indicates that indexing on a <a class='noxref'
|
||||
href='core.html#DOMString'><code>DOMString</code></a> occurs in
|
||||
units of 16 bits. This must not be misunderstood to mean that a <a
|
||||
class='noxref'
|
||||
href='core.html#DOMString'><code>DOMString</code></a> can store
|
||||
arbitrary 16-bit units. A <a class='noxref'
|
||||
href='core.html#DOMString'><code>DOMString</code></a> is a
|
||||
character string encoded in UTF-16; this means that the
|
||||
restrictions of UTF-16 as well as the other relevant restrictions
|
||||
on character strings must be maintained. A single character, for
|
||||
example in the form of a numeric character reference, may
|
||||
correspond to one or two 16-bit units.<br />
|
||||
For more information, see [<a class='noxref'
|
||||
href='references.html#Unicode'>Unicode</a>] and [<a class='noxref'
|
||||
href='references.html#ISO10646'>ISO/IEC 10646</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-ancestor" name='dt-ancestor'>ancestor</a></b></dt>
|
||||
|
||||
<dd>An <i>ancestor</i> node of any node A is any node above A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-API" name='dt-API'>API</a></b></dt>
|
||||
|
||||
<dd>An <i>API</i> is an application programming interface, a set of
|
||||
functions or <i>methods</i> used to access some functionality.</dd>
|
||||
|
||||
<dt><b><a id="dt-child" name='dt-child'>child</a></b></dt>
|
||||
|
||||
<dd>A <i>child</i> is an immediate <i>descendant</i> node of a
|
||||
node.</dd>
|
||||
|
||||
<dt><b><a id="dt-application" name='dt-application'>client
|
||||
application</a></b></dt>
|
||||
|
||||
<dd>A [client] application is any software that uses the Document
|
||||
Object Model programming interfaces provided by the hosting
|
||||
implementation to accomplish useful work. Some examples of client
|
||||
applications are scripts within an HTML or XML document.</dd>
|
||||
|
||||
<dt><b><a id="dt-COM" name='dt-COM'>COM</a></b></dt>
|
||||
|
||||
<dd><i>COM</i> is Microsoft's Component Object Model [<a
|
||||
class='noxref' href='references.html#COM'>COM</a>], a technology
|
||||
for building applications from binary software components.</dd>
|
||||
|
||||
<dt><b><a id="dt-convenience"
|
||||
name='dt-convenience'>convenience</a></b></dt>
|
||||
|
||||
<dd>A <i>convenience method</i> is an operation on an object that
|
||||
could be accomplished by a program consisting of more basic
|
||||
operations on the object. Convenience <i>methods</i> are usually
|
||||
provided to make the API easier and simpler to use or to allow
|
||||
specific programs to create more optimized implementations for
|
||||
common operations. A similar definition holds for a <i>convenience
|
||||
property</i>.</dd>
|
||||
|
||||
<dt><b><a id="dt-datamodel" name='dt-datamodel'>data
|
||||
model</a></b></dt>
|
||||
|
||||
<dd>A <i>data model</i> is a collection of descriptions of data
|
||||
structures and their contained fields, together with the operations
|
||||
or functions that manipulate them.</dd>
|
||||
|
||||
<dt><b><a id="dt-descendant"
|
||||
name='dt-descendant'>descendant</a></b></dt>
|
||||
|
||||
<dd>A <i>descendant</i> node of any node A is any node below A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-ECMAScript"
|
||||
name='dt-ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>The programming language defined by the ECMA-262 standard [<a
|
||||
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>].
|
||||
As stated in the standard, the originating technology for
|
||||
ECMAScript was JavaScript [<a class='noxref'
|
||||
href='references.html#JavaScript'>JavaScript</a>]. Note that in the
|
||||
ECMAScript Language binding, the word "property" is used in the
|
||||
same sense as the IDL term "attribute."</dd>
|
||||
|
||||
<dt><b><a id="dt-element" name='dt-element'>element</a></b></dt>
|
||||
|
||||
<dd>Each document contains one or more elements, the boundaries of
|
||||
which are either delimited by start-tags and end-tags, or, for
|
||||
empty elements by an empty-element tag. Each element has a type,
|
||||
identified by name, and may have a set of attributes. Each
|
||||
attribute has a name and a value. See <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210#sec-logical-struct'>
|
||||
<em>Logical Structures</em></a> in XML [<a class='noxref'
|
||||
href='references.html#XML'>XML</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-infoitem" name='dt-infoitem'>information
|
||||
item</a></b></dt>
|
||||
|
||||
<dd>An information item is an abstract representation of some
|
||||
component of an XML document. See the [<a class='noxref'
|
||||
href='references.html#InfoSet'>Infoset</a>] for details.</dd>
|
||||
|
||||
<dt><b><a id="dt-implementation" name='dt-implementation'>hosting
|
||||
implementation</a></b></dt>
|
||||
|
||||
<dd>A [hosting] implementation is a software module that provides
|
||||
an implementation of the DOM interfaces so that a client
|
||||
application can use them. Some examples of hosting implementations
|
||||
are browsers, editors and document repositories.</dd>
|
||||
|
||||
<dt><b><a id="dt-HTML" name='dt-HTML'>HTML</a></b></dt>
|
||||
|
||||
<dd>The HyperText Markup Language (<i>HTML</i>) is a simple markup
|
||||
language used to create hypertext documents that are portable from
|
||||
one platform to another. HTML documents are SGML documents with
|
||||
generic semantics that are appropriate for representing information
|
||||
from a wide range of applications. [<a class='noxref'
|
||||
href='references.html#HTML40'>HTML4.0</a>]</dd>
|
||||
|
||||
<dt><b><a id="dt-inheritance"
|
||||
name='dt-inheritance'>inheritance</a></b></dt>
|
||||
|
||||
<dd>In object-oriented programming, the ability to create new
|
||||
classes (or interfaces) that contain all the methods and properties
|
||||
of another class (or interface), plus additional methods and
|
||||
properties. If class (or interface) D inherits from class (or
|
||||
interface) B, then D is said to be <i>derived</i> from B. B is said
|
||||
to be a <i>base</i> class (or interface) for D. Some programming
|
||||
languages allow for multiple inheritance, that is, inheritance from
|
||||
more than one class or interface.</dd>
|
||||
|
||||
<dt><b><a id="dt-interface"
|
||||
name='dt-interface'>interface</a></b></dt>
|
||||
|
||||
<dd>An <i>interface</i> is a declaration of a set of <i>methods</i>
|
||||
with no information given about their implementation. In object
|
||||
systems that support interfaces and inheritance, interfaces can
|
||||
usually inherit from one another.</dd>
|
||||
|
||||
<dt><b><a id="dt-lang-binding" name='dt-lang-binding'>language
|
||||
binding</a></b></dt>
|
||||
|
||||
<dd>A programming <i>language binding</i> for an IDL specification
|
||||
is an implementation of the interfaces in the specification for the
|
||||
given language. For example, a Java language binding for the
|
||||
Document Object Model IDL specification would implement the
|
||||
concrete Java classes that provide the functionality exposed by the
|
||||
interfaces.</dd>
|
||||
|
||||
<dt><b><a id="dt-localname" name='dt-localname'>local
|
||||
name</a></b></dt>
|
||||
|
||||
<dd>A <i>local name</i> is the local part of a <i>qualified
|
||||
name</i>. This is called the local part in Namespaces in XML [<a
|
||||
class='noxref'
|
||||
href='references.html#Namespaces'>Namespaces</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-method" name='dt-method'>method</a></b></dt>
|
||||
|
||||
<dd>A <i>method</i> is an operation or function that is associated
|
||||
with an object and is allowed to manipulate the object's data.</dd>
|
||||
|
||||
<dt><b><a id="dt-model" name='dt-model'>model</a></b></dt>
|
||||
|
||||
<dd>A <i>model</i> is the actual data representation for the
|
||||
information at hand. Examples are the structural model and the
|
||||
style model representing the parse structure and the style
|
||||
information associated with a document. The model might be a tree,
|
||||
or a directed graph, or something else.</dd>
|
||||
|
||||
<dt><b><a id="dt-namespaceprefix"
|
||||
name='dt-namespaceprefix'>namespace prefix</a></b></dt>
|
||||
|
||||
<dd>A <i>namespace prefix</i> is a string that associates an
|
||||
element or attribute name with a <i>namespace URI</i> in XML. See
|
||||
namespace prefix in Namespaces in XML [<a class='noxref'
|
||||
href='references.html#Namespaces'>Namespaces</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-namespaceURI" name='dt-namespaceURI'>namespace
|
||||
URI</a></b></dt>
|
||||
|
||||
<dd>A <i>namespace URI</i> is a URI that identifies an <i>XML
|
||||
namespace</i>. Strictly speaking, this actually is a <i>namespace
|
||||
URI reference</i>. This is called the namespace name in Namespaces
|
||||
in XML [<a class='noxref'
|
||||
href='references.html#Namespaces'>Namespaces</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-object-model" name='dt-object-model'>object
|
||||
model</a></b></dt>
|
||||
|
||||
<dd>An <i>object model</i> is a collection of descriptions of
|
||||
classes or interfaces, together with their member data, member
|
||||
functions, and class-static operations.</dd>
|
||||
|
||||
<dt><b><a id="dt-parent" name='dt-parent'>parent</a></b></dt>
|
||||
|
||||
<dd>A <i>parent</i> is an immediate <i>ancestor</i> node of a
|
||||
node.</dd>
|
||||
|
||||
<dt><b><a id="dt-qualifiedname" name='dt-qualifiedname'>qualified
|
||||
name</a></b></dt>
|
||||
|
||||
<dd>A <i>qualified name</i> is the name of an element or attribute
|
||||
defined as the concatenation of a <i>local name</i> (as defined in
|
||||
this specification), optionally preceded by a <i>namespace
|
||||
prefix</i> and colon character. See <a
|
||||
href='http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames'>
|
||||
<em>Qualified Names</em></a> in Namespaces in XML [<a
|
||||
class='noxref'
|
||||
href='references.html#Namespaces'>Namespaces</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-readonly-node" name='dt-readonly-node'>readonly
|
||||
node</a></b></dt>
|
||||
|
||||
<dd>A <i>readonly node</i> is a node that is immutable. This means
|
||||
its list of children, its content, and its attributes, when it is
|
||||
an element, cannot be changed in any way. However, a readonly node
|
||||
can possibly be moved, when it is not itself contained in a
|
||||
readonly node.</dd>
|
||||
|
||||
<dt><b><a id="dt-root-node" name='dt-root-node'>root
|
||||
node</a></b></dt>
|
||||
|
||||
<dd>The <i>root node</i> is the unique node that is not a
|
||||
<i>child</i> of any other node. All other nodes are children or
|
||||
other descendants of the root node.</dd>
|
||||
|
||||
<dt><b><a id="dt-sibling" name='dt-sibling'>sibling</a></b></dt>
|
||||
|
||||
<dd>Two nodes are <i>siblings</i> if and only if they have the same
|
||||
<i>parent</i> node.</dd>
|
||||
|
||||
<dt><b><a id="dt-string-compare" name='dt-string-compare'>string
|
||||
comparison</a></b></dt>
|
||||
|
||||
<dd>When string matching is required, it is to occur as though the
|
||||
comparison was between 2 sequences of code points from the Unicode
|
||||
3.0 standard [<a class='noxref'
|
||||
href='references.html#Unicode'>Unicode</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-token" name='dt-token'>token</a></b></dt>
|
||||
|
||||
<dd>An information item such as an XML Name which has been <a
|
||||
href='glossary.html#dt-tokenized'><em>tokenized</em></a>.</dd>
|
||||
|
||||
<dt><b><a id="dt-tokenized"
|
||||
name='dt-tokenized'>tokenized</a></b></dt>
|
||||
|
||||
<dd>The description given to various information items (for
|
||||
example, attribute values of various types, but not including the
|
||||
StringType CDATA) after having been processed by the XML processor.
|
||||
The process includes stripping leading and trailing white space,
|
||||
and replacing multiple space characters by one. See the definition
|
||||
of tokenized type.</dd>
|
||||
|
||||
<dt><b><a id="dt-well-formed" name='dt-well-formed'>well-formed
|
||||
document</a></b></dt>
|
||||
|
||||
<dd>A document is <i>well-formed</i> if it is tag valid and
|
||||
entities are limited to single elements (i.e., single sub-trees).
|
||||
See <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210#sec-well-formed'><em>
|
||||
Well-Formed XML Documents</em></a> in XML [<a class='noxref'
|
||||
href='references.html#XML'>XML</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-XML" name='dt-XML'>XML</a></b></dt>
|
||||
|
||||
<dd>Extensible Markup Language (<i>XML</i>) is an extremely simple
|
||||
dialect of SGML. The goal is to enable generic SGML to be served,
|
||||
received, and processed on the Web in the way that is now possible
|
||||
with HTML. XML [<a class='noxref'
|
||||
href='references.html#XML'>XML</a>] has been designed for ease of
|
||||
implementation and for interoperability with both SGML and
|
||||
HTML.</dd>
|
||||
|
||||
<dt><b><a id="dt-XML-name" name='dt-XML-name'>XML name</a></b></dt>
|
||||
|
||||
<dd>See <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name'><em>XML
|
||||
name</em></a> in the XML specification [<a class='noxref'
|
||||
href='references.html#XML'>XML</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-XML-namespace" name='dt-XML-namespace'>XML
|
||||
namespace</a></b></dt>
|
||||
|
||||
<dd>An <i>XML namespace</i> is a collection of names, identified by
|
||||
a URI reference [<a class='noxref'
|
||||
href='references.html#URIRef'>RFC2396</a>], which are used in XML
|
||||
documents as element types and attribute names. [<a class='noxref'
|
||||
href='references.html#Namespaces'>Namespaces</a>]</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div1 glossary -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='acknowledgements.html'>previous</a>
|
||||
<a accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,303 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:02 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Accessing code point boundaries</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='idl-definitions.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='changes.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='changes.html'>previous</a> <a accesskey='n'
|
||||
href='idl-definitions.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="i18n" name='i18n'></a>
|
||||
|
||||
<h1 id='i18n-h1' class='adiv1'>Appendix B: Accessing code point
|
||||
boundaries</h1>
|
||||
|
||||
<dl>
|
||||
<dd>Mark Davis, IBM</dd>
|
||||
|
||||
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
|
||||
</dl>
|
||||
|
||||
<div class='noprint'>
|
||||
<h2 id='table-of-contents'>Table of contents</h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#i18n-introduction'>2.1. Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref' href='#i18n-methods'>2.2.
|
||||
Methods</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a
|
||||
href='#i18n-methods-StringExtend'>StringExtend</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='div2'><a id="i18n-introduction"
|
||||
name='i18n-introduction'></a>
|
||||
|
||||
<h2 id='i18n-introduction-h2' class='adiv2'>B.1: Introduction</h2>
|
||||
|
||||
<p>This appendix is an informative, not a normative, part of the
|
||||
Level 2 DOM specification.</p>
|
||||
|
||||
<p>Characters are represented in Unicode by numbers called <i>code
|
||||
points</i> (also called <i>scalar values</i>). These numbers can
|
||||
range from 0 up to 1,114,111 = 10FFFF<sub>16</sub> (although some
|
||||
of these values are illegal). Each code point can be directly
|
||||
encoded with a 32-bit code unit. This encoding is termed UCS-4 (or
|
||||
UTF-32). The DOM specification, however, uses UTF-16, in which the
|
||||
most frequent characters (which have values less than
|
||||
FFFF<sub>16</sub>) are represented by a single 16-bit code unit,
|
||||
while characters above FFFF<sub>16</sub> use a special pair of code
|
||||
units called a <i>surrogate pair</i>. For more information, see [<a
|
||||
class='noxref' href='references.html#Unicode'>Unicode</a>] or the
|
||||
Unicode Web site.</p>
|
||||
|
||||
<p>While indexing by code points as opposed to code units is not
|
||||
common in programs, some specifications such as XPath (and
|
||||
therefore XSLT and XPointer) use code point indices. For
|
||||
interfacing with such formats it is recommended that the
|
||||
programming language provide string processing methods for
|
||||
converting code point indices to code unit indices and back. Some
|
||||
languages do not provide these functions natively; for these it is
|
||||
recommended that the native <code>String</code> type that is bound
|
||||
to <a href='core.html#DOMString'><code>DOMString</code></a> be
|
||||
extended to enable this conversion. An example of how such an API
|
||||
might look is supplied below.</p>
|
||||
|
||||
<p><b>Note:</b> Since these methods are supplied as an illustrative
|
||||
example of the type of functionality that is required, the names of
|
||||
the methods, exceptions, and interface may differ from those given
|
||||
here.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 i18n-introduction -->
|
||||
<div class='div2'><a id="i18n-methods" name='i18n-methods'></a>
|
||||
|
||||
<h2 id='i18n-methods-h2' class='adiv2'>B.2: Methods</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b>Interface <i><a id="i18n-methods-StringExtend"
|
||||
name='i18n-methods-StringExtend'>StringExtend</a></i></b></dt>
|
||||
|
||||
<dd>
|
||||
<p>Extensions to a language's native String class or interface</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
interface StringExtend {
|
||||
int findOffset16(in int offset32)
|
||||
raises(StringIndexOutOfBoundsException);
|
||||
int findOffset32(in int offset16)
|
||||
raises(StringIndexOutOfBoundsException);
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Methods</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='method-name'><a
|
||||
id="i18n-methods-StringExtend-findOffset16"
|
||||
name='i18n-methods-StringExtend-findOffset16'>findOffset16</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Returns the UTF-16 offset that corresponds to a
|
||||
UTF-32 offset. Used for random access.
|
||||
|
||||
<p><b>Note:</b> You can always round-trip from a UTF-32 offset to a
|
||||
UTF-16 offset and back. You can round-trip from a UTF-16 offset to
|
||||
a UTF-32 offset and back if and only if the offset16 is not in the
|
||||
middle of a surrogate pair. Unmatched surrogates count as a single
|
||||
UTF-16 value.</p>
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>offset32</code> of type
|
||||
<code>int</code></dt>
|
||||
|
||||
<dd>UTF-32 offset.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='return'><b>Return Value</b>
|
||||
|
||||
<div class='returntable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>int</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>UTF-16 offset</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- return -->
|
||||
<div class='exceptions'><b>Exceptions</b>
|
||||
|
||||
<div class='exceptiontable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>StringIndexOutOfBoundsException</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>if <code>offset32</code> is out of bounds.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- exceptions -->
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
|
||||
<dt><code class='method-name'><a
|
||||
id="i18n-methods-StringExtend-findOffset32"
|
||||
name='i18n-methods-StringExtend-findOffset32'>findOffset32</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Returns the UTF-32 offset corresponding to a
|
||||
UTF-16 offset. Used for random access. To find the UTF-32 length of
|
||||
a string, use:
|
||||
|
||||
<div class='eg'>
|
||||
<pre>
|
||||
len32 = findOffset32(source, source.length());
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p><b>Note:</b> If the UTF-16 offset is into the middle of a
|
||||
surrogate pair, then the UTF-32 offset of the <em>end</em> of the
|
||||
pair is returned; that is, the index of the char after the end of
|
||||
the pair. You can always round-trip from a UTF-32 offset to a
|
||||
UTF-16 offset and back. You can round-trip from a UTF-16 offset to
|
||||
a UTF-32 offset and back if and only if the offset16 is not in the
|
||||
middle of a surrogate pair. Unmatched surrogates count as a single
|
||||
UTF-16 value.</p>
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>offset16</code> of type
|
||||
<code>int</code></dt>
|
||||
|
||||
<dd>UTF-16 offset<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='return'><b>Return Value</b>
|
||||
|
||||
<div class='returntable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>int</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>UTF-32 offset</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- return -->
|
||||
<div class='exceptions'><b>Exceptions</b>
|
||||
|
||||
<div class='exceptiontable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>StringIndexOutOfBoundsException</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>if offset16 is out of bounds.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- exceptions -->
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 i18n-methods --></div>
|
||||
|
||||
<!-- div1 i18n -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='changes.html'>previous</a> <a
|
||||
accesskey='n' href='idl-definitions.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,367 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:02 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>IDL Definitions</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='java-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='i18n.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='i18n.html'>previous</a> <a accesskey='n'
|
||||
href='java-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="idl" name='idl'></a>
|
||||
|
||||
<h1 id='idl-h1' class='adiv1'>Appendix C: IDL Definitions</h1>
|
||||
|
||||
<p>This appendix contains the complete OMG IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
|
||||
Object Model Core definitions.</p>
|
||||
|
||||
<p>The IDL files are also available as: <a
|
||||
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/idl.zip</a></p>
|
||||
|
||||
<h3 id='idl-dom.idl'><a href='idl/dom.idl'>dom.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: dom.idl
|
||||
|
||||
#ifndef _DOM_IDL_
|
||||
#define _DOM_IDL_
|
||||
|
||||
#pragma prefix "w3c.org"
|
||||
module dom
|
||||
{
|
||||
|
||||
valuetype DOMString sequence<unsigned short>;
|
||||
|
||||
typedef unsigned long long DOMTimeStamp;
|
||||
|
||||
interface DocumentType;
|
||||
interface Document;
|
||||
interface NodeList;
|
||||
interface NamedNodeMap;
|
||||
interface Element;
|
||||
|
||||
exception DOMException {
|
||||
unsigned short code;
|
||||
};
|
||||
// ExceptionCode
|
||||
const unsigned short INDEX_SIZE_ERR = 1;
|
||||
const unsigned short DOMSTRING_SIZE_ERR = 2;
|
||||
const unsigned short HIERARCHY_REQUEST_ERR = 3;
|
||||
const unsigned short WRONG_DOCUMENT_ERR = 4;
|
||||
const unsigned short INVALID_CHARACTER_ERR = 5;
|
||||
const unsigned short NO_DATA_ALLOWED_ERR = 6;
|
||||
const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7;
|
||||
const unsigned short NOT_FOUND_ERR = 8;
|
||||
const unsigned short NOT_SUPPORTED_ERR = 9;
|
||||
const unsigned short INUSE_ATTRIBUTE_ERR = 10;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_STATE_ERR = 11;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short SYNTAX_ERR = 12;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_MODIFICATION_ERR = 13;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short NAMESPACE_ERR = 14;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_ACCESS_ERR = 15;
|
||||
|
||||
|
||||
interface DOMImplementation {
|
||||
boolean hasFeature(in DOMString feature,
|
||||
in DOMString version);
|
||||
// Introduced in DOM Level 2:
|
||||
DocumentType createDocumentType(in DOMString qualifiedName,
|
||||
in DOMString publicId,
|
||||
in DOMString systemId)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Document createDocument(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName,
|
||||
in DocumentType doctype)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Node {
|
||||
|
||||
// NodeType
|
||||
const unsigned short ELEMENT_NODE = 1;
|
||||
const unsigned short ATTRIBUTE_NODE = 2;
|
||||
const unsigned short TEXT_NODE = 3;
|
||||
const unsigned short CDATA_SECTION_NODE = 4;
|
||||
const unsigned short ENTITY_REFERENCE_NODE = 5;
|
||||
const unsigned short ENTITY_NODE = 6;
|
||||
const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
|
||||
const unsigned short COMMENT_NODE = 8;
|
||||
const unsigned short DOCUMENT_NODE = 9;
|
||||
const unsigned short DOCUMENT_TYPE_NODE = 10;
|
||||
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
|
||||
const unsigned short NOTATION_NODE = 12;
|
||||
|
||||
readonly attribute DOMString nodeName;
|
||||
attribute DOMString nodeValue;
|
||||
// raises(DOMException) on setting
|
||||
// raises(DOMException) on retrieval
|
||||
|
||||
readonly attribute unsigned short nodeType;
|
||||
readonly attribute Node parentNode;
|
||||
readonly attribute NodeList childNodes;
|
||||
readonly attribute Node firstChild;
|
||||
readonly attribute Node lastChild;
|
||||
readonly attribute Node previousSibling;
|
||||
readonly attribute Node nextSibling;
|
||||
readonly attribute NamedNodeMap attributes;
|
||||
// Modified in DOM Level 2:
|
||||
readonly attribute Document ownerDocument;
|
||||
Node insertBefore(in Node newChild,
|
||||
in Node refChild)
|
||||
raises(DOMException);
|
||||
Node replaceChild(in Node newChild,
|
||||
in Node oldChild)
|
||||
raises(DOMException);
|
||||
Node removeChild(in Node oldChild)
|
||||
raises(DOMException);
|
||||
Node appendChild(in Node newChild)
|
||||
raises(DOMException);
|
||||
boolean hasChildNodes();
|
||||
Node cloneNode(in boolean deep);
|
||||
// Modified in DOM Level 2:
|
||||
void normalize();
|
||||
// Introduced in DOM Level 2:
|
||||
boolean isSupported(in DOMString feature,
|
||||
in DOMString version);
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString namespaceURI;
|
||||
// Introduced in DOM Level 2:
|
||||
attribute DOMString prefix;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString localName;
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttributes();
|
||||
};
|
||||
|
||||
interface NodeList {
|
||||
Node item(in unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
};
|
||||
|
||||
interface NamedNodeMap {
|
||||
Node getNamedItem(in DOMString name);
|
||||
Node setNamedItem(in Node arg)
|
||||
raises(DOMException);
|
||||
Node removeNamedItem(in DOMString name)
|
||||
raises(DOMException);
|
||||
Node item(in unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
// Introduced in DOM Level 2:
|
||||
Node getNamedItemNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Node setNamedItemNS(in Node arg)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Node removeNamedItemNS(in DOMString namespaceURI,
|
||||
in DOMString localName)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface CharacterData : Node {
|
||||
attribute DOMString data;
|
||||
// raises(DOMException) on setting
|
||||
// raises(DOMException) on retrieval
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
DOMString substringData(in unsigned long offset,
|
||||
in unsigned long count)
|
||||
raises(DOMException);
|
||||
void appendData(in DOMString arg)
|
||||
raises(DOMException);
|
||||
void insertData(in unsigned long offset,
|
||||
in DOMString arg)
|
||||
raises(DOMException);
|
||||
void deleteData(in unsigned long offset,
|
||||
in unsigned long count)
|
||||
raises(DOMException);
|
||||
void replaceData(in unsigned long offset,
|
||||
in unsigned long count,
|
||||
in DOMString arg)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Attr : Node {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute boolean specified;
|
||||
attribute DOMString value;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute Element ownerElement;
|
||||
};
|
||||
|
||||
interface Element : Node {
|
||||
readonly attribute DOMString tagName;
|
||||
DOMString getAttribute(in DOMString name);
|
||||
void setAttribute(in DOMString name,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
void removeAttribute(in DOMString name)
|
||||
raises(DOMException);
|
||||
Attr getAttributeNode(in DOMString name);
|
||||
Attr setAttributeNode(in Attr newAttr)
|
||||
raises(DOMException);
|
||||
Attr removeAttributeNode(in Attr oldAttr)
|
||||
raises(DOMException);
|
||||
NodeList getElementsByTagName(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
DOMString getAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
void setAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
void removeAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr getAttributeNodeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr setAttributeNodeNS(in Attr newAttr)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttribute(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
};
|
||||
|
||||
interface Text : CharacterData {
|
||||
Text splitText(in unsigned long offset)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Comment : CharacterData {
|
||||
};
|
||||
|
||||
interface CDATASection : Text {
|
||||
};
|
||||
|
||||
interface DocumentType : Node {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute NamedNodeMap entities;
|
||||
readonly attribute NamedNodeMap notations;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString publicId;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString systemId;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString internalSubset;
|
||||
};
|
||||
|
||||
interface Notation : Node {
|
||||
readonly attribute DOMString publicId;
|
||||
readonly attribute DOMString systemId;
|
||||
};
|
||||
|
||||
interface Entity : Node {
|
||||
readonly attribute DOMString publicId;
|
||||
readonly attribute DOMString systemId;
|
||||
readonly attribute DOMString notationName;
|
||||
};
|
||||
|
||||
interface EntityReference : Node {
|
||||
};
|
||||
|
||||
interface ProcessingInstruction : Node {
|
||||
readonly attribute DOMString target;
|
||||
attribute DOMString data;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
interface DocumentFragment : Node {
|
||||
};
|
||||
|
||||
interface Document : Node {
|
||||
readonly attribute DocumentType doctype;
|
||||
readonly attribute DOMImplementation implementation;
|
||||
readonly attribute Element documentElement;
|
||||
Element createElement(in DOMString tagName)
|
||||
raises(DOMException);
|
||||
DocumentFragment createDocumentFragment();
|
||||
Text createTextNode(in DOMString data);
|
||||
Comment createComment(in DOMString data);
|
||||
CDATASection createCDATASection(in DOMString data)
|
||||
raises(DOMException);
|
||||
ProcessingInstruction createProcessingInstruction(in DOMString target,
|
||||
in DOMString data)
|
||||
raises(DOMException);
|
||||
Attr createAttribute(in DOMString name)
|
||||
raises(DOMException);
|
||||
EntityReference createEntityReference(in DOMString name)
|
||||
raises(DOMException);
|
||||
NodeList getElementsByTagName(in DOMString tagname);
|
||||
// Introduced in DOM Level 2:
|
||||
Node importNode(in Node importedNode,
|
||||
in boolean deep)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Element createElementNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr createAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Element getElementById(in DOMString elementId);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _DOM_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 idl -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='i18n.html'>previous</a> <a
|
||||
accesskey='n' href='java-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,320 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/dom.idl
|
||||
|
||||
#ifndef _DOM_IDL_
|
||||
#define _DOM_IDL_
|
||||
|
||||
#pragma prefix "w3c.org"
|
||||
module dom
|
||||
{
|
||||
|
||||
valuetype DOMString sequence<unsigned short>;
|
||||
|
||||
typedef unsigned long long DOMTimeStamp;
|
||||
|
||||
interface DocumentType;
|
||||
interface Document;
|
||||
interface NodeList;
|
||||
interface NamedNodeMap;
|
||||
interface Element;
|
||||
|
||||
exception DOMException {
|
||||
unsigned short code;
|
||||
};
|
||||
// ExceptionCode
|
||||
const unsigned short INDEX_SIZE_ERR = 1;
|
||||
const unsigned short DOMSTRING_SIZE_ERR = 2;
|
||||
const unsigned short HIERARCHY_REQUEST_ERR = 3;
|
||||
const unsigned short WRONG_DOCUMENT_ERR = 4;
|
||||
const unsigned short INVALID_CHARACTER_ERR = 5;
|
||||
const unsigned short NO_DATA_ALLOWED_ERR = 6;
|
||||
const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7;
|
||||
const unsigned short NOT_FOUND_ERR = 8;
|
||||
const unsigned short NOT_SUPPORTED_ERR = 9;
|
||||
const unsigned short INUSE_ATTRIBUTE_ERR = 10;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_STATE_ERR = 11;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short SYNTAX_ERR = 12;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_MODIFICATION_ERR = 13;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short NAMESPACE_ERR = 14;
|
||||
// Introduced in DOM Level 2:
|
||||
const unsigned short INVALID_ACCESS_ERR = 15;
|
||||
|
||||
|
||||
interface DOMImplementation {
|
||||
boolean hasFeature(in DOMString feature,
|
||||
in DOMString version);
|
||||
// Introduced in DOM Level 2:
|
||||
DocumentType createDocumentType(in DOMString qualifiedName,
|
||||
in DOMString publicId,
|
||||
in DOMString systemId)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Document createDocument(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName,
|
||||
in DocumentType doctype)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Node {
|
||||
|
||||
// NodeType
|
||||
const unsigned short ELEMENT_NODE = 1;
|
||||
const unsigned short ATTRIBUTE_NODE = 2;
|
||||
const unsigned short TEXT_NODE = 3;
|
||||
const unsigned short CDATA_SECTION_NODE = 4;
|
||||
const unsigned short ENTITY_REFERENCE_NODE = 5;
|
||||
const unsigned short ENTITY_NODE = 6;
|
||||
const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
|
||||
const unsigned short COMMENT_NODE = 8;
|
||||
const unsigned short DOCUMENT_NODE = 9;
|
||||
const unsigned short DOCUMENT_TYPE_NODE = 10;
|
||||
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
|
||||
const unsigned short NOTATION_NODE = 12;
|
||||
|
||||
readonly attribute DOMString nodeName;
|
||||
attribute DOMString nodeValue;
|
||||
// raises(DOMException) on setting
|
||||
// raises(DOMException) on retrieval
|
||||
|
||||
readonly attribute unsigned short nodeType;
|
||||
readonly attribute Node parentNode;
|
||||
readonly attribute NodeList childNodes;
|
||||
readonly attribute Node firstChild;
|
||||
readonly attribute Node lastChild;
|
||||
readonly attribute Node previousSibling;
|
||||
readonly attribute Node nextSibling;
|
||||
readonly attribute NamedNodeMap attributes;
|
||||
// Modified in DOM Level 2:
|
||||
readonly attribute Document ownerDocument;
|
||||
Node insertBefore(in Node newChild,
|
||||
in Node refChild)
|
||||
raises(DOMException);
|
||||
Node replaceChild(in Node newChild,
|
||||
in Node oldChild)
|
||||
raises(DOMException);
|
||||
Node removeChild(in Node oldChild)
|
||||
raises(DOMException);
|
||||
Node appendChild(in Node newChild)
|
||||
raises(DOMException);
|
||||
boolean hasChildNodes();
|
||||
Node cloneNode(in boolean deep);
|
||||
// Modified in DOM Level 2:
|
||||
void normalize();
|
||||
// Introduced in DOM Level 2:
|
||||
boolean isSupported(in DOMString feature,
|
||||
in DOMString version);
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString namespaceURI;
|
||||
// Introduced in DOM Level 2:
|
||||
attribute DOMString prefix;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString localName;
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttributes();
|
||||
};
|
||||
|
||||
interface NodeList {
|
||||
Node item(in unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
};
|
||||
|
||||
interface NamedNodeMap {
|
||||
Node getNamedItem(in DOMString name);
|
||||
Node setNamedItem(in Node arg)
|
||||
raises(DOMException);
|
||||
Node removeNamedItem(in DOMString name)
|
||||
raises(DOMException);
|
||||
Node item(in unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
// Introduced in DOM Level 2:
|
||||
Node getNamedItemNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Node setNamedItemNS(in Node arg)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Node removeNamedItemNS(in DOMString namespaceURI,
|
||||
in DOMString localName)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface CharacterData : Node {
|
||||
attribute DOMString data;
|
||||
// raises(DOMException) on setting
|
||||
// raises(DOMException) on retrieval
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
DOMString substringData(in unsigned long offset,
|
||||
in unsigned long count)
|
||||
raises(DOMException);
|
||||
void appendData(in DOMString arg)
|
||||
raises(DOMException);
|
||||
void insertData(in unsigned long offset,
|
||||
in DOMString arg)
|
||||
raises(DOMException);
|
||||
void deleteData(in unsigned long offset,
|
||||
in unsigned long count)
|
||||
raises(DOMException);
|
||||
void replaceData(in unsigned long offset,
|
||||
in unsigned long count,
|
||||
in DOMString arg)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Attr : Node {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute boolean specified;
|
||||
attribute DOMString value;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute Element ownerElement;
|
||||
};
|
||||
|
||||
interface Element : Node {
|
||||
readonly attribute DOMString tagName;
|
||||
DOMString getAttribute(in DOMString name);
|
||||
void setAttribute(in DOMString name,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
void removeAttribute(in DOMString name)
|
||||
raises(DOMException);
|
||||
Attr getAttributeNode(in DOMString name);
|
||||
Attr setAttributeNode(in Attr newAttr)
|
||||
raises(DOMException);
|
||||
Attr removeAttributeNode(in Attr oldAttr)
|
||||
raises(DOMException);
|
||||
NodeList getElementsByTagName(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
DOMString getAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
void setAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
void removeAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr getAttributeNodeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr setAttributeNodeNS(in Attr newAttr)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttribute(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
};
|
||||
|
||||
interface Text : CharacterData {
|
||||
Text splitText(in unsigned long offset)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
interface Comment : CharacterData {
|
||||
};
|
||||
|
||||
interface CDATASection : Text {
|
||||
};
|
||||
|
||||
interface DocumentType : Node {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute NamedNodeMap entities;
|
||||
readonly attribute NamedNodeMap notations;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString publicId;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString systemId;
|
||||
// Introduced in DOM Level 2:
|
||||
readonly attribute DOMString internalSubset;
|
||||
};
|
||||
|
||||
interface Notation : Node {
|
||||
readonly attribute DOMString publicId;
|
||||
readonly attribute DOMString systemId;
|
||||
};
|
||||
|
||||
interface Entity : Node {
|
||||
readonly attribute DOMString publicId;
|
||||
readonly attribute DOMString systemId;
|
||||
readonly attribute DOMString notationName;
|
||||
};
|
||||
|
||||
interface EntityReference : Node {
|
||||
};
|
||||
|
||||
interface ProcessingInstruction : Node {
|
||||
readonly attribute DOMString target;
|
||||
attribute DOMString data;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
interface DocumentFragment : Node {
|
||||
};
|
||||
|
||||
interface Document : Node {
|
||||
readonly attribute DocumentType doctype;
|
||||
readonly attribute DOMImplementation implementation;
|
||||
readonly attribute Element documentElement;
|
||||
Element createElement(in DOMString tagName)
|
||||
raises(DOMException);
|
||||
DocumentFragment createDocumentFragment();
|
||||
Text createTextNode(in DOMString data);
|
||||
Comment createComment(in DOMString data);
|
||||
CDATASection createCDATASection(in DOMString data)
|
||||
raises(DOMException);
|
||||
ProcessingInstruction createProcessingInstruction(in DOMString target,
|
||||
in DOMString data)
|
||||
raises(DOMException);
|
||||
Attr createAttribute(in DOMString name)
|
||||
raises(DOMException);
|
||||
EntityReference createEntityReference(in DOMString name)
|
||||
raises(DOMException);
|
||||
NodeList getElementsByTagName(in DOMString tagname);
|
||||
// Introduced in DOM Level 2:
|
||||
Node importNode(in Node importedNode,
|
||||
in boolean deep)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Element createElementNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
Attr createAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
Element getElementById(in DOMString elementId);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _DOM_IDL_
|
||||
|
||||
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 988 B |
@@ -0,0 +1,512 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:42:28 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>What is the Document Object Model?</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='core.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='copyright-notice.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='copyright-notice.html'>previous</a> <a accesskey='n'
|
||||
href='core.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Introduction" name='Introduction'></a>
|
||||
|
||||
<h1 id='Introduction-h1' class='div1'>What is the Document Object
|
||||
Model?</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Philippe Le Hégaret, W3C</dd>
|
||||
|
||||
<dd>Lauren Wood, SoftQuad Software Inc., WG Chair</dd>
|
||||
|
||||
<dd>Jonathan Robie, Texcel (for DOM Level 1)</dd>
|
||||
</dl>
|
||||
|
||||
<div class='div2'><a id="ID-E7C3082" name='ID-E7C3082'></a>
|
||||
|
||||
<h2 id='ID-E7C3082-h2' class='div2'>Introduction</h2>
|
||||
|
||||
<p>The Document Object Model (DOM) is an application programming
|
||||
interface (<a href='glossary.html#dt-API'><em>API</em></a>) for
|
||||
valid <a href='glossary.html#dt-HTML'><em>HTML</em></a> and
|
||||
well-formed <a href='glossary.html#dt-XML'><em>XML</em></a>
|
||||
documents. It defines the logical structure of documents and the
|
||||
way a document is accessed and manipulated. In the DOM
|
||||
specification, the term "document" is used in the broad sense -
|
||||
increasingly, XML is being used as a way of representing many
|
||||
different kinds of information that may be stored in diverse
|
||||
systems, and much of this would traditionally be seen as data
|
||||
rather than as documents. Nevertheless, XML presents this data as
|
||||
documents, and the DOM may be used to manage this data.</p>
|
||||
|
||||
<p>With the Document Object Model, programmers can build documents,
|
||||
navigate their structure, and add, modify, or delete elements and
|
||||
content. Anything found in an HTML or XML document can be accessed,
|
||||
changed, deleted, or added using the Document Object Model, with a
|
||||
few exceptions - in particular, the DOM <a
|
||||
href='glossary.html#dt-interface'><em>interfaces</em></a> for the
|
||||
XML internal and external subsets have not yet been specified.</p>
|
||||
|
||||
<p>As a W3C specification, one important objective for the Document
|
||||
Object Model is to provide a standard programming interface that
|
||||
can be used in a wide variety of environments and <a
|
||||
href='glossary.html#dt-application'><em>applications</em></a>. The
|
||||
DOM is designed to be used with any programming language. In order
|
||||
to provide a precise, language-independent specification of the DOM
|
||||
interfaces, we have chosen to define the specifications in Object
|
||||
Management Group (OMG) IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>], as defined in the CORBA
|
||||
2.3.1 specification [<a class='noxref'
|
||||
href='references.html#CORBA'>CORBA</a>]. In addition to the OMG IDL
|
||||
specification, we provide <a
|
||||
href='glossary.html#dt-lang-binding'><em>language bindings</em></a>
|
||||
for Java [<a class='noxref' href='references.html#Java'>Java</a>]
|
||||
and ECMAScript [<a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a>] (an
|
||||
industry-standard scripting language based on JavaScript [<a
|
||||
class='noxref' href='references.html#JavaScript'>JavaScript</a>]
|
||||
and JScript [<a class='noxref'
|
||||
href='references.html#JScript'>JScript</a>]).</p>
|
||||
|
||||
<p><b>Note:</b> OMG IDL is used only as a language-independent and
|
||||
implementation-neutral way to specify <a
|
||||
href='glossary.html#dt-interface'><em>interfaces</em></a>. Various
|
||||
other IDLs could have been used ([<a class='noxref'
|
||||
href='references.html#COM'>COM</a>], [<a class='noxref'
|
||||
href='references.html#JavaIDL'>JavaIDL</a>], [<a class='noxref'
|
||||
href='references.html#MSIDL'>MIDL</a>], ...). In general, IDLs are
|
||||
designed for specific computing environments. The Document Object
|
||||
Model can be implemented in any computing environment, and does not
|
||||
require the object binding runtimes generally associated with such
|
||||
IDLs.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C3082 -->
|
||||
<div class='div2'><a id="ID-E7C30821" name='ID-E7C30821'></a>
|
||||
|
||||
<h2 id='ID-E7C30821-h2' class='div2'>What the Document Object Model
|
||||
is</h2>
|
||||
|
||||
<p>The DOM is a programming <a
|
||||
href='glossary.html#dt-API'><em>API</em></a> for documents. It is
|
||||
based on an object structure that closely resembles the structure
|
||||
of the documents it <a
|
||||
href='glossary.html#dt-model'><em>models</em></a>. For instance,
|
||||
consider this table, taken from an HTML document:</p>
|
||||
|
||||
<div class='code-block'>
|
||||
<pre>
|
||||
<TABLE>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD>Shady Grove</TD>
|
||||
<TD>Aeolian</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Over the River, Charlie</TD>
|
||||
<TD>Dorian</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>A graphical representation of the DOM of the example table
|
||||
is:<br />
|
||||
</p>
|
||||
|
||||
<div align='center'>
|
||||
<hr width='90%' size='2' />
|
||||
<img src='./images/table.gif'
|
||||
alt='graphical representation of the DOM of the example table' />
|
||||
|
||||
<hr width='90%' size='2' />
|
||||
<b>graphical representation of the DOM of the example table</b>
|
||||
|
||||
<hr width='90%' size='2' />
|
||||
</div>
|
||||
|
||||
<p>In the DOM, documents have a logical structure which is very
|
||||
much like a tree; to be more precise, which is like a "forest" or
|
||||
"grove", which can contain more than one tree. Each document
|
||||
contains zero or one doctype nodes, one root element node, and zero
|
||||
or more comments or processing instructions; the root element
|
||||
serves as the root of the element tree for the document. However,
|
||||
the DOM does not specify that documents must be
|
||||
<em>implemented</em> as a tree or a grove, nor does it specify how
|
||||
the relationships among objects be implemented. The DOM is a
|
||||
logical model that may be implemented in any convenient manner. In
|
||||
this specification, we use the term <em>structure model</em> to
|
||||
describe the tree-like representation of a document. We also use
|
||||
the term "tree" when referring to the arrangement of those
|
||||
information items which can be reached by using "tree-walking"
|
||||
methods; (this does not include attributes). One important property
|
||||
of DOM structure models is <em>structural isomorphism</em>: if any
|
||||
two Document Object Model implementations are used to create a
|
||||
representation of the same document, they will create the same
|
||||
structure model, in accordance with the XML Information Set [<a
|
||||
class='noxref' href='references.html#InfoSet'>Infoset</a>].</p>
|
||||
|
||||
<p><b>Note:</b> There may be some variations depending on the
|
||||
parser being used to build the DOM. For instance, the DOM may not
|
||||
contain whitespaces in element content if the parser discards
|
||||
them.</p>
|
||||
|
||||
<p>The name "Document Object Model" was chosen because it is an "<a
|
||||
href='glossary.html#dt-object-model'><em>object model</em></a>" in
|
||||
the traditional object oriented design sense: documents are modeled
|
||||
using objects, and the model encompasses not only the structure of
|
||||
a document, but also the behavior of a document and the objects of
|
||||
which it is composed. In other words, the nodes in the above
|
||||
diagram do not represent a data structure, they represent objects,
|
||||
which have functions and identity. As an object model, the DOM
|
||||
identifies:</p>
|
||||
|
||||
<ul>
|
||||
<li>the interfaces and objects used to represent and manipulate a
|
||||
document</li>
|
||||
|
||||
<li>the semantics of these interfaces and objects - including both
|
||||
behavior and attributes</li>
|
||||
|
||||
<li>the relationships and collaborations among these interfaces and
|
||||
objects</li>
|
||||
</ul>
|
||||
|
||||
<p>The structure of SGML documents has traditionally been
|
||||
represented by an abstract <a
|
||||
href='glossary.html#dt-datamodel'><em>data model</em></a>, not by
|
||||
an object model. In an abstract <a
|
||||
href='glossary.html#dt-datamodel'><em>data model</em></a>, the
|
||||
model is centered around the data. In object oriented programming
|
||||
languages, the data itself is encapsulated in objects that hide the
|
||||
data, protecting it from direct external manipulation. The
|
||||
functions associated with these objects determine how the objects
|
||||
may be manipulated, and they are part of the object model.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C30821 -->
|
||||
<div class='div2'><a id="ID-E7C30822" name='ID-E7C30822'></a>
|
||||
|
||||
<h2 id='ID-E7C30822-h2' class='div2'>What the Document Object Model
|
||||
is not</h2>
|
||||
|
||||
<p>This section is designed to give a more precise understanding of
|
||||
the DOM by distinguishing it from other systems that may seem to be
|
||||
like it.</p>
|
||||
|
||||
<ul>
|
||||
<li>The Document Object Model is not a binary specification. DOM
|
||||
programs written in the same language binding will be source code
|
||||
compatible across platforms, but the DOM does not define any form
|
||||
of binary interoperability.</li>
|
||||
|
||||
<li>The Document Object Model is not a way of persisting objects to
|
||||
XML or HTML. Instead of specifying how objects may be represented
|
||||
in XML, the DOM specifies how XML and HTML documents are
|
||||
represented as objects, so that they may be used in object oriented
|
||||
programs.</li>
|
||||
|
||||
<li>The Document Object Model is not a set of data structures; it
|
||||
is an <a href='glossary.html#dt-object-model'><em>object
|
||||
model</em></a> that specifies interfaces. Although this document
|
||||
contains diagrams showing parent/child relationships, these are
|
||||
logical relationships defined by the programming interfaces, not
|
||||
representations of any particular internal data structures.</li>
|
||||
|
||||
<li>The Document Object Model does not define what information in a
|
||||
document is relevant or how information in a document is
|
||||
structured. For XML, this is specified by the W3C XML Information
|
||||
Set [<a class='noxref' href='references.html#InfoSet'>Infoset</a>].
|
||||
The DOM is simply an <a
|
||||
href='glossary.html#dt-API'><em>API</em></a> to this information
|
||||
set.</li>
|
||||
|
||||
<li>The Document Object Model, despite its name, is not a
|
||||
competitor to the Component Object Model (COM). COM, like CORBA, is
|
||||
a language independent way to specify interfaces and objects; the
|
||||
DOM is a set of interfaces and objects designed for managing HTML
|
||||
and XML documents. The DOM may be implemented using
|
||||
language-independent systems like COM or CORBA; it may also be
|
||||
implemented using language-specific bindings like the Java or
|
||||
ECMAScript bindings specified in this document.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C30822 -->
|
||||
<div class='div2'><a id="ID-E7C30823" name='ID-E7C30823'></a>
|
||||
|
||||
<h2 id='ID-E7C30823-h2' class='div2'>Where the Document Object
|
||||
Model came from</h2>
|
||||
|
||||
<p>The DOM originated as a specification to allow JavaScript
|
||||
scripts and Java programs to be portable among Web browsers.
|
||||
"Dynamic HTML" was the immediate ancestor of the Document Object
|
||||
Model, and it was originally thought of largely in terms of
|
||||
browsers. However, when the DOM Working Group was formed at W3C, it
|
||||
was also joined by vendors in other domains, including HTML or XML
|
||||
editors and document repositories. Several of these vendors had
|
||||
worked with SGML before XML was developed; as a result, the DOM has
|
||||
been influenced by SGML Groves and the HyTime standard. Some of
|
||||
these vendors had also developed their own object models for
|
||||
documents in order to provide an API for SGML/XML editors or
|
||||
document repositories, and these object models have also influenced
|
||||
the DOM.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C30823 -->
|
||||
<div class='div2'><a id="ID-E7C30824" name='ID-E7C30824'></a>
|
||||
|
||||
<h2 id='ID-E7C30824-h2' class='div2'>Entities and the DOM Core</h2>
|
||||
|
||||
<p>In the fundamental DOM interfaces, there are no objects
|
||||
representing entities. Numeric character references, and references
|
||||
to the pre-defined entities in HTML and XML, are replaced by the
|
||||
single character that makes up the entity's replacement. For
|
||||
example, in:</p>
|
||||
|
||||
<div class='code-block'>
|
||||
<pre>
|
||||
<p>This is a dog &amp; a cat</p>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>the "&amp;" will be replaced by the character "&", and
|
||||
the text in the P element will form a single continuous sequence of
|
||||
characters. Since numeric character references and pre-defined
|
||||
entities are not recognized as such in CDATA sections, or in the
|
||||
SCRIPT and STYLE elements in HTML, they are not replaced by the
|
||||
single character they appear to refer to. If the example above were
|
||||
enclosed in a CDATA section, the "&amp;" would not be replaced
|
||||
by "&"; neither would the <p> be recognized as a start
|
||||
tag. The representation of general entities, both internal and
|
||||
external, are defined within the extended (XML) interfaces of DOM
|
||||
Level 1 [<a class='noxref' href='references.html#DOM-Level-1'>DOM
|
||||
Level 1</a>].</p>
|
||||
|
||||
<p>Note: When a DOM representation of a document is serialized as
|
||||
XML or HTML text, applications will need to check each character in
|
||||
text data to see if it needs to be escaped using a numeric or
|
||||
pre-defined entity. Failing to do so could result in invalid HTML
|
||||
or XML. Also, <a
|
||||
href='glossary.html#dt-implementation'><em>implementations</em></a>
|
||||
should be aware of the fact that serialization into a character
|
||||
encoding ("charset") that does not fully cover ISO 10646 may fail
|
||||
if there are characters in markup or CDATA sections that are not
|
||||
present in the encoding.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C30824 -->
|
||||
<div class='div2'><a id="ID-Conformance" name='ID-Conformance'></a>
|
||||
|
||||
|
||||
<h2 id='ID-Conformance-h2' class='div2'>Conformance</h2>
|
||||
|
||||
<p>This section explains the different levels of conformance to DOM
|
||||
Level 2. DOM Level 2 consists of 14 modules. It is possible to
|
||||
conform to DOM Level 2, or to a DOM Level 2 module.</p>
|
||||
|
||||
<p>An implementation is DOM Level 2 conformant if it supports the
|
||||
Core module defined in this document (see <a
|
||||
href='core.html#ID-BBACDC08'>Fundamental Interfaces</a>). An
|
||||
implementation conforms to a DOM Level 2 module if it supports all
|
||||
the interfaces for that module and the associated semantics.</p>
|
||||
|
||||
<p>Here is the complete list of DOM Level 2.0 modules and the
|
||||
features used by them. Feature names are case-insensitive.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b>Core module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='core.html#ID-BBACDC08'><em>"Core"</em></a>.</dd>
|
||||
|
||||
<dt><b>XML module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='core.html#ID-E067D597'><em>"XML"</em></a>.</dd>
|
||||
|
||||
<dt><b>HTML module</b></dt>
|
||||
|
||||
<dd>defines the feature "HTML". (see [<a class='noxref'
|
||||
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>]).
|
||||
|
||||
<p><b>Note:</b> At time of publication, this DOM Level 2 module is
|
||||
not yet a W3C Recommendation.</p>
|
||||
</dd>
|
||||
|
||||
<dt><b>Views module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Views/views.html'><em>"Views"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMViews-inf'>DOM Level
|
||||
2 Views</a>].</dd>
|
||||
|
||||
<dt><b>Style Sheets module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html'><em>"StyleSheets"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMStyleSheets-inf'>DOM
|
||||
Level 2 Style Sheets</a>].</dd>
|
||||
|
||||
<dt><b>CSS module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style/css.html'><em>"CSS"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMCSS-inf'>DOM Level 2
|
||||
CSS</a>].</dd>
|
||||
|
||||
<dt><b>CSS2 module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style/css.html'><em>"CSS2"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMCSS-inf'>DOM Level 2
|
||||
CSS</a>].</dd>
|
||||
|
||||
<dt><b>Events module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"Events"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
|
||||
Level 2 Events</a>].</dd>
|
||||
|
||||
<dt><b>User interface Events module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"UIEvents"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
|
||||
Level 2 Events</a>].</dd>
|
||||
|
||||
<dt><b>Mouse Events module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"MouseEvents"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
|
||||
Level 2 Events</a>].</dd>
|
||||
|
||||
<dt><b>Mutation Events module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"MutationEvents"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
|
||||
Level 2 Events</a>].</dd>
|
||||
|
||||
<dt><b>HTML Events module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"HTMLEvents"</em></a>
|
||||
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
|
||||
Level 2 Events</a>].</dd>
|
||||
|
||||
<dt><b>Range module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html'>
|
||||
<em>"Range"</em></a> in [<a class='noxref'
|
||||
href='references.html#DOMRange-inf'>DOM Level 2 Range</a>].</dd>
|
||||
|
||||
<dt><b>Traversal module</b></dt>
|
||||
|
||||
<dd>defines the feature <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html'>
|
||||
<em>"Traversal"</em></a> in [<a class='noxref'
|
||||
href='references.html#DOMTraversal-inf'>DOM Level 2
|
||||
Traversal</a>].</dd>
|
||||
</dl>
|
||||
|
||||
<p>A DOM implementation must not return <code>"true"</code> to the
|
||||
<code>hasFeature(feature, version)</code> <a
|
||||
href='glossary.html#dt-method'><em>method</em></a> of the <a
|
||||
href='core.html#ID-102161490'><code>DOMImplementation</code></a>
|
||||
interface for that feature unless the implementation conforms to
|
||||
that module. The <code>version</code> number for all features used
|
||||
in DOM Level 2.0 is "2.0".</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-Conformance -->
|
||||
<div class='div2'><a id="ID-E7C30826" name='ID-E7C30826'></a>
|
||||
|
||||
<h2 id='ID-E7C30826-h2' class='div2'>DOM Interfaces and DOM
|
||||
Implementations</h2>
|
||||
|
||||
<p>The DOM specifies interfaces which may be used to manage XML or
|
||||
HTML documents. It is important to realize that these interfaces
|
||||
are an abstraction - much like "abstract base classes" in C++, they
|
||||
are a means of specifying a way to access and manipulate an
|
||||
application's internal representation of a document. Interfaces do
|
||||
not imply a particular concrete implementation. Each DOM
|
||||
application is free to maintain documents in any convenient
|
||||
representation, as long as the interfaces shown in this
|
||||
specification are supported. Some DOM implementations will be
|
||||
existing programs that use the DOM interfaces to access software
|
||||
written long before the DOM specification existed. Therefore, the
|
||||
DOM is designed to avoid implementation dependencies; in
|
||||
particular,</p>
|
||||
|
||||
<ol>
|
||||
<li>Attributes defined in the IDL do not imply concrete objects
|
||||
which must have specific data members - in the language bindings,
|
||||
they are translated to a pair of get()/set() functions, not to a
|
||||
data member. Read-only attributes have only a get() function in the
|
||||
language bindings.</li>
|
||||
|
||||
<li>DOM applications may provide additional interfaces and objects
|
||||
not found in this specification and still be considered DOM
|
||||
conformant.</li>
|
||||
|
||||
<li>Because we specify interfaces and not the actual objects that
|
||||
are to be created, the DOM cannot know what constructors to call
|
||||
for an implementation. In general, DOM users call the createX()
|
||||
methods on the Document class to create document structures, and
|
||||
DOM implementations create their own internal representations of
|
||||
these structures in their implementations of the createX()
|
||||
functions.</li>
|
||||
</ol>
|
||||
|
||||
<p>The Level 1 interfaces were extended to provide both Level 1 and
|
||||
Level 2 functionality.</p>
|
||||
|
||||
<p>DOM implementations in languages other than Java or ECMAScript
|
||||
may choose bindings that are appropriate and natural for their
|
||||
language and run time environment. For example, some systems may
|
||||
need to create a Document2 class which inherits from Document and
|
||||
contains the new methods and attributes.</p>
|
||||
|
||||
<p>DOM Level 2 does not specify multithreading mechanisms.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 ID-E7C30826 --></div>
|
||||
|
||||
<!-- div1 Introduction -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='copyright-notice.html'>previous</a>
|
||||
<a accesskey='n' href='core.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,555 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:07 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Java Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='ecma-script-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='idl-definitions.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='idl-definitions.html'>previous</a> <a accesskey='n'
|
||||
href='ecma-script-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="java-binding" name='java-binding'></a>
|
||||
|
||||
<h1 id='java-binding-h1' class='adiv1'>Appendix D: Java Language
|
||||
Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete Java Language [<a
|
||||
class='noxref' href='references.html#Java'>Java</a>] binding for
|
||||
the Level 2 Document Object Model Core.</p>
|
||||
|
||||
<p>The Java files are also available as <a
|
||||
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/java-binding.zip</a></p>
|
||||
|
||||
<h3 id='org.w3c.dom.DOMException'>
|
||||
org/w3c/dom/DOMException.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public class DOMException extends RuntimeException {
|
||||
public DOMException(short code, String message) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
public short code;
|
||||
// ExceptionCode
|
||||
public static final short INDEX_SIZE_ERR = 1;
|
||||
public static final short DOMSTRING_SIZE_ERR = 2;
|
||||
public static final short HIERARCHY_REQUEST_ERR = 3;
|
||||
public static final short WRONG_DOCUMENT_ERR = 4;
|
||||
public static final short INVALID_CHARACTER_ERR = 5;
|
||||
public static final short NO_DATA_ALLOWED_ERR = 6;
|
||||
public static final short NO_MODIFICATION_ALLOWED_ERR = 7;
|
||||
public static final short NOT_FOUND_ERR = 8;
|
||||
public static final short NOT_SUPPORTED_ERR = 9;
|
||||
public static final short INUSE_ATTRIBUTE_ERR = 10;
|
||||
public static final short INVALID_STATE_ERR = 11;
|
||||
public static final short SYNTAX_ERR = 12;
|
||||
public static final short INVALID_MODIFICATION_ERR = 13;
|
||||
public static final short NAMESPACE_ERR = 14;
|
||||
public static final short INVALID_ACCESS_ERR = 15;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.DOMImplementation'>
|
||||
org/w3c/dom/DOMImplementation.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface DOMImplementation {
|
||||
public boolean hasFeature(String feature,
|
||||
String version);
|
||||
|
||||
public DocumentType createDocumentType(String qualifiedName,
|
||||
String publicId,
|
||||
String systemId)
|
||||
throws DOMException;
|
||||
|
||||
public Document createDocument(String namespaceURI,
|
||||
String qualifiedName,
|
||||
DocumentType doctype)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.DocumentFragment'>
|
||||
org/w3c/dom/DocumentFragment.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface DocumentFragment extends Node {
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Document'>org/w3c/dom/Document.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Document extends Node {
|
||||
public DocumentType getDoctype();
|
||||
|
||||
public DOMImplementation getImplementation();
|
||||
|
||||
public Element getDocumentElement();
|
||||
|
||||
public Element createElement(String tagName)
|
||||
throws DOMException;
|
||||
|
||||
public DocumentFragment createDocumentFragment();
|
||||
|
||||
public Text createTextNode(String data);
|
||||
|
||||
public Comment createComment(String data);
|
||||
|
||||
public CDATASection createCDATASection(String data)
|
||||
throws DOMException;
|
||||
|
||||
public ProcessingInstruction createProcessingInstruction(String target,
|
||||
String data)
|
||||
throws DOMException;
|
||||
|
||||
public Attr createAttribute(String name)
|
||||
throws DOMException;
|
||||
|
||||
public EntityReference createEntityReference(String name)
|
||||
throws DOMException;
|
||||
|
||||
public NodeList getElementsByTagName(String tagname);
|
||||
|
||||
public Node importNode(Node importedNode,
|
||||
boolean deep)
|
||||
throws DOMException;
|
||||
|
||||
public Element createElementNS(String namespaceURI,
|
||||
String qualifiedName)
|
||||
throws DOMException;
|
||||
|
||||
public Attr createAttributeNS(String namespaceURI,
|
||||
String qualifiedName)
|
||||
throws DOMException;
|
||||
|
||||
public NodeList getElementsByTagNameNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
public Element getElementById(String elementId);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Node'>org/w3c/dom/Node.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Node {
|
||||
// NodeType
|
||||
public static final short ELEMENT_NODE = 1;
|
||||
public static final short ATTRIBUTE_NODE = 2;
|
||||
public static final short TEXT_NODE = 3;
|
||||
public static final short CDATA_SECTION_NODE = 4;
|
||||
public static final short ENTITY_REFERENCE_NODE = 5;
|
||||
public static final short ENTITY_NODE = 6;
|
||||
public static final short PROCESSING_INSTRUCTION_NODE = 7;
|
||||
public static final short COMMENT_NODE = 8;
|
||||
public static final short DOCUMENT_NODE = 9;
|
||||
public static final short DOCUMENT_TYPE_NODE = 10;
|
||||
public static final short DOCUMENT_FRAGMENT_NODE = 11;
|
||||
public static final short NOTATION_NODE = 12;
|
||||
|
||||
public String getNodeName();
|
||||
|
||||
public String getNodeValue()
|
||||
throws DOMException;
|
||||
public void setNodeValue(String nodeValue)
|
||||
throws DOMException;
|
||||
|
||||
public short getNodeType();
|
||||
|
||||
public Node getParentNode();
|
||||
|
||||
public NodeList getChildNodes();
|
||||
|
||||
public Node getFirstChild();
|
||||
|
||||
public Node getLastChild();
|
||||
|
||||
public Node getPreviousSibling();
|
||||
|
||||
public Node getNextSibling();
|
||||
|
||||
public NamedNodeMap getAttributes();
|
||||
|
||||
public Document getOwnerDocument();
|
||||
|
||||
public Node insertBefore(Node newChild,
|
||||
Node refChild)
|
||||
throws DOMException;
|
||||
|
||||
public Node replaceChild(Node newChild,
|
||||
Node oldChild)
|
||||
throws DOMException;
|
||||
|
||||
public Node removeChild(Node oldChild)
|
||||
throws DOMException;
|
||||
|
||||
public Node appendChild(Node newChild)
|
||||
throws DOMException;
|
||||
|
||||
public boolean hasChildNodes();
|
||||
|
||||
public Node cloneNode(boolean deep);
|
||||
|
||||
public void normalize();
|
||||
|
||||
public boolean isSupported(String feature,
|
||||
String version);
|
||||
|
||||
public String getNamespaceURI();
|
||||
|
||||
public String getPrefix();
|
||||
public void setPrefix(String prefix)
|
||||
throws DOMException;
|
||||
|
||||
public String getLocalName();
|
||||
|
||||
public boolean hasAttributes();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.NodeList'>org/w3c/dom/NodeList.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface NodeList {
|
||||
public Node item(int index);
|
||||
|
||||
public int getLength();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.NamedNodeMap'>
|
||||
org/w3c/dom/NamedNodeMap.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface NamedNodeMap {
|
||||
public Node getNamedItem(String name);
|
||||
|
||||
public Node setNamedItem(Node arg)
|
||||
throws DOMException;
|
||||
|
||||
public Node removeNamedItem(String name)
|
||||
throws DOMException;
|
||||
|
||||
public Node item(int index);
|
||||
|
||||
public int getLength();
|
||||
|
||||
public Node getNamedItemNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
public Node setNamedItemNS(Node arg)
|
||||
throws DOMException;
|
||||
|
||||
public Node removeNamedItemNS(String namespaceURI,
|
||||
String localName)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.CharacterData'>
|
||||
org/w3c/dom/CharacterData.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface CharacterData extends Node {
|
||||
public String getData()
|
||||
throws DOMException;
|
||||
public void setData(String data)
|
||||
throws DOMException;
|
||||
|
||||
public int getLength();
|
||||
|
||||
public String substringData(int offset,
|
||||
int count)
|
||||
throws DOMException;
|
||||
|
||||
public void appendData(String arg)
|
||||
throws DOMException;
|
||||
|
||||
public void insertData(int offset,
|
||||
String arg)
|
||||
throws DOMException;
|
||||
|
||||
public void deleteData(int offset,
|
||||
int count)
|
||||
throws DOMException;
|
||||
|
||||
public void replaceData(int offset,
|
||||
int count,
|
||||
String arg)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Attr'>org/w3c/dom/Attr.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Attr extends Node {
|
||||
public String getName();
|
||||
|
||||
public boolean getSpecified();
|
||||
|
||||
public String getValue();
|
||||
public void setValue(String value)
|
||||
throws DOMException;
|
||||
|
||||
public Element getOwnerElement();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Element'>org/w3c/dom/Element.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Element extends Node {
|
||||
public String getTagName();
|
||||
|
||||
public String getAttribute(String name);
|
||||
|
||||
public void setAttribute(String name,
|
||||
String value)
|
||||
throws DOMException;
|
||||
|
||||
public void removeAttribute(String name)
|
||||
throws DOMException;
|
||||
|
||||
public Attr getAttributeNode(String name);
|
||||
|
||||
public Attr setAttributeNode(Attr newAttr)
|
||||
throws DOMException;
|
||||
|
||||
public Attr removeAttributeNode(Attr oldAttr)
|
||||
throws DOMException;
|
||||
|
||||
public NodeList getElementsByTagName(String name);
|
||||
|
||||
public String getAttributeNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
public void setAttributeNS(String namespaceURI,
|
||||
String qualifiedName,
|
||||
String value)
|
||||
throws DOMException;
|
||||
|
||||
public void removeAttributeNS(String namespaceURI,
|
||||
String localName)
|
||||
throws DOMException;
|
||||
|
||||
public Attr getAttributeNodeNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
public Attr setAttributeNodeNS(Attr newAttr)
|
||||
throws DOMException;
|
||||
|
||||
public NodeList getElementsByTagNameNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
public boolean hasAttribute(String name);
|
||||
|
||||
public boolean hasAttributeNS(String namespaceURI,
|
||||
String localName);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Text'>org/w3c/dom/Text.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Text extends CharacterData {
|
||||
public Text splitText(int offset)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Comment'>org/w3c/dom/Comment.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Comment extends CharacterData {
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.CDATASection'>
|
||||
org/w3c/dom/CDATASection.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface CDATASection extends Text {
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.DocumentType'>
|
||||
org/w3c/dom/DocumentType.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface DocumentType extends Node {
|
||||
public String getName();
|
||||
|
||||
public NamedNodeMap getEntities();
|
||||
|
||||
public NamedNodeMap getNotations();
|
||||
|
||||
public String getPublicId();
|
||||
|
||||
public String getSystemId();
|
||||
|
||||
public String getInternalSubset();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Notation'>org/w3c/dom/Notation.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Notation extends Node {
|
||||
public String getPublicId();
|
||||
|
||||
public String getSystemId();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.Entity'>org/w3c/dom/Entity.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface Entity extends Node {
|
||||
public String getPublicId();
|
||||
|
||||
public String getSystemId();
|
||||
|
||||
public String getNotationName();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.EntityReference'>
|
||||
org/w3c/dom/EntityReference.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface EntityReference extends Node {
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.ProcessingInstruction'>
|
||||
org/w3c/dom/ProcessingInstruction.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom;
|
||||
|
||||
public interface ProcessingInstruction extends Node {
|
||||
public String getTarget();
|
||||
|
||||
public String getData();
|
||||
public void setData(String data)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 java-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='idl-definitions.html'>previous</a> <a
|
||||
accesskey='n' href='ecma-script-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,260 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:26 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>References</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='def-index.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='glossary.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='glossary.html'>previous</a> <a accesskey='n'
|
||||
href='def-index.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="References" name='References'></a>
|
||||
|
||||
<h1 id='role-references' class='references'>References</h1>
|
||||
|
||||
<p>For the latest version of any W3C specification please consult
|
||||
the list of <a href='http://www.w3.org/TR'>W3C Technical
|
||||
Reports</a> available at http://www.w3.org/TR.</p>
|
||||
|
||||
<div class='div2'><a id="References-Normative"
|
||||
name='References-Normative'></a>
|
||||
|
||||
<h2 id='References-Normative-h2' class='adiv2'>H.1: Normative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="Charmod" name='Charmod'>Charmod</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1999/WD-charmod-19991129'>Character
|
||||
Model for the World Wide Web</a>, November 1999. Available at
|
||||
http://www.w3.org/TR/1999/WD-charmod-19991129</dd>
|
||||
|
||||
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>ECMA (European Computer Manufacturers Association) <a
|
||||
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
|
||||
Language Specification</a>. Available at
|
||||
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
|
||||
|
||||
<dt><b><a id="HTML40" name='HTML40'>HTML4.0</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424'>HTML 4.0
|
||||
Specification</a>, April 1998. Available at
|
||||
http://www.w3.org/TR/1998/REC-html40-19980424</dd>
|
||||
|
||||
<dt><b><a id="ISO10646" name='ISO10646'>ISO/IEC 10646</a></b></dt>
|
||||
|
||||
<dd>ISO (International Organization for Standardization). ISO/IEC
|
||||
10646-1:2000 (E). Information technology - Universal Multiple-Octet
|
||||
Coded Character Set (UCS) - Part 1: Architecture and Basic
|
||||
Multilingual Plane. [Geneva]: International Organization for
|
||||
Standardization.</dd>
|
||||
|
||||
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/docs/books/jls'>The Java Language
|
||||
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
|
||||
September 1996. Available at
|
||||
http://java.sun.com/docs/books/jls</dd>
|
||||
|
||||
<dt><b><a id="Namespaces" name='Namespaces'>Namespaces</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1999/REC-xml-names-19990114'>Namespaces
|
||||
in XML</a>, January 1999. Available at
|
||||
http://www.w3.org/TR/1999/REC-xml-names-19990114</dd>
|
||||
|
||||
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
IDL (Interface Definition Language) defined in The Common Object
|
||||
Request Broker: Architecture and Specification, version 2.3.1,
|
||||
October 1999. Available from http://www.omg.org/</dd>
|
||||
|
||||
<dt><b><a id="URIRef" name='URIRef'>RFC2396</a></b></dt>
|
||||
|
||||
<dd>IETF (Internet Engineering Task Force) <a
|
||||
href='http://www.ietf.org/rfc/rfc2396.txt'>RFC 2396: Uniform
|
||||
Resource Identifiers (URI): Generic Syntax</a>, eds. T.
|
||||
Berners-Lee, R. Fielding, L. Masinter. August 1998. Available at
|
||||
http://www.ietf.org/rfc/rfc2396.txt</dd>
|
||||
|
||||
<dt><b><a id="Unicode" name='Unicode'>Unicode</a></b></dt>
|
||||
|
||||
<dd>The Unicode Consortium. <a
|
||||
href='http://www.unicode.org/unicode/standard/versions/Unicode3.0.html'>
|
||||
The Unicode Standard, Version 3.0.</a>, February 2000. Available at
|
||||
http://www.unicode.org/unicode/standard/versions/Unicode3.0.html.</dd>
|
||||
|
||||
<dt><b><a id="XML" name='XML'>XML</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210'>Extensible Markup
|
||||
Language (XML) 1.0</a>, February 1998. Available at
|
||||
http://www.w3.org/TR/1998/REC-xml-19980210</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Normative -->
|
||||
<div class='div2'><a id="References-Informative"
|
||||
name='References-Informative'></a>
|
||||
|
||||
<h2 id='References-Informative-h2' class='adiv2'>H.2: Informative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMCSS-inf" name='DOMCSS-inf'>DOM Level 2
|
||||
CSS</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style/css'>Document Object
|
||||
Model Level 2 CSS</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Style/css</dd>
|
||||
|
||||
<dt><b><a id="COM" name='COM'>COM</a></b></dt>
|
||||
|
||||
<dd>Microsoft Corp. <a href='http://www.microsoft.com/com'>The
|
||||
Component Object Model</a>. Available at
|
||||
http://www.microsoft.com/com</dd>
|
||||
|
||||
<dt><b><a id="CORBA" name='CORBA'>CORBA</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
The Common Object Request Broker: Architecture and Specification,
|
||||
version 2.3.1, October 1999. Available from
|
||||
http://www.omg.org/</dd>
|
||||
|
||||
<dt><b><a id="DOM-Level-1" name='DOM-Level-1'>DOM Level
|
||||
1</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/REC-DOM-Level-1'>DOM Level 1
|
||||
Specification</a>, October 1998. Available at
|
||||
http://www.w3.org/TR/REC-DOM-Level-1</dd>
|
||||
|
||||
<dt><b><a id="DOMHTML-inf" name='DOMHTML-inf'>DOM Level 2
|
||||
HTML</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-HTML'>Document Object Model
|
||||
Level 2 HTML Specification</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-HTML</dd>
|
||||
|
||||
<dt><b><a id="DOMEvents-inf" name='DOMEvents-inf'>DOM Level 2
|
||||
Events</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events'>Document Object
|
||||
Model Level 2 Events Specification</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Events</dd>
|
||||
|
||||
<dt><b><a id="InfoSet" name='InfoSet'>Infoset</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/xml-infoset'>XML Information Set</a>,
|
||||
December 1999. Available at http://www.w3.org/TR/xml-infoset</dd>
|
||||
|
||||
<dt><b><a id="JavaIDL" name='JavaIDL'>JavaIDL</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/products/jdk/1.2/docs/guide/idl'>Java
|
||||
IDL</a>. Available at
|
||||
http://java.sun.com/products/jdk/1.2/docs/guide/idl</dd>
|
||||
|
||||
<dt><b><a id="JavaScript" name='JavaScript'>JavaScript</a></b></dt>
|
||||
|
||||
<dd>Netscape Communications Corp. <a
|
||||
href='http://developer.netscape.com/tech/javascript/resources.html'>
|
||||
JavaScript Resources</a>. Available at
|
||||
http://developer.netscape.com/tech/javascript/resources.html</dd>
|
||||
|
||||
<dt><b><a id="JScript" name='JScript'>JScript</a></b></dt>
|
||||
|
||||
<dd>Microsoft Corp. <a
|
||||
href='http://msdn.microsoft.com/scripting/default.htm'>JScript
|
||||
Resources</a>. Available at
|
||||
http://msdn.microsoft.com/scripting/default.htm</dd>
|
||||
|
||||
<dt><b><a id="MSIDL" name='MSIDL'>MIDL</a></b></dt>
|
||||
|
||||
<dd>Microsoft Corp. <a
|
||||
href='http://msdn.microsoft.com/library/psdk/midl/mi-laref_1r1h.htm'>
|
||||
MIDL Language Reference</a>. Available at
|
||||
http://msdn.microsoft.com/library/psdk/midl/mi-laref_1r1h.htm</dd>
|
||||
|
||||
<dt><b><a id="DOMStyleSheets-inf" name='DOMStyleSheets-inf'>DOM
|
||||
Level 2 Style Sheets</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style/stylesheets'>Document
|
||||
Object Model Level 2 Style Sheets</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Style/stylesheets</dd>
|
||||
|
||||
<dt><b><a id="DOMTraversal-inf" name='DOMTraversal-inf'>DOM Level 2
|
||||
Traversal</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal'>Document
|
||||
Object Model Level 2 Traversal</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal</dd>
|
||||
|
||||
<dt><b><a id="DOMRange-inf" name='DOMRange-inf'>DOM Level 2
|
||||
Range</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html'>
|
||||
Document Object Model Level 2 Range</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges</dd>
|
||||
|
||||
<dt><b><a id="DOMViews-inf" name='DOMViews-inf'>DOM Level 2
|
||||
Views</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Views'>Document Object Model
|
||||
Level 2 Views Specification</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-Views</dd>
|
||||
|
||||
<dt><b><a id="XPointer" name='XPointer'>XPointer</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/xptr'>XML Pointer Language
|
||||
(XPointer)</a>, June 2000. Available at
|
||||
http://www.w3.org/TR/xptr</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Informative --></div>
|
||||
|
||||
<!-- div1 References -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='glossary.html'>previous</a> <a
|
||||
accesskey='n' href='def-index.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
H4 {
|
||||
text-align: left;
|
||||
font-family: sans-serif;
|
||||
font-weight: normal;
|
||||
color: #0050B2;
|
||||
}
|
||||
.idl-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
.java-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.ecma-block {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.interface-name {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.attribute-name {
|
||||
color: black;
|
||||
background-color: #FFFFD2;
|
||||
}
|
||||
|
||||
.constant-name {
|
||||
color: black;
|
||||
background-color: #DDFFD2;
|
||||
}
|
||||
|
||||
.method-name {
|
||||
color: black;
|
||||
background-color: #D9E6F8;
|
||||
}
|
||||
|
||||
.parameter-name {
|
||||
color: black;
|
||||
background-color: #FEE6F8;
|
||||
}
|
||||
|
||||
UL.toc, OL.toc {list-style: none}
|
||||
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
|
||||
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
|
||||
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
|
||||
LI.tocline1 {font-weight: bold}
|
||||
LI.tocline2 {font-weight: normal}
|
||||
LI.tocline4 {font-style: italic}
|
||||
|
||||
code { font-family: monospace }
|
||||
|
||||
div.paramtable { margin-left: 1em }
|
||||
div.returntable { margin-left: 1em }
|
||||
div.exceptiontable { margin-left: 1em }
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>W3C IPR SOFTWARE NOTICE</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<h1>
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
</h1>
|
||||
<h3>
|
||||
Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</h3>
|
||||
<p>
|
||||
The DOM bindings are published under the W3C Software Copyright Notice
|
||||
and License. The software license requires "Notice of any changes or
|
||||
modifications to the W3C files, including the date changes were made."
|
||||
Consequently, modified versions of the DOM bindings must document that
|
||||
they do not conform to the W3C standard; in the case of the IDL binding,
|
||||
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
|
||||
binding, the package names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<p>
|
||||
<b>Note:</b> The original version of the W3C Software Copyright Notice
|
||||
and License could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
|
||||
</p>
|
||||
<h3>
|
||||
Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/
|
||||
</h3>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you include the following on ALL
|
||||
copies of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
</li>
|
||||
<li>
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright ©
|
||||
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
</li>
|
||||
<li>
|
||||
Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived.)
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright
|
||||
holders.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:56 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model (DOM) Level 2 Events
|
||||
Specification</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='expanded-toc.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='n'
|
||||
href='expanded-toc.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='head'>
|
||||
<p><a href='http://www.w3.org/'><img height='48' width='72'
|
||||
alt='W3C' src='./images/w3c_home.gif' /></a></p>
|
||||
|
||||
<h1 id='title'>Document Object Model (DOM) Level 2 Events
|
||||
Specification</h1>
|
||||
|
||||
<h2 id='version'>Version 1.0</h2>
|
||||
|
||||
<!-- REC-DOM-Level-2-Events-20001113
|
||||
-->
|
||||
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
|
||||
2000</i></h2>
|
||||
|
||||
<dl>
|
||||
<dt>This version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113</a><br />
|
||||
(<a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/DOM2-Events.ps'>
|
||||
PostScript file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/DOM2-Events.pdf'>
|
||||
PDF file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/DOM2-Events.txt'>
|
||||
plain text</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/DOM2-Events.zip'>
|
||||
ZIP file</a>)</dd>
|
||||
|
||||
<dt>Latest version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Events'>http://www.w3.org/TR/DOM-Level-2-Events</a></dd>
|
||||
|
||||
<dt>Previous version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Events-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Events-20000927</a></dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Editors:</dt>
|
||||
|
||||
<dd>Tom Pixley, <i>Netscape Communications Corp.</i></dd>
|
||||
</dl>
|
||||
|
||||
<p class='copyright'>Copyright © 2000 <a
|
||||
href='http://www.w3.org/'><abbr
|
||||
title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>
|
||||
(<a href='http://www.lcs.mit.edu/'><abbr
|
||||
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
|
||||
href='http://www.inria.fr/'><abbr lang='fr'
|
||||
title='Institut National de Recherche en Informatique et Automatique'>
|
||||
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
|
||||
Rights Reserved. W3C <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
|
||||
liability</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
|
||||
trademark</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
document use</a> and <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
software licensing</a> rules apply.</p>
|
||||
</div>
|
||||
|
||||
<hr title='separator from header' />
|
||||
<h2 id='abstract'>Abstract</h2>
|
||||
|
||||
<div class='abstract'>
|
||||
<p>This specification defines the Document Object Model Level 2
|
||||
Events, a platform- and language-neutral interface that gives to
|
||||
programs and scripts a generic event system. The Document Object
|
||||
Model Level 2 Events builds on the Document Object Model Level 2
|
||||
Core [<a class='noxref' href='references.html#DOMCore'>DOM Level 2
|
||||
Core</a>] and on Document Object Model Level 2 Views [<a
|
||||
class='noxref' href='references.html#DOMViews'>DOM Level 2
|
||||
Views</a>].</p>
|
||||
</div>
|
||||
|
||||
<h2 id='status'>Status of this document</h2>
|
||||
|
||||
<div class='status'>
|
||||
<p><em>This section describes the status of this document at the
|
||||
time of its publication. Other documents may supersede this
|
||||
document. The latest status of this document series is maintained
|
||||
at the W3C.</em></p>
|
||||
|
||||
<p>This document has been reviewed by W3C Members and other
|
||||
interested parties and has been endorsed by the Director as a <a
|
||||
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
|
||||
W3C Recommendation</a>. It is a stable document and may be used as
|
||||
reference material or cited as a normative reference from another
|
||||
document. W3C's role in making the Recommendation is to draw
|
||||
attention to the specification and to promote its widespread
|
||||
deployment. This enhances the functionality and interoperability of
|
||||
the Web.</p>
|
||||
|
||||
<p>This document has been produced as part of the <a
|
||||
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
|
||||
The authors of this document are the DOM Working Group members.
|
||||
Different modules of the Document Object Model have different
|
||||
editors.</p>
|
||||
|
||||
<p>Please send general comments about this document to the public
|
||||
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
|
||||
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
|
||||
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
|
||||
|
||||
<p>The English version of this specification is the only normative
|
||||
version. Information about <a
|
||||
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
|
||||
of this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
|
||||
|
||||
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
|
||||
of known errors</a> in this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
|
||||
|
||||
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
|
||||
Recommendations and other technical documents</a> can be found at
|
||||
http://www.w3.org/TR.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
|
||||
of contents</a></h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='events.html'>1.
|
||||
Document Object Model Events</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='n' href='expanded-toc.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
*/
|
||||
/* Style for a "Recommendation" */
|
||||
|
||||
/*
|
||||
This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
|
||||
Acknowledgments:
|
||||
|
||||
- 'background-color' doesn't work on Mac IE 3, but 'background'
|
||||
does (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
|
||||
'small' is better: works in Mac NS, but is always 12pt in Mac IE
|
||||
3 (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
$Id$
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 2em 1em 2em 70px;
|
||||
font-family: sans-serif;
|
||||
color: black;
|
||||
background: white;
|
||||
background-position: top left;
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
th, td { /* ns 4 */
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { text-align: left }
|
||||
h1, h2, h3 { color: #005A9C }
|
||||
h1 { font: 170% sans-serif }
|
||||
h2 { font: 140% sans-serif }
|
||||
h3 { font: 120% sans-serif }
|
||||
h4 { font: bold 100% sans-serif }
|
||||
h5 { font: italic 100% sans-serif }
|
||||
h6 { font: small-caps 100% sans-serif }
|
||||
|
||||
.hide { display: none }
|
||||
|
||||
div.head { margin-bottom: 1em }
|
||||
div.head h1 { margin-top: 2em; clear: both }
|
||||
div.head table { margin-left: 2em; margin-top: 2em }
|
||||
div.head img { color: white; border: none } /* remove border from top image */
|
||||
|
||||
p.copyright { font-size: small }
|
||||
p.copyright small { font-size: small }
|
||||
|
||||
@media screen { /* hide from IE3 */
|
||||
a:hover { background: #ffa }
|
||||
}
|
||||
|
||||
pre { margin-left: 2em }
|
||||
/*
|
||||
p {
|
||||
margin-top: 0.6em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
*/
|
||||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
|
||||
dt { font-weight: bold }
|
||||
|
||||
pre, code { font-family: monospace } /* navigator 4 requires this */
|
||||
|
||||
ul.toc {
|
||||
list-style: disc; /* Mac NS has problem with 'none' */
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media aural {
|
||||
h1, h2, h3 { stress: 20; richness: 90 }
|
||||
.hide { speak: none }
|
||||
p.copyright { volume: x-soft; speech-rate: x-fast }
|
||||
dt { pause-before: 20% }
|
||||
pre { speak-punctuation: code }
|
||||
}
|
||||
|
||||
/* Things (icons) that should only show up in projection mode */
|
||||
.projection { display: none }
|
||||
@media projection { .projection { display: inline } }
|
||||
|
||||
|
||||
body {
|
||||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:27 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Acknowledgements</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='glossary.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ecma-script-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ecma-script-binding.html'>previous</a> <a
|
||||
accesskey='n' href='glossary.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="contributors" name='contributors'></a>
|
||||
|
||||
<h1 id='contributors-h1' class='adiv1'>Appendix D:
|
||||
Acknowledgements</h1>
|
||||
|
||||
<p>Many people contributed to this specification, including members
|
||||
of the DOM Working Group and the DOM Interest Group. We especially
|
||||
thank the following:</p>
|
||||
|
||||
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
|
||||
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
|
||||
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
|
||||
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
|
||||
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
|
||||
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
|
||||
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
|
||||
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
|
||||
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
|
||||
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
|
||||
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
|
||||
Davis (IBM), Mark Scardina (Oracle), Martin Dürst (W3C), Mick
|
||||
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
|
||||
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
|
||||
(Netscape), Philippe Le Hégaret (W3C, <em>W3C team
|
||||
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
|
||||
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
|
||||
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
|
||||
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
|
||||
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
|
||||
|
||||
<p>Thanks to all those who have helped to improve this
|
||||
specification by sending suggestions and corrections.</p>
|
||||
|
||||
<div class='div2'><a id="Productions" name='Productions'></a>
|
||||
|
||||
<h2 id='Productions-h2' class='adiv2'>D.1: Production Systems</h2>
|
||||
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java
|
||||
and ECMA Script bindings were all produced automatically.</p>
|
||||
|
||||
<p>Thanks to Joe English, author of <a
|
||||
href='http://www.flightlab.com/cost'>cost</a>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
|
||||
who wrote the scripts which run on top of cost. Arnaud Le Hors and
|
||||
Philippe Le Hégaret maintained the scripts.</p>
|
||||
|
||||
<p>For DOM Level 2, we used <a
|
||||
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le
|
||||
Hégaret and Arnaud Le Hors wrote the <a
|
||||
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
|
||||
Java programs</a> which are the DOM application.</p>
|
||||
|
||||
<p>Thanks also to Jan Kärrman, author of <a
|
||||
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
|
||||
use in creating the PostScript version of the specification.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Productions --></div>
|
||||
|
||||
<!-- div1 contributors -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
|
||||
<a accesskey='n' href='glossary.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:57 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Copyright Notice</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='events.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='expanded-toc.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='expanded-toc.html'>previous</a> <a accesskey='n'
|
||||
href='events.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Copyright-Notice"
|
||||
name='Copyright-Notice'></a>
|
||||
|
||||
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
|
||||
|
||||
<p><b>Copyright © 2000 <a href='http://www.w3.org/'>World Wide
|
||||
Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p>This document is published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a>. The bindings within this document
|
||||
are published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a>. The software license requires
|
||||
"Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made." Consequently, modified versions of the
|
||||
DOM bindings must document that they do not conform to the W3C
|
||||
standard; in the case of the IDL definitions, the pragma prefix can
|
||||
no longer be 'w3c.org'; in the case of the Java Language binding,
|
||||
the package names can no longer be in the 'org.w3c' package.</p>
|
||||
|
||||
<div class='div2'><a id="Copyright-notice-document"
|
||||
name='Copyright-notice-document'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Document Notice
|
||||
and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
|
||||
Notice</a>. By using and/or copying this document, or the W3C
|
||||
document from which this statement is linked, you (the licensee)
|
||||
agree that you have read, understood, and will comply with the
|
||||
following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on <em>ALL</em>
|
||||
copies of the document, or portions thereof, that you use:</p>
|
||||
|
||||
<ol>
|
||||
<li>A link or URL to the original W3C document.</li>
|
||||
|
||||
<li>The pre-existing copyright notice of the original author, or if
|
||||
it doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)</li>
|
||||
|
||||
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
|
||||
</ol>
|
||||
|
||||
<p>When space permits, inclusion of the full text of this
|
||||
<b>NOTICE</b> should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.</p>
|
||||
|
||||
<p>No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the <a
|
||||
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
|
||||
FAQ</a>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.</p>
|
||||
|
||||
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-document -->
|
||||
<div class='div2'><a id="Copyright-notice-software"
|
||||
name='Copyright-notice-software'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Software
|
||||
Copyright Notice and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and modify this software and its
|
||||
documentation, with or without modification, for any purpose and
|
||||
without fee or royalty is hereby granted, provided that you include
|
||||
the following on ALL copies of the software and documentation or
|
||||
portions thereof, including modifications, that you make:</p>
|
||||
|
||||
<ol>
|
||||
<li>The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.</li>
|
||||
|
||||
<li>Any pre-existing intellectual property disclaimers. If none
|
||||
exist, then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."</li>
|
||||
|
||||
<li>Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)</li>
|
||||
</ol>
|
||||
|
||||
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-software --></div>
|
||||
|
||||
<!-- div1 Copyright-Notice -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='expanded-toc.html'>previous</a> <a
|
||||
accesskey='n' href='events.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,363 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:28 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='previous' href='references.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='references.html'>previous</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Index" name='Index'></a>
|
||||
|
||||
<h1 id='role-index' class='index'>Index</h1>
|
||||
|
||||
<table
|
||||
summary='the table contains all keywords used in this document'>
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventTarget-addEventListener'>addEventListener</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-attrChangeType'>ADDITION</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-altKey'>altKey</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-overview-terminology'>ancestor</a> <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-overview-terminology'>1</a>, <a
|
||||
class='index-inst' href='events.html#Events-flow-capture'>2</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-ancestor'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-eventPhaseType'>AT_TARGET</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-attrChange'>attrChange</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-attrName'>attrName</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-canBubble'>bubbles</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-eventPhaseType'>BUBBLING_PHASE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-button'>button</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-canCancel'>cancelable</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-eventPhaseType'>CAPTURING_PHASE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-eventgroupings-mutationevents'>child</a>
|
||||
<a class='index-inst'
|
||||
href='events.html#Events-eventgroupings-mutationevents'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-child'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-clientX'>clientX</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-clientY'>clientY</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-DocumentEvent-createEvent'>createEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-ctrlKey'>ctrlKey</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-currentTarget'>currentTarget</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-flow-capture'>descendant</a> <a
|
||||
class='index-inst' href='events.html#Events-flow-capture'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-descendant'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-UIEvent-detail'>detail</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventTarget-dispatchEvent'>dispatchEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-DocumentEvent'>DocumentEvent</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-overview'>DOM Level 0</a> <a
|
||||
class='index-inst' href='events.html#Events-overview'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-uievents'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-mouseevents'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-htmlevents'>4</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-DOM-Level-0'>5</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-overview'>DOM Level 2 Core</a> <a
|
||||
class='index-inst' href='events.html#Events-overview'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-uievents'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-mouseevents'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-mutationevents'>4</a>, <a
|
||||
class='index-inst'
|
||||
href='events.html#Events-eventgroupings-htmlevents'>5</a>, <a
|
||||
class='index-inst' href='references.html#DOMCore'>6</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-eventgroupings-uievents'>DOM Level 2
|
||||
Views</a> <a class='index-inst'
|
||||
href='events.html#Events-eventgroupings-uievents'>1</a>, <a
|
||||
class='index-inst' href='references.html#DOMViews'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event'>Event</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventException'>EventException</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventListener'>EventListener</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-eventPhase'>eventPhase</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventTarget'>EventTarget</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventListener-handleEvent'>handleEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-initEvent'>initEvent</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-initMouseEvent'>initMouseEvent</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-initMutationEvent'>initMutationEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-initUIEvent'>initUIEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#Java'>Java</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-metaKey'>metaKey</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-attrChangeType'>MODIFICATION</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent'>MouseEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent'>MutationEvent</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-newValue'>newValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-preventDefault'>preventDefault</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-prevValue'>prevValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-relatedNode'>relatedNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-relatedTarget'>relatedTarget</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MutationEvent-attrChangeType'>REMOVAL</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventTarget-removeEventListener'>removeEventListener</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-screenX'>screenX</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-screenY'>screenY</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-MouseEvent-shiftKey'>shiftKey</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-flow-capture'>sibling</a> <a
|
||||
class='index-inst' href='events.html#Events-flow-capture'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-sibling'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-stopPropagation'>stopPropagation</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-target'>target</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-timeStamp'>timeStamp</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-tokenized'>tokenized</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-type'>type</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-UIEvent'>UIEvent</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-EventException-EventExceptionCode'>UNSPECIFIED_EVENT_TYPE_ERR</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-UIEvent-view'>view</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-XML-name'>XML</a> <a class='index-inst'
|
||||
href='glossary.html#dt-XML-name'>1</a>, <a class='index-inst'
|
||||
href='references.html#XML'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='events.html#Events-Event-type'>XML name</a> <a
|
||||
class='index-inst' href='events.html#Events-Event-type'>1</a>, <a
|
||||
class='index-inst' href='events.html#Events-Event-initEvent'>2</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-XML-name'>3</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- div1 Index -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='references.html'>previous</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,472 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:26 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>ECMAScript Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='acknowledgements.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='java-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='java-binding.html'>previous</a> <a accesskey='n'
|
||||
href='acknowledgements.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="ecma-binding" name='ecma-binding'></a>
|
||||
|
||||
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript
|
||||
Language Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete ECMAScript [<a
|
||||
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>]
|
||||
binding for the Level 2 Document Object Model Events
|
||||
definitions.</p>
|
||||
|
||||
<p><b>Note:</b> Exceptions handling is only supported by ECMAScript
|
||||
implementation conformant with the Standard ECMA-262 3rd. Edition
|
||||
([<a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a>]).</p>
|
||||
|
||||
<div class='ecma-block'>
|
||||
<dl>
|
||||
<dt>Object <b>EventTarget</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>EventTarget</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>addEventListener(type, listener, useCapture)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>type</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>listener</b> parameter is a <b>EventListener</b>
|
||||
object.<br />
|
||||
The <b>useCapture</b> parameter is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>removeEventListener(type, listener, useCapture)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>type</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>listener</b> parameter is a <b>EventListener</b>
|
||||
object.<br />
|
||||
The <b>useCapture</b> parameter is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>dispatchEvent(evt)</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Boolean</b>.<br />
|
||||
The <b>evt</b> parameter is a <b>Event</b> object.<br />
|
||||
This method can raise a <b>EventException</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>EventListener</b></dt>
|
||||
|
||||
<dd>This is an ECMAScript function reference. This method has no
|
||||
return value. The parameter is a <b>Event</b> object.</dd>
|
||||
|
||||
<dt>Prototype Object <b>Event</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>Event</b> class has the following constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>Event.CAPTURING_PHASE</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>1</b>.</dd>
|
||||
|
||||
<dt><b>Event.AT_TARGET</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>2</b>.</dd>
|
||||
|
||||
<dt><b>Event.BUBBLING_PHASE</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>3</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>Event</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>Event</b> object has the following properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>type</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>String</b>.</dd>
|
||||
|
||||
<dt><b>target</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>EventTarget</b> object.</dd>
|
||||
|
||||
<dt><b>currentTarget</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>EventTarget</b> object.</dd>
|
||||
|
||||
<dt><b>eventPhase</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Number</b>.</dd>
|
||||
|
||||
<dt><b>bubbles</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>cancelable</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>timeStamp</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Date</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>Event</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>stopPropagation()</b></dt>
|
||||
|
||||
<dd>This method has no return value.</dd>
|
||||
|
||||
<dt><b>preventDefault()</b></dt>
|
||||
|
||||
<dd>This method has no return value.</dd>
|
||||
|
||||
<dt><b>initEvent(eventTypeArg, canBubbleArg,
|
||||
cancelableArg)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>eventTypeArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>canBubbleArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>cancelableArg</b> parameter is of type <b>Boolean</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Prototype Object <b>EventException</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>EventException</b> class has the following
|
||||
constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>EventException.UNSPECIFIED_EVENT_TYPE_ERR</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>EventException</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>EventException</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>code</b></dt>
|
||||
|
||||
<dd>This property is of type <b>Number</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>DocumentEvent</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>DocumentEvent</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>createEvent(eventType)</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Event</b> object.<br />
|
||||
The <b>eventType</b> parameter is of type <b>String</b>.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>UIEvent</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>UIEvent</b> has the all the properties and methods of the
|
||||
<b>Event</b> object as well as the properties and methods defined
|
||||
below.</dt>
|
||||
|
||||
<dt>The <b>UIEvent</b> object has the following properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>view</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>AbstractView</b> object.</dd>
|
||||
|
||||
<dt><b>detail</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>UIEvent</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>initUIEvent(typeArg, canBubbleArg, cancelableArg, viewArg,
|
||||
detailArg)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>typeArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>canBubbleArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>cancelableArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>viewArg</b> parameter is a <b>AbstractView</b> object.<br />
|
||||
The <b>detailArg</b> parameter is a <b>long</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>MouseEvent</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>MouseEvent</b> has the all the properties and methods of the
|
||||
<b>UIEvent</b> object as well as the properties and methods defined
|
||||
below.</dt>
|
||||
|
||||
<dt>The <b>MouseEvent</b> object has the following properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>screenX</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object.</dd>
|
||||
|
||||
<dt><b>screenY</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object.</dd>
|
||||
|
||||
<dt><b>clientX</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object.</dd>
|
||||
|
||||
<dt><b>clientY</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object.</dd>
|
||||
|
||||
<dt><b>ctrlKey</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>shiftKey</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>altKey</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>metaKey</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>button</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Number</b>.</dd>
|
||||
|
||||
<dt><b>relatedTarget</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>EventTarget</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>MouseEvent</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>initMouseEvent(typeArg, canBubbleArg, cancelableArg,
|
||||
viewArg, detailArg, screenXArg, screenYArg, clientXArg, clientYArg,
|
||||
ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, buttonArg,
|
||||
relatedTargetArg)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>typeArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>canBubbleArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>cancelableArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>viewArg</b> parameter is a <b>AbstractView</b> object.<br />
|
||||
The <b>detailArg</b> parameter is a <b>long</b> object.<br />
|
||||
The <b>screenXArg</b> parameter is a <b>long</b> object.<br />
|
||||
The <b>screenYArg</b> parameter is a <b>long</b> object.<br />
|
||||
The <b>clientXArg</b> parameter is a <b>long</b> object.<br />
|
||||
The <b>clientYArg</b> parameter is a <b>long</b> object.<br />
|
||||
The <b>ctrlKeyArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>altKeyArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>shiftKeyArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>metaKeyArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>buttonArg</b> parameter is of type <b>Number</b>.<br />
|
||||
The <b>relatedTargetArg</b> parameter is a <b>EventTarget</b>
|
||||
object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Prototype Object <b>MutationEvent</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>MutationEvent</b> class has the following
|
||||
constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>MutationEvent.MODIFICATION</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>1</b>.</dd>
|
||||
|
||||
<dt><b>MutationEvent.ADDITION</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>2</b>.</dd>
|
||||
|
||||
<dt><b>MutationEvent.REMOVAL</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>3</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>MutationEvent</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>MutationEvent</b> has the all the properties and methods of
|
||||
the <b>Event</b> object as well as the properties and methods
|
||||
defined below.</dt>
|
||||
|
||||
<dt>The <b>MutationEvent</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>relatedNode</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>prevValue</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>String</b>.</dd>
|
||||
|
||||
<dt><b>newValue</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>String</b>.</dd>
|
||||
|
||||
<dt><b>attrName</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>String</b>.</dd>
|
||||
|
||||
<dt><b>attrChange</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Number</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>MutationEvent</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>initMutationEvent(typeArg, canBubbleArg, cancelableArg,
|
||||
relatedNodeArg, prevValueArg, newValueArg, attrNameArg,
|
||||
attrChangeArg)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>typeArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>canBubbleArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>cancelableArg</b> parameter is of type <b>Boolean</b>.<br />
|
||||
The <b>relatedNodeArg</b> parameter is a <b>Node</b> object.<br />
|
||||
The <b>prevValueArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>newValueArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>attrNameArg</b> parameter is of type <b>String</b>.<br />
|
||||
The <b>attrChangeArg</b> parameter is of type <b>Number</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- ecma-block -->
|
||||
<p>The following example will add an ECMAScript based EventListener
|
||||
to the Node 'exampleNode':</p>
|
||||
|
||||
<div class='code-block'>
|
||||
<pre>
|
||||
// Given the Node 'exampleNode'
|
||||
|
||||
// Define the EventListener function
|
||||
function clickHandler(evt)
|
||||
{
|
||||
// Function contents
|
||||
}
|
||||
|
||||
// The following line will add a non-capturing 'click' listener
|
||||
// to 'exampleNode'.
|
||||
exampleNode.addEventListener("click", clickHandler, false);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 ecma-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='java-binding.html'>previous</a> <a
|
||||
accesskey='n' href='acknowledgements.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:56 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Expanded Table of Contents</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='copyright-notice.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='Overview.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='Overview.html'>previous</a> <a accesskey='n'
|
||||
href='copyright-notice.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="TOC" name='TOC'></a>
|
||||
|
||||
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='events.html'>1.
|
||||
Document Object Model Events</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-overview'>1.1. Overview of the DOM Level 2
|
||||
Event Model</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-overview-terminology'>1.1.1.
|
||||
Terminology</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-flow'>1.2. Description of event flow</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-flow-basic'>1.2.1. Basic event
|
||||
flow</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-flow-capture'>1.2.2. Event
|
||||
capture</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-flow-bubbling'>1.2.3. Event
|
||||
bubbling</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-flow-cancelation'>1.2.4. Event
|
||||
cancelation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-registration'>1.3. Event listener
|
||||
registration</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-Registration-interfaces'>1.3.1. Event
|
||||
registration interfaces</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-registration-html40'>1.3.2. Interaction
|
||||
with HTML 4.0 event listeners</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-interface'>1.4. Event interface</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-document'>1.5. DocumentEvent
|
||||
interface</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings'>1.6. Event module
|
||||
definitions</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings-uievents'>1.6.1. User
|
||||
Interface event types</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings-mouseevents'>1.6.2. Mouse
|
||||
event types</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings-keyevents'>1.6.3. Key
|
||||
events</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings-mutationevents'>1.6.4.
|
||||
Mutation event types</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='events.html#Events-eventgroupings-htmlevents'>1.6.5. HTML
|
||||
event types</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='acknowledgements.html#Productions'>D.1. Production
|
||||
Systems</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Normative'>1. Normative
|
||||
references</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div1 TOC -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='Overview.html'>previous</a> <a
|
||||
accesskey='n' href='copyright-notice.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:27 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Glossary</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='references.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='acknowledgements.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='acknowledgements.html'>previous</a> <a accesskey='n'
|
||||
href='references.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="glossary" name='glossary'></a>
|
||||
|
||||
<h1 id='role-glossary' class='glossary'>Glossary</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Arnaud Le Hors, IBM</dd>
|
||||
|
||||
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
|
||||
|
||||
<dd>Robert S. Sutor, IBM (for DOM Level 1)</dd>
|
||||
</dl>
|
||||
|
||||
<p>Several of the following term definitions have been borrowed or
|
||||
modified from similar definitions in other W3C or standards
|
||||
documents. See the links within the definitions for more
|
||||
information.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="dt-ancestor" name='dt-ancestor'>ancestor</a></b></dt>
|
||||
|
||||
<dd>An <i>ancestor</i> node of any node A is any node above A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-child" name='dt-child'>child</a></b></dt>
|
||||
|
||||
<dd>A <i>child</i> is an immediate <i>descendant</i> node of a
|
||||
node.</dd>
|
||||
|
||||
<dt><b><a id="dt-descendant"
|
||||
name='dt-descendant'>descendant</a></b></dt>
|
||||
|
||||
<dd>A <i>descendant</i> node of any node A is any node below A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-DOM-Level-0" name='dt-DOM-Level-0'>DOM Level
|
||||
0</a></b></dt>
|
||||
|
||||
<dd>The term "<i>DOM Level 0</i>" refers to a mix (not formally
|
||||
specified) of HTML document functionalities offered by Netscape
|
||||
Navigator version 3.0 and Microsoft Internet Explorer version 3.0.
|
||||
In some cases, attributes or <i>methods</i> have been included for
|
||||
reasons of backward compatibility with "DOM Level 0".</dd>
|
||||
|
||||
<dt><b><a id="dt-sibling" name='dt-sibling'>sibling</a></b></dt>
|
||||
|
||||
<dd>Two nodes are <i>siblings</i> if and only if they have the same
|
||||
<i>parent</i> node.</dd>
|
||||
|
||||
<dt><b><a id="dt-tokenized"
|
||||
name='dt-tokenized'>tokenized</a></b></dt>
|
||||
|
||||
<dd>The description given to various information items (for
|
||||
example, attribute values of various types, but not including the
|
||||
StringType CDATA) after having been processed by the XML processor.
|
||||
The process includes stripping leading and trailing white space,
|
||||
and replacing multiple space characters by one. See the definition
|
||||
of tokenized type.</dd>
|
||||
|
||||
<dt><b><a id="dt-XML-name" name='dt-XML-name'>XML name</a></b></dt>
|
||||
|
||||
<dd>See <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name'><em>XML
|
||||
name</em></a> in the XML specification [<a class='noxref'
|
||||
href='references.html#XML'>XML</a>].</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div1 glossary -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='acknowledgements.html'>previous</a>
|
||||
<a accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,198 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:19 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>IDL Definitions</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='java-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='events.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='events.html'>previous</a> <a accesskey='n'
|
||||
href='java-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="idl" name='idl'></a>
|
||||
|
||||
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
|
||||
|
||||
<p>This appendix contains the complete OMG IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
|
||||
Object Model Events definitions.</p>
|
||||
|
||||
<p>The IDL files are also available as: <a
|
||||
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/idl.zip</a></p>
|
||||
|
||||
<h3 id='idl-events.idl'><a
|
||||
href='idl/events.idl'>events.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: events.idl
|
||||
|
||||
#ifndef _EVENTS_IDL_
|
||||
#define _EVENTS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
#include "views.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module events
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::DOMTimeStamp DOMTimeStamp;
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface EventListener;
|
||||
interface Event;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
exception EventException {
|
||||
unsigned short code;
|
||||
};
|
||||
// EventExceptionCode
|
||||
const unsigned short UNSPECIFIED_EVENT_TYPE_ERR = 0;
|
||||
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface EventTarget {
|
||||
void addEventListener(in DOMString type,
|
||||
in EventListener listener,
|
||||
in boolean useCapture);
|
||||
void removeEventListener(in DOMString type,
|
||||
in EventListener listener,
|
||||
in boolean useCapture);
|
||||
boolean dispatchEvent(in Event evt)
|
||||
raises(EventException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface EventListener {
|
||||
void handleEvent(in Event evt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Event {
|
||||
|
||||
// PhaseType
|
||||
const unsigned short CAPTURING_PHASE = 1;
|
||||
const unsigned short AT_TARGET = 2;
|
||||
const unsigned short BUBBLING_PHASE = 3;
|
||||
|
||||
readonly attribute DOMString type;
|
||||
readonly attribute EventTarget target;
|
||||
readonly attribute EventTarget currentTarget;
|
||||
readonly attribute unsigned short eventPhase;
|
||||
readonly attribute boolean bubbles;
|
||||
readonly attribute boolean cancelable;
|
||||
readonly attribute DOMTimeStamp timeStamp;
|
||||
void stopPropagation();
|
||||
void preventDefault();
|
||||
void initEvent(in DOMString eventTypeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentEvent {
|
||||
Event createEvent(in DOMString eventType)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface UIEvent : Event {
|
||||
readonly attribute views::AbstractView view;
|
||||
readonly attribute long detail;
|
||||
void initUIEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in views::AbstractView viewArg,
|
||||
in long detailArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MouseEvent : UIEvent {
|
||||
readonly attribute long screenX;
|
||||
readonly attribute long screenY;
|
||||
readonly attribute long clientX;
|
||||
readonly attribute long clientY;
|
||||
readonly attribute boolean ctrlKey;
|
||||
readonly attribute boolean shiftKey;
|
||||
readonly attribute boolean altKey;
|
||||
readonly attribute boolean metaKey;
|
||||
readonly attribute unsigned short button;
|
||||
readonly attribute EventTarget relatedTarget;
|
||||
void initMouseEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in views::AbstractView viewArg,
|
||||
in long detailArg,
|
||||
in long screenXArg,
|
||||
in long screenYArg,
|
||||
in long clientXArg,
|
||||
in long clientYArg,
|
||||
in boolean ctrlKeyArg,
|
||||
in boolean altKeyArg,
|
||||
in boolean shiftKeyArg,
|
||||
in boolean metaKeyArg,
|
||||
in unsigned short buttonArg,
|
||||
in EventTarget relatedTargetArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MutationEvent : Event {
|
||||
|
||||
// attrChangeType
|
||||
const unsigned short MODIFICATION = 1;
|
||||
const unsigned short ADDITION = 2;
|
||||
const unsigned short REMOVAL = 3;
|
||||
|
||||
readonly attribute Node relatedNode;
|
||||
readonly attribute DOMString prevValue;
|
||||
readonly attribute DOMString newValue;
|
||||
readonly attribute DOMString attrName;
|
||||
readonly attribute unsigned short attrChange;
|
||||
void initMutationEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in Node relatedNodeArg,
|
||||
in DOMString prevValueArg,
|
||||
in DOMString newValueArg,
|
||||
in DOMString attrNameArg,
|
||||
in unsigned short attrChangeArg);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _EVENTS_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 idl -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='events.html'>previous</a> <a
|
||||
accesskey='n' href='java-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.idl
|
||||
|
||||
#ifndef _EVENTS_IDL_
|
||||
#define _EVENTS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
#include "views.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module events
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::DOMTimeStamp DOMTimeStamp;
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface EventListener;
|
||||
interface Event;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
exception EventException {
|
||||
unsigned short code;
|
||||
};
|
||||
// EventExceptionCode
|
||||
const unsigned short UNSPECIFIED_EVENT_TYPE_ERR = 0;
|
||||
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface EventTarget {
|
||||
void addEventListener(in DOMString type,
|
||||
in EventListener listener,
|
||||
in boolean useCapture);
|
||||
void removeEventListener(in DOMString type,
|
||||
in EventListener listener,
|
||||
in boolean useCapture);
|
||||
boolean dispatchEvent(in Event evt)
|
||||
raises(EventException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface EventListener {
|
||||
void handleEvent(in Event evt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Event {
|
||||
|
||||
// PhaseType
|
||||
const unsigned short CAPTURING_PHASE = 1;
|
||||
const unsigned short AT_TARGET = 2;
|
||||
const unsigned short BUBBLING_PHASE = 3;
|
||||
|
||||
readonly attribute DOMString type;
|
||||
readonly attribute EventTarget target;
|
||||
readonly attribute EventTarget currentTarget;
|
||||
readonly attribute unsigned short eventPhase;
|
||||
readonly attribute boolean bubbles;
|
||||
readonly attribute boolean cancelable;
|
||||
readonly attribute DOMTimeStamp timeStamp;
|
||||
void stopPropagation();
|
||||
void preventDefault();
|
||||
void initEvent(in DOMString eventTypeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentEvent {
|
||||
Event createEvent(in DOMString eventType)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface UIEvent : Event {
|
||||
readonly attribute views::AbstractView view;
|
||||
readonly attribute long detail;
|
||||
void initUIEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in views::AbstractView viewArg,
|
||||
in long detailArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MouseEvent : UIEvent {
|
||||
readonly attribute long screenX;
|
||||
readonly attribute long screenY;
|
||||
readonly attribute long clientX;
|
||||
readonly attribute long clientY;
|
||||
readonly attribute boolean ctrlKey;
|
||||
readonly attribute boolean shiftKey;
|
||||
readonly attribute boolean altKey;
|
||||
readonly attribute boolean metaKey;
|
||||
readonly attribute unsigned short button;
|
||||
readonly attribute EventTarget relatedTarget;
|
||||
void initMouseEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in views::AbstractView viewArg,
|
||||
in long detailArg,
|
||||
in long screenXArg,
|
||||
in long screenYArg,
|
||||
in long clientXArg,
|
||||
in long clientYArg,
|
||||
in boolean ctrlKeyArg,
|
||||
in boolean altKeyArg,
|
||||
in boolean shiftKeyArg,
|
||||
in boolean metaKeyArg,
|
||||
in unsigned short buttonArg,
|
||||
in EventTarget relatedTargetArg);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MutationEvent : Event {
|
||||
|
||||
// attrChangeType
|
||||
const unsigned short MODIFICATION = 1;
|
||||
const unsigned short ADDITION = 2;
|
||||
const unsigned short REMOVAL = 3;
|
||||
|
||||
readonly attribute Node relatedNode;
|
||||
readonly attribute DOMString prevValue;
|
||||
readonly attribute DOMString newValue;
|
||||
readonly attribute DOMString attrName;
|
||||
readonly attribute unsigned short attrChange;
|
||||
void initMutationEvent(in DOMString typeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg,
|
||||
in Node relatedNodeArg,
|
||||
in DOMString prevValueArg,
|
||||
in DOMString newValueArg,
|
||||
in DOMString attrNameArg,
|
||||
in unsigned short attrChangeArg);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _EVENTS_IDL_
|
||||
|
||||
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 988 B |
@@ -0,0 +1,278 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:21 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Java Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='ecma-script-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='idl-definitions.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='idl-definitions.html'>previous</a> <a accesskey='n'
|
||||
href='ecma-script-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="java-binding" name='java-binding'></a>
|
||||
|
||||
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language
|
||||
Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete Java [<a class='noxref'
|
||||
href='references.html#Java'>Java</a>] bindings for the Level 2
|
||||
Document Object Model Events.</p>
|
||||
|
||||
<p>The Java files are also available as <a
|
||||
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/java-binding.zip</a></p>
|
||||
|
||||
<h3 id='org.w3c.dom.events.EventException'>
|
||||
org/w3c/dom/events/EventException.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
public class EventException extends RuntimeException {
|
||||
public EventException(short code, String message) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
public short code;
|
||||
// EventExceptionCode
|
||||
public static final short UNSPECIFIED_EVENT_TYPE_ERR = 0;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.EventTarget'>
|
||||
org/w3c/dom/events/EventTarget.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
public interface EventTarget {
|
||||
public void addEventListener(String type,
|
||||
EventListener listener,
|
||||
boolean useCapture);
|
||||
|
||||
public void removeEventListener(String type,
|
||||
EventListener listener,
|
||||
boolean useCapture);
|
||||
|
||||
public boolean dispatchEvent(Event evt)
|
||||
throws EventException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.EventListener'>
|
||||
org/w3c/dom/events/EventListener.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
public interface EventListener {
|
||||
public void handleEvent(Event evt);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.Event'>
|
||||
org/w3c/dom/events/Event.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
public interface Event {
|
||||
// PhaseType
|
||||
public static final short CAPTURING_PHASE = 1;
|
||||
public static final short AT_TARGET = 2;
|
||||
public static final short BUBBLING_PHASE = 3;
|
||||
|
||||
public String getType();
|
||||
|
||||
public EventTarget getTarget();
|
||||
|
||||
public EventTarget getCurrentTarget();
|
||||
|
||||
public short getEventPhase();
|
||||
|
||||
public boolean getBubbles();
|
||||
|
||||
public boolean getCancelable();
|
||||
|
||||
public long getTimeStamp();
|
||||
|
||||
public void stopPropagation();
|
||||
|
||||
public void preventDefault();
|
||||
|
||||
public void initEvent(String eventTypeArg,
|
||||
boolean canBubbleArg,
|
||||
boolean cancelableArg);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.DocumentEvent'>
|
||||
org/w3c/dom/events/DocumentEvent.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface DocumentEvent {
|
||||
public Event createEvent(String eventType)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.UIEvent'>
|
||||
org/w3c/dom/events/UIEvent.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
import org.w3c.dom.views.AbstractView;
|
||||
|
||||
public interface UIEvent extends Event {
|
||||
public AbstractView getView();
|
||||
|
||||
public int getDetail();
|
||||
|
||||
public void initUIEvent(String typeArg,
|
||||
boolean canBubbleArg,
|
||||
boolean cancelableArg,
|
||||
AbstractView viewArg,
|
||||
int detailArg);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.MouseEvent'>
|
||||
org/w3c/dom/events/MouseEvent.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
import org.w3c.dom.views.AbstractView;
|
||||
|
||||
public interface MouseEvent extends UIEvent {
|
||||
public int getScreenX();
|
||||
|
||||
public int getScreenY();
|
||||
|
||||
public int getClientX();
|
||||
|
||||
public int getClientY();
|
||||
|
||||
public boolean getCtrlKey();
|
||||
|
||||
public boolean getShiftKey();
|
||||
|
||||
public boolean getAltKey();
|
||||
|
||||
public boolean getMetaKey();
|
||||
|
||||
public short getButton();
|
||||
|
||||
public EventTarget getRelatedTarget();
|
||||
|
||||
public void initMouseEvent(String typeArg,
|
||||
boolean canBubbleArg,
|
||||
boolean cancelableArg,
|
||||
AbstractView viewArg,
|
||||
int detailArg,
|
||||
int screenXArg,
|
||||
int screenYArg,
|
||||
int clientXArg,
|
||||
int clientYArg,
|
||||
boolean ctrlKeyArg,
|
||||
boolean altKeyArg,
|
||||
boolean shiftKeyArg,
|
||||
boolean metaKeyArg,
|
||||
short buttonArg,
|
||||
EventTarget relatedTargetArg);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.events.MutationEvent'>
|
||||
org/w3c/dom/events/MutationEvent.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.events;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
public interface MutationEvent extends Event {
|
||||
// attrChangeType
|
||||
public static final short MODIFICATION = 1;
|
||||
public static final short ADDITION = 2;
|
||||
public static final short REMOVAL = 3;
|
||||
|
||||
public Node getRelatedNode();
|
||||
|
||||
public String getPrevValue();
|
||||
|
||||
public String getNewValue();
|
||||
|
||||
public String getAttrName();
|
||||
|
||||
public short getAttrChange();
|
||||
|
||||
public void initMutationEvent(String typeArg,
|
||||
boolean canBubbleArg,
|
||||
boolean cancelableArg,
|
||||
Node relatedNodeArg,
|
||||
String prevValueArg,
|
||||
String newValueArg,
|
||||
String attrNameArg,
|
||||
short attrChangeArg);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 java-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='idl-definitions.html'>previous</a> <a
|
||||
accesskey='n' href='ecma-script-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:27 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>References</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='def-index.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='glossary.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='glossary.html'>previous</a> <a accesskey='n'
|
||||
href='def-index.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="References" name='References'></a>
|
||||
|
||||
<h1 id='role-references' class='references'>References</h1>
|
||||
|
||||
<p>For the latest version of any W3C specification please consult
|
||||
the list of <a href='http://www.w3.org/TR'>W3C Technical
|
||||
Reports</a> available at http://www.w3.org/TR.</p>
|
||||
|
||||
<div class='div2'><a id="References-Normative"
|
||||
name='References-Normative'></a>
|
||||
|
||||
<h2 id='References-Normative-h2' class='adiv2'>F.1: Normative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
|
||||
Object Model Level 2 Core Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
|
||||
|
||||
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>ECMA (European Computer Manufacturers Association) <a
|
||||
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
|
||||
Language Specification</a>. Available at
|
||||
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
|
||||
|
||||
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/docs/books/jls'>The Java Language
|
||||
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
|
||||
September 1996. Available at
|
||||
http://java.sun.com/docs/books/jls</dd>
|
||||
|
||||
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
IDL (Interface Definition Language) defined in The Common Object
|
||||
Request Broker: Architecture and Specification, version 2.3.1,
|
||||
October 1999. Available from http://www.omg.org/</dd>
|
||||
|
||||
<dt><b><a id="DOMViews" name='DOMViews'>DOM Level 2
|
||||
Views</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>Document
|
||||
Object Model Level 2 Views Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113</dd>
|
||||
|
||||
<dt><b><a id="XML" name='XML'>XML</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1998/REC-xml-19980210'>Extensible Markup
|
||||
Language (XML) 1.0</a>, February 1998. Available at
|
||||
http://www.w3.org/TR/1998/REC-xml-19980210</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Normative --></div>
|
||||
|
||||
<!-- div1 References -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='glossary.html'>previous</a> <a
|
||||
accesskey='n' href='def-index.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
H4 {
|
||||
text-align: left;
|
||||
font-family: sans-serif;
|
||||
font-weight: normal;
|
||||
color: #0050B2;
|
||||
}
|
||||
.idl-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
.java-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.ecma-block {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.interface-name {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.attribute-name {
|
||||
color: black;
|
||||
background-color: #FFFFD2;
|
||||
}
|
||||
|
||||
.constant-name {
|
||||
color: black;
|
||||
background-color: #DDFFD2;
|
||||
}
|
||||
|
||||
.method-name {
|
||||
color: black;
|
||||
background-color: #D9E6F8;
|
||||
}
|
||||
|
||||
.parameter-name {
|
||||
color: black;
|
||||
background-color: #FEE6F8;
|
||||
}
|
||||
|
||||
UL.toc, OL.toc {list-style: none}
|
||||
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
|
||||
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
|
||||
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
|
||||
LI.tocline1 {font-weight: bold}
|
||||
LI.tocline2 {font-weight: normal}
|
||||
LI.tocline4 {font-style: italic}
|
||||
|
||||
code { font-family: monospace }
|
||||
|
||||
div.paramtable { margin-left: 1em }
|
||||
div.returntable { margin-left: 1em }
|
||||
div.exceptiontable { margin-left: 1em }
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>W3C IPR SOFTWARE NOTICE</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<h1>
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
</h1>
|
||||
<h3>
|
||||
Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</h3>
|
||||
<p>
|
||||
The DOM bindings are published under the W3C Software Copyright Notice
|
||||
and License. The software license requires "Notice of any changes or
|
||||
modifications to the W3C files, including the date changes were made."
|
||||
Consequently, modified versions of the DOM bindings must document that
|
||||
they do not conform to the W3C standard; in the case of the IDL binding,
|
||||
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
|
||||
binding, the package names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<p>
|
||||
<b>Note:</b> The original version of the W3C Software Copyright Notice
|
||||
and License could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
|
||||
</p>
|
||||
<h3>
|
||||
Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/
|
||||
</h3>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you include the following on ALL
|
||||
copies of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
</li>
|
||||
<li>
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright ©
|
||||
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
</li>
|
||||
<li>
|
||||
Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived.)
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright
|
||||
holders.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:49 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model (DOM) Level 2 Style
|
||||
Specification</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='expanded-toc.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='n'
|
||||
href='expanded-toc.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='head'>
|
||||
<p><a href='http://www.w3.org/'><img height='48' width='72'
|
||||
alt='W3C' src='./images/w3c_home.gif' /></a></p>
|
||||
|
||||
<h1 id='title'>Document Object Model (DOM) Level 2 Style
|
||||
Specification</h1>
|
||||
|
||||
<h2 id='version'>Version 1.0</h2>
|
||||
|
||||
<!-- REC-DOM-Level-2-Style-20001113
|
||||
-->
|
||||
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
|
||||
2000</i></h2>
|
||||
|
||||
<dl>
|
||||
<dt>This version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113</a><br />
|
||||
(<a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.ps'>
|
||||
PostScript file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.pdf'>
|
||||
PDF file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.txt'>
|
||||
plain text</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/DOM2-Style.zip'>
|
||||
ZIP file</a>)</dd>
|
||||
|
||||
<dt>Latest version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Style'>http://www.w3.org/TR/DOM-Level-2-Style</a></dd>
|
||||
|
||||
<dt>Previous version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Style-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Style-20000927</a></dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Editors:</dt>
|
||||
|
||||
<dd>Chris Wilson, <i>Microsoft Corp.</i></dd>
|
||||
|
||||
<dd>Philippe Le Hégaret, <i>W3C, team contact (from November
|
||||
1999)</i></dd>
|
||||
|
||||
<dd>Vidur Apparao, <i>Netscape Communications Corp.</i></dd>
|
||||
</dl>
|
||||
|
||||
<p class='copyright'>Copyright © 2000 <a
|
||||
href='http://www.w3.org/'><abbr
|
||||
title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>
|
||||
(<a href='http://www.lcs.mit.edu/'><abbr
|
||||
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
|
||||
href='http://www.inria.fr/'><abbr lang='fr'
|
||||
title='Institut National de Recherche en Informatique et Automatique'>
|
||||
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
|
||||
Rights Reserved. W3C <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
|
||||
liability</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
|
||||
trademark</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
document use</a> and <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
software licensing</a> rules apply.</p>
|
||||
</div>
|
||||
|
||||
<hr title='separator from header' />
|
||||
<h2 id='abstract'>Abstract</h2>
|
||||
|
||||
<div class='abstract'>
|
||||
<p>This specification defines the Document Object Model Level 2
|
||||
Style Sheets and Cascading Style Sheets (CSS), a platform- and
|
||||
language-neutral interface that allows programs and scripts to
|
||||
dynamically access and update the content and of style sheets
|
||||
documents. The Document Object Model Level 2 Style builds on the
|
||||
Document Object Model Level 2 Core [<a class='noxref'
|
||||
href='references.html#DOMCore'>DOM Level 2 Core</a>] and on the
|
||||
Document Object Model Level 2 Views [<a class='noxref'
|
||||
href='references.html#DOMViews'>DOM Level 2 Views</a>].</p>
|
||||
</div>
|
||||
|
||||
<h2 id='status'>Status of this document</h2>
|
||||
|
||||
<div class='status'>
|
||||
<p><em>This section describes the status of this document at the
|
||||
time of its publication. Other documents may supersede this
|
||||
document. The latest status of this document series is maintained
|
||||
at the W3C.</em></p>
|
||||
|
||||
<p>This document has been reviewed by W3C Members and other
|
||||
interested parties and has been endorsed by the Director as a <a
|
||||
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
|
||||
W3C Recommendation</a>. It is a stable document and may be used as
|
||||
reference material or cited as a normative reference from another
|
||||
document. W3C's role in making the Recommendation is to draw
|
||||
attention to the specification and to promote its widespread
|
||||
deployment. This enhances the functionality and interoperability of
|
||||
the Web.</p>
|
||||
|
||||
<p>This document has been produced as part of the <a
|
||||
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
|
||||
The authors of this document are the DOM Working Group members.
|
||||
Different modules of the Document Object Model have different
|
||||
editors.</p>
|
||||
|
||||
<p>Please send general comments about this document to the public
|
||||
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
|
||||
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
|
||||
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
|
||||
|
||||
<p>The English version of this specification is the only normative
|
||||
version. Information about <a
|
||||
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
|
||||
of this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
|
||||
|
||||
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
|
||||
of known errors</a> in this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
|
||||
|
||||
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
|
||||
Recommendations and other technical documents</a> can be found at
|
||||
http://www.w3.org/TR.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
|
||||
of contents</a></h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='stylesheets.html'>Chapter 1: Document Object Model Style
|
||||
Sheets</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='css.html'>Chapter 2:
|
||||
Document Object Model CSS</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='n' href='expanded-toc.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
*/
|
||||
/* Style for a "Recommendation" */
|
||||
|
||||
/*
|
||||
This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
|
||||
Acknowledgments:
|
||||
|
||||
- 'background-color' doesn't work on Mac IE 3, but 'background'
|
||||
does (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
|
||||
'small' is better: works in Mac NS, but is always 12pt in Mac IE
|
||||
3 (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
$Id$
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 2em 1em 2em 70px;
|
||||
font-family: sans-serif;
|
||||
color: black;
|
||||
background: white;
|
||||
background-position: top left;
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
th, td { /* ns 4 */
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { text-align: left }
|
||||
h1, h2, h3 { color: #005A9C }
|
||||
h1 { font: 170% sans-serif }
|
||||
h2 { font: 140% sans-serif }
|
||||
h3 { font: 120% sans-serif }
|
||||
h4 { font: bold 100% sans-serif }
|
||||
h5 { font: italic 100% sans-serif }
|
||||
h6 { font: small-caps 100% sans-serif }
|
||||
|
||||
.hide { display: none }
|
||||
|
||||
div.head { margin-bottom: 1em }
|
||||
div.head h1 { margin-top: 2em; clear: both }
|
||||
div.head table { margin-left: 2em; margin-top: 2em }
|
||||
div.head img { color: white; border: none } /* remove border from top image */
|
||||
|
||||
p.copyright { font-size: small }
|
||||
p.copyright small { font-size: small }
|
||||
|
||||
@media screen { /* hide from IE3 */
|
||||
a:hover { background: #ffa }
|
||||
}
|
||||
|
||||
pre { margin-left: 2em }
|
||||
/*
|
||||
p {
|
||||
margin-top: 0.6em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
*/
|
||||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
|
||||
dt { font-weight: bold }
|
||||
|
||||
pre, code { font-family: monospace } /* navigator 4 requires this */
|
||||
|
||||
ul.toc {
|
||||
list-style: disc; /* Mac NS has problem with 'none' */
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media aural {
|
||||
h1, h2, h3 { stress: 20; richness: 90 }
|
||||
.hide { speak: none }
|
||||
p.copyright { volume: x-soft; speech-rate: x-fast }
|
||||
dt { pause-before: 20% }
|
||||
pre { speak-punctuation: code }
|
||||
}
|
||||
|
||||
/* Things (icons) that should only show up in projection mode */
|
||||
.projection { display: none }
|
||||
@media projection { .projection { display: inline } }
|
||||
|
||||
|
||||
body {
|
||||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:33 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Acknowledgements</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='references.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ecma-script-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ecma-script-binding.html'>previous</a> <a
|
||||
accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="contributors" name='contributors'></a>
|
||||
|
||||
<h1 id='contributors-h1' class='adiv1'>Appendix D:
|
||||
Acknowledgements</h1>
|
||||
|
||||
<p>Many people contributed to this specification, including members
|
||||
of the DOM Working Group and the DOM Interest Group. We especially
|
||||
thank the following:</p>
|
||||
|
||||
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
|
||||
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
|
||||
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
|
||||
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
|
||||
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
|
||||
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
|
||||
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
|
||||
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
|
||||
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
|
||||
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
|
||||
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
|
||||
Davis (IBM), Mark Scardina (Oracle), Martin Dürst (W3C), Mick
|
||||
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
|
||||
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
|
||||
(Netscape), Philippe Le Hégaret (W3C, <em>W3C team
|
||||
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
|
||||
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
|
||||
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
|
||||
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
|
||||
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
|
||||
|
||||
<p>Thanks to all those who have helped to improve this
|
||||
specification by sending suggestions and corrections.</p>
|
||||
|
||||
<div class='div2'><a id="Productions" name='Productions'></a>
|
||||
|
||||
<h2 id='Productions-h2' class='adiv2'>D.1: Production Systems</h2>
|
||||
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java
|
||||
and ECMA Script bindings were all produced automatically.</p>
|
||||
|
||||
<p>Thanks to Joe English, author of <a
|
||||
href='http://www.flightlab.com/cost'>cost</a>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
|
||||
who wrote the scripts which run on top of cost. Arnaud Le Hors and
|
||||
Philippe Le Hégaret maintained the scripts.</p>
|
||||
|
||||
<p>For DOM Level 2, we used <a
|
||||
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le
|
||||
Hégaret and Arnaud Le Hors wrote the <a
|
||||
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
|
||||
Java programs</a> which are the DOM application.</p>
|
||||
|
||||
<p>Thanks also to Jan Kärrman, author of <a
|
||||
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
|
||||
use in creating the PostScript version of the specification.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Productions --></div>
|
||||
|
||||
<!-- div1 contributors -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
|
||||
<a accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:50 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Copyright Notice</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='stylesheets.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='expanded-toc.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='expanded-toc.html'>previous</a> <a accesskey='n'
|
||||
href='stylesheets.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Copyright-Notice"
|
||||
name='Copyright-Notice'></a>
|
||||
|
||||
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
|
||||
|
||||
<p><b>Copyright © 2000 <a href='http://www.w3.org/'>World Wide
|
||||
Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p>This document is published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a>. The bindings within this document
|
||||
are published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a>. The software license requires
|
||||
"Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made." Consequently, modified versions of the
|
||||
DOM bindings must document that they do not conform to the W3C
|
||||
standard; in the case of the IDL definitions, the pragma prefix can
|
||||
no longer be 'w3c.org'; in the case of the Java Language binding,
|
||||
the package names can no longer be in the 'org.w3c' package.</p>
|
||||
|
||||
<div class='div2'><a id="Copyright-notice-document"
|
||||
name='Copyright-notice-document'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Document Notice
|
||||
and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
|
||||
Notice</a>. By using and/or copying this document, or the W3C
|
||||
document from which this statement is linked, you (the licensee)
|
||||
agree that you have read, understood, and will comply with the
|
||||
following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on <em>ALL</em>
|
||||
copies of the document, or portions thereof, that you use:</p>
|
||||
|
||||
<ol>
|
||||
<li>A link or URL to the original W3C document.</li>
|
||||
|
||||
<li>The pre-existing copyright notice of the original author, or if
|
||||
it doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)</li>
|
||||
|
||||
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
|
||||
</ol>
|
||||
|
||||
<p>When space permits, inclusion of the full text of this
|
||||
<b>NOTICE</b> should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.</p>
|
||||
|
||||
<p>No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the <a
|
||||
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
|
||||
FAQ</a>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.</p>
|
||||
|
||||
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-document -->
|
||||
<div class='div2'><a id="Copyright-notice-software"
|
||||
name='Copyright-notice-software'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Software
|
||||
Copyright Notice and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and modify this software and its
|
||||
documentation, with or without modification, for any purpose and
|
||||
without fee or royalty is hereby granted, provided that you include
|
||||
the following on ALL copies of the software and documentation or
|
||||
portions thereof, including modifications, that you make:</p>
|
||||
|
||||
<ol>
|
||||
<li>The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.</li>
|
||||
|
||||
<li>Any pre-existing intellectual property disclaimers. If none
|
||||
exist, then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."</li>
|
||||
|
||||
<li>Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)</li>
|
||||
</ol>
|
||||
|
||||
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-software --></div>
|
||||
|
||||
<!-- div1 Copyright-Notice -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='expanded-toc.html'>previous</a> <a
|
||||
accesskey='n' href='stylesheets.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,967 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:34 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='previous' href='references.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='references.html'>previous</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Index" name='Index'></a>
|
||||
|
||||
<h1 id='role-index' class='index'>Index</h1>
|
||||
|
||||
<table
|
||||
summary='the table contains all keywords used in this document'>
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-MediaList-appendMedium'>appendMedium</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-azimuth'>azimuth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-background'>background</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-backgroundAttachment'>backgroundAttachment</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-backgroundColor'>backgroundColor</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-backgroundImage'>backgroundImage</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-backgroundPosition'>backgroundPosition</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-backgroundRepeat'>backgroundRepeat</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-RGBColor-blue'>blue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-border'>border</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderBottom'>borderBottom</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderBottomColor'>borderBottomColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderBottomStyle'>borderBottomStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderBottomWidth'>borderBottomWidth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderCollapse'>borderCollapse</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderColor'>borderColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderLeft'>borderLeft</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderLeftColor'>borderLeftColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderLeftStyle'>borderLeftStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderLeftWidth'>borderLeftWidth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderRight'>borderRight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderRightColor'>borderRightColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderRightStyle'>borderRightStyle</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderRightWidth'>borderRightWidth</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderSpacing'>borderSpacing</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderStyle'>borderStyle</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderTop'>borderTop</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderTopColor'>borderTopColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderTopStyle'>borderTopStyle</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderTopWidth'>borderTopWidth</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-borderWidth'>borderWidth</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Rect-bottom'>bottom</a> <a class='index-inst'
|
||||
href='css.html#CSS-Rect-bottom'>1</a>, <a class='index-inst'
|
||||
href='css.html#CSS-CSS2Properties-bottom'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-captionSide'>captionSide</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>CHARSET_RULE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-clear'>clear</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-clip'>clip</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-color'>color</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-content'>content</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Counter'>Counter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-counterIncrement'>counterIncrement</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-counterReset'>counterReset</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-DOMImplementationCSS-createCSSStyleSheet'>createCSSStyleSheet</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-overview'>CSS2</a> <a class='index-inst'
|
||||
href='css.html#CSS-overview'>1</a>, <a class='index-inst'
|
||||
href='css.html#CSS-CSSview-getComputedStyle'>2</a>, <a
|
||||
class='index-inst' href='references.html#CSS2'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties'>CSS2Properties</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_ATTR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_CM</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_COUNTER</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue-types'>CSS_CUSTOM</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_DEG</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_DIMENSION</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_EMS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_EXS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_GRAD</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_HZ</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_IDENT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_IN</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue-types'>CSS_INHERIT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_KHZ</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_MM</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_MS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_NUMBER</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PC</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PERCENTAGE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue-types'>CSS_PRIMITIVE_VALUE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PT</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_PX</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RAD</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RECT</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_RGBCOLOR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_S</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_STRING</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_UNKNOWN</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-types'>CSS_URI</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue-types'>CSS_VALUE_LIST</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSCharsetRule'>CSSCharsetRule</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-cssFloat'>cssFloat</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSFontFaceRule'>CSSFontFaceRule</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSImportRule'>CSSImportRule</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSMediaRule'>CSSMediaRule</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPageRule'>CSSPageRule</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue'>CSSPrimitiveValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule'>CSSRule</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRuleList'>CSSRuleList</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleSheet-cssRules'>cssRules</a> <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleSheet-cssRules'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSMediaRule-cssRules'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration'>CSSStyleDeclaration</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleRule'>CSSStyleRule</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleSheet'>CSSStyleSheet</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-cssText'>cssText</a> <a
|
||||
class='index-inst' href='css.html#CSS-CSSRule-cssText'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleDeclaration-cssText'>2</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSValue-cssText'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSUnknownRule'>CSSUnknownRule</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue'>CSSValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValueList'>CSSValueList</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSValue-cssValueType'>cssValueType</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-cue'>cue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-cueAfter'>cueAfter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-cueBefore'>cueBefore</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-cursor'>cursor</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-MediaList-deleteMedium'>deleteMedium</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleSheet-deleteRule'>deleteRule</a> <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleSheet-deleteRule'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSMediaRule-deleteRule'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-direction'>direction</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-disabled'>disabled</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-display'>display</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-DocumentCSS'>DocumentCSS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-overview'>DOM Level 2 Core</a>
|
||||
<a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-overview'>1</a>, <a
|
||||
class='index-inst' href='css.html#CSS-fundamental'>2</a>, <a
|
||||
class='index-inst' href='css.html#CSS-extended'>3</a>, <a
|
||||
class='index-inst' href='references.html#DOMCore'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-Association'>DOM Level 2
|
||||
HTML</a> <a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-Association'>1</a>, <a
|
||||
class='index-inst' href='references.html#DOMHTML-inf'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-fundamental'>DOM Level 2 Views</a> <a
|
||||
class='index-inst' href='css.html#CSS-fundamental'>1</a>, <a
|
||||
class='index-inst' href='references.html#DOMViews'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-DOMImplementationCSS'>DOMImplementationCSS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-ElementCSSInlineStyle'>ElementCSSInlineStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-elevation'>elevation</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-emptyCells'>emptyCells</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSCharsetRule-encoding'>encoding</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-font'>font</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>FONT_FACE_RULE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontFamily'>fontFamily</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontSize'>fontSize</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontSizeAdjust'>fontSizeAdjust</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontStretch'>fontStretch</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontStyle'>fontStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontVariant'>fontVariant</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-fontWeight'>fontWeight</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSview-getComputedStyle'>getComputedStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-getCounterValue'>getCounterValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-getFloatValue'>getFloatValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-DocumentCSS-getOverrideStyle'>getOverrideStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration-getPropertyCSSValue'>getPropertyCSSValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration-getPropertyPriority'>getPropertyPriority</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration-getPropertyValue'>getPropertyValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-getRectValue'>getRectValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-getRGBColorValue'>getRGBColorValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-getStringValue'>getStringValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-RGBColor-green'>green</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-height'>height</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-href'>href</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-href'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSImportRule-href'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-Association'>HTML4.0</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-Association'>1</a>, <a
|
||||
class='index-inst' href='references.html#HTML40'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Counter-identifier'>identifier</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>IMPORT_RULE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleSheet-insertRule'>insertRule</a> <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleSheet-insertRule'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSMediaRule-insertRule'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList-item'>item</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList-item'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-MediaList-item'>2</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSRuleList-item'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleDeclaration-item'>4</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSValueList-item'>5</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#Java'>Java</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Rect-left'>left</a> <a class='index-inst'
|
||||
href='css.html#CSS-Rect-left'>1</a>, <a class='index-inst'
|
||||
href='css.html#CSS-CSS2Properties-left'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList-length'>length</a>
|
||||
<a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList-length'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-MediaList-length'>2</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSRuleList-length'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleDeclaration-length'>4</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSValueList-length'>5</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-letterSpacing'>letterSpacing</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-lineHeight'>lineHeight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-LinkStyle'>LinkStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Counter-listStyle'>listStyle</a> <a
|
||||
class='index-inst' href='css.html#CSS-Counter-listStyle'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSS2Properties-listStyle'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-listStyleImage'>listStyleImage</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-listStylePosition'>listStylePosition</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-listStyleType'>listStyleType</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-margin'>margin</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-marginBottom'>marginBottom</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-marginLeft'>marginLeft</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-marginRight'>marginRight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-marginTop'>marginTop</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-markerOffset'>markerOffset</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-marks'>marks</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-maxHeight'>maxHeight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-maxWidth'>maxWidth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-media'>media</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-media'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSMediaRule-mediaTypes'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSImportRule-media'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>MEDIA_RULE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-MediaList'>MediaList</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-MediaList-mediaText'>mediaText</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-minHeight'>minHeight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-minWidth'>minWidth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-orphans'>orphans</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-outline'>outline</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-outlineColor'>outlineColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-outlineStyle'>outlineStyle</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-outlineWidth'>outlineWidth</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-overflow'>overflow</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-ownerNode'>ownerNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleSheet-ownerRule'>ownerRule</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-padding'>padding</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-paddingBottom'>paddingBottom</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-paddingLeft'>paddingLeft</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-paddingRight'>paddingRight</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-paddingTop'>paddingTop</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-page'>page</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>PAGE_RULE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pageBreakAfter'>pageBreakAfter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pageBreakBefore'>pageBreakBefore</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pageBreakInside'>pageBreakInside</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-parentRule'>parentRule</a> <a
|
||||
class='index-inst' href='css.html#CSS-CSSRule-parentRule'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleDeclaration-parentRule'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet'>parentStyleSheet</a>
|
||||
<a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet'>1</a>,
|
||||
<a class='index-inst' href='css.html#CSS-CSSRule-sheet'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pause'>pause</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pauseAfter'>pauseAfter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pauseBefore'>pauseBefore</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pitch'>pitch</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-pitchRange'>pitchRange</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-playDuring'>playDuring</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-position'>position</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-primitiveType'>primitiveType</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-quotes'>quotes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Rect'>Rect</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-RGBColor-red'>red</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration-removeProperty'>removeProperty</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-RGBColor'>RGBColor</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-richness'>richness</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Rect-right'>right</a> <a class='index-inst'
|
||||
href='css.html#CSS-Rect-right'>1</a>, <a class='index-inst'
|
||||
href='css.html#CSS-CSS2Properties-right'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleRule-selectorText'>selectorText</a> <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSStyleRule-selectorText'>1</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSPageRule-name'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Counter-separator'>separator</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-setFloatValue'>setFloatValue</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleDeclaration-setProperty'>setProperty</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSPrimitiveValue-setStringValue'>setStringValue</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-LinkStyle-sheet'>sheet</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-size'>size</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-speak'>speak</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-speakHeader'>speakHeader</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-speakNumeral'>speakNumeral</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-speakPunctuation'>speakPunctuation</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-speechRate'>speechRate</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-stress'>stress</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSStyleRule-style'>style</a> <a
|
||||
class='index-inst' href='css.html#CSS-CSSStyleRule-style'>1</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSFontFaceRule-style'>2</a>,
|
||||
<a class='index-inst' href='css.html#CSS-CSSPageRule-style'>3</a>,
|
||||
<a class='index-inst'
|
||||
href='css.html#CSS-ElementCSSInlineStyle-style'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>STYLE_RULE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'>StyleSheet</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='css.html#CSS-CSSImportRule-styleSheet'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList'>StyleSheetList</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>styleSheets</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-tableLayout'>tableLayout</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-textAlign'>textAlign</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-textDecoration'>textDecoration</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-textIndent'>textIndent</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-textShadow'>textShadow</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-textTransform'>textTransform</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-title'>title</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-Rect-top'>top</a> <a class='index-inst'
|
||||
href='css.html#CSS-Rect-top'>1</a>, <a class='index-inst'
|
||||
href='css.html#CSS-CSS2Properties-top'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-type'>type</a> <a
|
||||
class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-StyleSheet-type'>1</a>, <a
|
||||
class='index-inst' href='css.html#CSS-CSSRule-type'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-unicodeBidi'>unicodeBidi</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSSRule-ruleType'>UNKNOWN_RULE</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-verticalAlign'>verticalAlign</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-ViewCSS'>ViewCSS</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-visibility'>visibility</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-voiceFamily'>voiceFamily</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-volume'>volume</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-whiteSpace'>whiteSpace</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-widows'>widows</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-width'>width</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-wordSpacing'>wordSpacing</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>XML-StyleSheet</a>
|
||||
<a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-DocumentStyle-styleSheets'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='stylesheets.html#StyleSheets-Association'>2</a>, <a
|
||||
class='index-inst' href='references.html#XML-StyleSheet'>3</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='css.html#CSS-CSS2Properties-zIndex'>zIndex</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- div1 Index -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='references.html'>previous</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:49 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Expanded Table of Contents</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='copyright-notice.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='Overview.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='Overview.html'>previous</a> <a accesskey='n'
|
||||
href='copyright-notice.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="TOC" name='TOC'></a>
|
||||
|
||||
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='stylesheets.html'>Chapter 1: Document Object Model Style
|
||||
Sheets</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='stylesheets.html#StyleSheets-overview'>1.1.
|
||||
Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='stylesheets.html#StyleSheets-fundamental'>1.2. Style Sheet
|
||||
Interfaces</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='stylesheets.html#StyleSheets-extensions'>1.3. Document
|
||||
Extensions</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='stylesheets.html#StyleSheets-Association'>1.4. Association
|
||||
between a style sheet and a document.</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='css.html'>Chapter 2:
|
||||
Document Object Model CSS</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='css.html#CSS-overview'>2.1. Overview of the DOM Level 2 CSS
|
||||
Interfaces</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='css.html#CSS-fundamental'>2.2. CSS Fundamental Interfaces</a>
|
||||
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='css.html#CSS-OverrideAndComputed'>2.2.1. Override and
|
||||
computed style sheet</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='css.html#CSS-StyleSheetCreation'>2.2.2. Style sheet
|
||||
creation</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='css.html#CSS-htmlelementcss'>2.2.3. Element with CSS inline
|
||||
style</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='css.html#CSS-extended'>2.3. CSS2 Extended Interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='idl-definitions.html#StyleSheets-IDL'>A.1. Document Object
|
||||
Model Style Sheets</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='idl-definitions.html#CSS-IDL'>A.2. Document Object Model
|
||||
CSS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='java-binding.html#StyleSheets-Java'>B.1. Document Object
|
||||
Model Style Sheets</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='java-binding.html#CSS-Java'>B.2. Document Object Model
|
||||
CSS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ecma-script-binding.html#StyleSheets-ECMA'>C.1. Document
|
||||
Object Model StyleSheets</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ecma-script-binding.html#CSS-ECMA'>C.2. Document Object Model
|
||||
CSS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='acknowledgements.html#Productions'>D.1. Production
|
||||
Systems</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Normative'>1. Normative
|
||||
references</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Informative'>2. Informative
|
||||
references</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div1 TOC -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='Overview.html'>previous</a> <a
|
||||
accesskey='n' href='copyright-notice.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,764 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:04 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>IDL Definitions</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='java-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='css.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='css.html'>previous</a> <a accesskey='n'
|
||||
href='java-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="idl" name='idl'></a>
|
||||
|
||||
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
|
||||
|
||||
<p>This appendix contains the complete OMG IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
|
||||
Object Model Style definitions. The definitions are divided into <a
|
||||
href='#StyleSheets-IDL'>Stylesheets</a> and <a
|
||||
href='#CSS-IDL'>CSS</a>.</p>
|
||||
|
||||
<p>The IDL files are also available as: <a
|
||||
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/idl.zip</a></p>
|
||||
|
||||
<div class='div2'><a id="StyleSheets-IDL"
|
||||
name='StyleSheets-IDL'></a>
|
||||
|
||||
<h2 id='StyleSheets-IDL-h2' class='adiv2'>A.1: Document Object
|
||||
Model Style Sheets</h2>
|
||||
|
||||
<h3 id='idl-stylesheets.idl'><a
|
||||
href='idl/stylesheets.idl'>stylesheets.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: stylesheets.idl
|
||||
|
||||
#ifndef _STYLESHEETS_IDL_
|
||||
#define _STYLESHEETS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module stylesheets
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface MediaList;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheet {
|
||||
readonly attribute DOMString type;
|
||||
attribute boolean disabled;
|
||||
readonly attribute Node ownerNode;
|
||||
readonly attribute StyleSheet parentStyleSheet;
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute DOMString title;
|
||||
readonly attribute MediaList media;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheetList {
|
||||
readonly attribute unsigned long length;
|
||||
StyleSheet item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MediaList {
|
||||
attribute DOMString mediaText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
DOMString item(in unsigned long index);
|
||||
void deleteMedium(in DOMString oldMedium)
|
||||
raises(dom::DOMException);
|
||||
void appendMedium(in DOMString newMedium)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface LinkStyle {
|
||||
readonly attribute StyleSheet sheet;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentStyle {
|
||||
readonly attribute StyleSheetList styleSheets;
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _STYLESHEETS_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 StyleSheets-IDL -->
|
||||
<div class='div2'><a id="CSS-IDL" name='CSS-IDL'></a>
|
||||
|
||||
<h2 id='CSS-IDL-h2' class='adiv2'>A.2: Document Object Model
|
||||
CSS</h2>
|
||||
|
||||
<h3 id='idl-css.idl'><a href='idl/css.idl'>css.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: css.idl
|
||||
|
||||
#ifndef _CSS_IDL_
|
||||
#define _CSS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
#include "stylesheets.idl"
|
||||
#include "views.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module css
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::Element Element;
|
||||
typedef dom::DOMImplementation DOMImplementation;
|
||||
|
||||
interface CSSRule;
|
||||
interface CSSStyleSheet;
|
||||
interface CSSStyleDeclaration;
|
||||
interface CSSValue;
|
||||
interface Counter;
|
||||
interface Rect;
|
||||
interface RGBColor;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSRuleList {
|
||||
readonly attribute unsigned long length;
|
||||
CSSRule item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSRule {
|
||||
|
||||
// RuleType
|
||||
const unsigned short UNKNOWN_RULE = 0;
|
||||
const unsigned short STYLE_RULE = 1;
|
||||
const unsigned short CHARSET_RULE = 2;
|
||||
const unsigned short IMPORT_RULE = 3;
|
||||
const unsigned short MEDIA_RULE = 4;
|
||||
const unsigned short FONT_FACE_RULE = 5;
|
||||
const unsigned short PAGE_RULE = 6;
|
||||
|
||||
readonly attribute unsigned short type;
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleSheet parentStyleSheet;
|
||||
readonly attribute CSSRule parentRule;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleRule : CSSRule {
|
||||
attribute DOMString selectorText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSMediaRule : CSSRule {
|
||||
readonly attribute stylesheets::MediaList media;
|
||||
readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(in DOMString rule,
|
||||
in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
void deleteRule(in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSFontFaceRule : CSSRule {
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSPageRule : CSSRule {
|
||||
attribute DOMString selectorText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSImportRule : CSSRule {
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute stylesheets::MediaList media;
|
||||
readonly attribute CSSStyleSheet styleSheet;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSCharsetRule : CSSRule {
|
||||
attribute DOMString encoding;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSUnknownRule : CSSRule {
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleDeclaration {
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
DOMString getPropertyValue(in DOMString propertyName);
|
||||
CSSValue getPropertyCSSValue(in DOMString propertyName);
|
||||
DOMString removeProperty(in DOMString propertyName)
|
||||
raises(dom::DOMException);
|
||||
DOMString getPropertyPriority(in DOMString propertyName);
|
||||
void setProperty(in DOMString propertyName,
|
||||
in DOMString value,
|
||||
in DOMString priority)
|
||||
raises(dom::DOMException);
|
||||
readonly attribute unsigned long length;
|
||||
DOMString item(in unsigned long index);
|
||||
readonly attribute CSSRule parentRule;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSValue {
|
||||
|
||||
// UnitTypes
|
||||
const unsigned short CSS_INHERIT = 0;
|
||||
const unsigned short CSS_PRIMITIVE_VALUE = 1;
|
||||
const unsigned short CSS_VALUE_LIST = 2;
|
||||
const unsigned short CSS_CUSTOM = 3;
|
||||
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute unsigned short cssValueType;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSPrimitiveValue : CSSValue {
|
||||
|
||||
// UnitTypes
|
||||
const unsigned short CSS_UNKNOWN = 0;
|
||||
const unsigned short CSS_NUMBER = 1;
|
||||
const unsigned short CSS_PERCENTAGE = 2;
|
||||
const unsigned short CSS_EMS = 3;
|
||||
const unsigned short CSS_EXS = 4;
|
||||
const unsigned short CSS_PX = 5;
|
||||
const unsigned short CSS_CM = 6;
|
||||
const unsigned short CSS_MM = 7;
|
||||
const unsigned short CSS_IN = 8;
|
||||
const unsigned short CSS_PT = 9;
|
||||
const unsigned short CSS_PC = 10;
|
||||
const unsigned short CSS_DEG = 11;
|
||||
const unsigned short CSS_RAD = 12;
|
||||
const unsigned short CSS_GRAD = 13;
|
||||
const unsigned short CSS_MS = 14;
|
||||
const unsigned short CSS_S = 15;
|
||||
const unsigned short CSS_HZ = 16;
|
||||
const unsigned short CSS_KHZ = 17;
|
||||
const unsigned short CSS_DIMENSION = 18;
|
||||
const unsigned short CSS_STRING = 19;
|
||||
const unsigned short CSS_URI = 20;
|
||||
const unsigned short CSS_IDENT = 21;
|
||||
const unsigned short CSS_ATTR = 22;
|
||||
const unsigned short CSS_COUNTER = 23;
|
||||
const unsigned short CSS_RECT = 24;
|
||||
const unsigned short CSS_RGBCOLOR = 25;
|
||||
|
||||
readonly attribute unsigned short primitiveType;
|
||||
void setFloatValue(in unsigned short unitType,
|
||||
in float floatValue)
|
||||
raises(dom::DOMException);
|
||||
float getFloatValue(in unsigned short unitType)
|
||||
raises(dom::DOMException);
|
||||
void setStringValue(in unsigned short stringType,
|
||||
in DOMString stringValue)
|
||||
raises(dom::DOMException);
|
||||
DOMString getStringValue()
|
||||
raises(dom::DOMException);
|
||||
Counter getCounterValue()
|
||||
raises(dom::DOMException);
|
||||
Rect getRectValue()
|
||||
raises(dom::DOMException);
|
||||
RGBColor getRGBColorValue()
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSValueList : CSSValue {
|
||||
readonly attribute unsigned long length;
|
||||
CSSValue item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface RGBColor {
|
||||
readonly attribute CSSPrimitiveValue red;
|
||||
readonly attribute CSSPrimitiveValue green;
|
||||
readonly attribute CSSPrimitiveValue blue;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Rect {
|
||||
readonly attribute CSSPrimitiveValue top;
|
||||
readonly attribute CSSPrimitiveValue right;
|
||||
readonly attribute CSSPrimitiveValue bottom;
|
||||
readonly attribute CSSPrimitiveValue left;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Counter {
|
||||
readonly attribute DOMString identifier;
|
||||
readonly attribute DOMString listStyle;
|
||||
readonly attribute DOMString separator;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface ElementCSSInlineStyle {
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSS2Properties {
|
||||
attribute DOMString azimuth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString background;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundAttachment;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundImage;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundPosition;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundRepeat;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString border;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderCollapse;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString bottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString captionSide;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString clear;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString clip;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString color;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString content;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString counterIncrement;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString counterReset;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cue;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cueAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cueBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cursor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString direction;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString display;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString elevation;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString emptyCells;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cssFloat;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString font;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontFamily;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontSize;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontSizeAdjust;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontStretch;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontVariant;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontWeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString height;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString left;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString letterSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString lineHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyleImage;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStylePosition;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyleType;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString margin;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString markerOffset;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marks;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString maxHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString maxWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString minHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString minWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString orphans;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outline;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString overflow;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString padding;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString page;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakInside;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pause;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pauseAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pauseBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pitch;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pitchRange;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString playDuring;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString position;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString quotes;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString richness;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString right;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString size;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speak;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakHeader;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakNumeral;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakPunctuation;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speechRate;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString stress;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString tableLayout;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textAlign;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textDecoration;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textIndent;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textShadow;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textTransform;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString top;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString unicodeBidi;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString verticalAlign;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString visibility;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString voiceFamily;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString volume;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString whiteSpace;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString widows;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString width;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString wordSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString zIndex;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleSheet : stylesheets::StyleSheet {
|
||||
readonly attribute CSSRule ownerRule;
|
||||
readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(in DOMString rule,
|
||||
in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
void deleteRule(in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface ViewCSS : views::AbstractView {
|
||||
CSSStyleDeclaration getComputedStyle(in Element elt,
|
||||
in DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentCSS : stylesheets::DocumentStyle {
|
||||
CSSStyleDeclaration getOverrideStyle(in Element elt,
|
||||
in DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DOMImplementationCSS : DOMImplementation {
|
||||
CSSStyleSheet createCSSStyleSheet(in DOMString title,
|
||||
in DOMString media)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _CSS_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 CSS-IDL --></div>
|
||||
|
||||
<!-- div1 idl -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='css.html'>previous</a> <a
|
||||
accesskey='n' href='java-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,633 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.idl
|
||||
|
||||
#ifndef _CSS_IDL_
|
||||
#define _CSS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
#include "stylesheets.idl"
|
||||
#include "views.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module css
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::Element Element;
|
||||
typedef dom::DOMImplementation DOMImplementation;
|
||||
|
||||
interface CSSRule;
|
||||
interface CSSStyleSheet;
|
||||
interface CSSStyleDeclaration;
|
||||
interface CSSValue;
|
||||
interface Counter;
|
||||
interface Rect;
|
||||
interface RGBColor;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSRuleList {
|
||||
readonly attribute unsigned long length;
|
||||
CSSRule item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSRule {
|
||||
|
||||
// RuleType
|
||||
const unsigned short UNKNOWN_RULE = 0;
|
||||
const unsigned short STYLE_RULE = 1;
|
||||
const unsigned short CHARSET_RULE = 2;
|
||||
const unsigned short IMPORT_RULE = 3;
|
||||
const unsigned short MEDIA_RULE = 4;
|
||||
const unsigned short FONT_FACE_RULE = 5;
|
||||
const unsigned short PAGE_RULE = 6;
|
||||
|
||||
readonly attribute unsigned short type;
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleSheet parentStyleSheet;
|
||||
readonly attribute CSSRule parentRule;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleRule : CSSRule {
|
||||
attribute DOMString selectorText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSMediaRule : CSSRule {
|
||||
readonly attribute stylesheets::MediaList media;
|
||||
readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(in DOMString rule,
|
||||
in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
void deleteRule(in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSFontFaceRule : CSSRule {
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSPageRule : CSSRule {
|
||||
attribute DOMString selectorText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSImportRule : CSSRule {
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute stylesheets::MediaList media;
|
||||
readonly attribute CSSStyleSheet styleSheet;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSCharsetRule : CSSRule {
|
||||
attribute DOMString encoding;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSUnknownRule : CSSRule {
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleDeclaration {
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
DOMString getPropertyValue(in DOMString propertyName);
|
||||
CSSValue getPropertyCSSValue(in DOMString propertyName);
|
||||
DOMString removeProperty(in DOMString propertyName)
|
||||
raises(dom::DOMException);
|
||||
DOMString getPropertyPriority(in DOMString propertyName);
|
||||
void setProperty(in DOMString propertyName,
|
||||
in DOMString value,
|
||||
in DOMString priority)
|
||||
raises(dom::DOMException);
|
||||
readonly attribute unsigned long length;
|
||||
DOMString item(in unsigned long index);
|
||||
readonly attribute CSSRule parentRule;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSValue {
|
||||
|
||||
// UnitTypes
|
||||
const unsigned short CSS_INHERIT = 0;
|
||||
const unsigned short CSS_PRIMITIVE_VALUE = 1;
|
||||
const unsigned short CSS_VALUE_LIST = 2;
|
||||
const unsigned short CSS_CUSTOM = 3;
|
||||
|
||||
attribute DOMString cssText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute unsigned short cssValueType;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSPrimitiveValue : CSSValue {
|
||||
|
||||
// UnitTypes
|
||||
const unsigned short CSS_UNKNOWN = 0;
|
||||
const unsigned short CSS_NUMBER = 1;
|
||||
const unsigned short CSS_PERCENTAGE = 2;
|
||||
const unsigned short CSS_EMS = 3;
|
||||
const unsigned short CSS_EXS = 4;
|
||||
const unsigned short CSS_PX = 5;
|
||||
const unsigned short CSS_CM = 6;
|
||||
const unsigned short CSS_MM = 7;
|
||||
const unsigned short CSS_IN = 8;
|
||||
const unsigned short CSS_PT = 9;
|
||||
const unsigned short CSS_PC = 10;
|
||||
const unsigned short CSS_DEG = 11;
|
||||
const unsigned short CSS_RAD = 12;
|
||||
const unsigned short CSS_GRAD = 13;
|
||||
const unsigned short CSS_MS = 14;
|
||||
const unsigned short CSS_S = 15;
|
||||
const unsigned short CSS_HZ = 16;
|
||||
const unsigned short CSS_KHZ = 17;
|
||||
const unsigned short CSS_DIMENSION = 18;
|
||||
const unsigned short CSS_STRING = 19;
|
||||
const unsigned short CSS_URI = 20;
|
||||
const unsigned short CSS_IDENT = 21;
|
||||
const unsigned short CSS_ATTR = 22;
|
||||
const unsigned short CSS_COUNTER = 23;
|
||||
const unsigned short CSS_RECT = 24;
|
||||
const unsigned short CSS_RGBCOLOR = 25;
|
||||
|
||||
readonly attribute unsigned short primitiveType;
|
||||
void setFloatValue(in unsigned short unitType,
|
||||
in float floatValue)
|
||||
raises(dom::DOMException);
|
||||
float getFloatValue(in unsigned short unitType)
|
||||
raises(dom::DOMException);
|
||||
void setStringValue(in unsigned short stringType,
|
||||
in DOMString stringValue)
|
||||
raises(dom::DOMException);
|
||||
DOMString getStringValue()
|
||||
raises(dom::DOMException);
|
||||
Counter getCounterValue()
|
||||
raises(dom::DOMException);
|
||||
Rect getRectValue()
|
||||
raises(dom::DOMException);
|
||||
RGBColor getRGBColorValue()
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSValueList : CSSValue {
|
||||
readonly attribute unsigned long length;
|
||||
CSSValue item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface RGBColor {
|
||||
readonly attribute CSSPrimitiveValue red;
|
||||
readonly attribute CSSPrimitiveValue green;
|
||||
readonly attribute CSSPrimitiveValue blue;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Rect {
|
||||
readonly attribute CSSPrimitiveValue top;
|
||||
readonly attribute CSSPrimitiveValue right;
|
||||
readonly attribute CSSPrimitiveValue bottom;
|
||||
readonly attribute CSSPrimitiveValue left;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Counter {
|
||||
readonly attribute DOMString identifier;
|
||||
readonly attribute DOMString listStyle;
|
||||
readonly attribute DOMString separator;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface ElementCSSInlineStyle {
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSS2Properties {
|
||||
attribute DOMString azimuth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString background;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundAttachment;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundImage;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundPosition;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString backgroundRepeat;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString border;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderCollapse;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderTopWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderRightWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderBottomWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderLeftWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString borderWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString bottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString captionSide;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString clear;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString clip;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString color;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString content;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString counterIncrement;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString counterReset;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cue;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cueAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cueBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cursor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString direction;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString display;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString elevation;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString emptyCells;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString cssFloat;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString font;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontFamily;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontSize;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontSizeAdjust;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontStretch;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontVariant;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString fontWeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString height;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString left;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString letterSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString lineHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyleImage;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStylePosition;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString listStyleType;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString margin;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marginLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString markerOffset;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString marks;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString maxHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString maxWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString minHeight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString minWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString orphans;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outline;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineColor;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineStyle;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString outlineWidth;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString overflow;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString padding;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingTop;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingRight;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingBottom;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString paddingLeft;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString page;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pageBreakInside;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pause;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pauseAfter;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pauseBefore;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pitch;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString pitchRange;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString playDuring;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString position;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString quotes;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString richness;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString right;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString size;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speak;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakHeader;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakNumeral;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speakPunctuation;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString speechRate;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString stress;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString tableLayout;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textAlign;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textDecoration;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textIndent;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textShadow;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString textTransform;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString top;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString unicodeBidi;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString verticalAlign;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString visibility;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString voiceFamily;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString volume;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString whiteSpace;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString widows;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString width;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString wordSpacing;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
attribute DOMString zIndex;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface CSSStyleSheet : stylesheets::StyleSheet {
|
||||
readonly attribute CSSRule ownerRule;
|
||||
readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(in DOMString rule,
|
||||
in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
void deleteRule(in unsigned long index)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface ViewCSS : views::AbstractView {
|
||||
CSSStyleDeclaration getComputedStyle(in Element elt,
|
||||
in DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentCSS : stylesheets::DocumentStyle {
|
||||
CSSStyleDeclaration getOverrideStyle(in Element elt,
|
||||
in DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DOMImplementationCSS : DOMImplementation {
|
||||
CSSStyleSheet createCSSStyleSheet(in DOMString title,
|
||||
in DOMString media)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _CSS_IDL_
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.idl
|
||||
|
||||
#ifndef _STYLESHEETS_IDL_
|
||||
#define _STYLESHEETS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module stylesheets
|
||||
{
|
||||
|
||||
typedef dom::DOMString DOMString;
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface MediaList;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheet {
|
||||
readonly attribute DOMString type;
|
||||
attribute boolean disabled;
|
||||
readonly attribute Node ownerNode;
|
||||
readonly attribute StyleSheet parentStyleSheet;
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute DOMString title;
|
||||
readonly attribute MediaList media;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheetList {
|
||||
readonly attribute unsigned long length;
|
||||
StyleSheet item(in unsigned long index);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface MediaList {
|
||||
attribute DOMString mediaText;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
DOMString item(in unsigned long index);
|
||||
void deleteMedium(in DOMString oldMedium)
|
||||
raises(dom::DOMException);
|
||||
void appendMedium(in DOMString newMedium)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface LinkStyle {
|
||||
readonly attribute StyleSheet sheet;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentStyle {
|
||||
readonly attribute StyleSheetList styleSheets;
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _STYLESHEETS_IDL_
|
||||
|
||||
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 988 B |
@@ -0,0 +1,139 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:34 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>References</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='def-index.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='acknowledgements.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='acknowledgements.html'>previous</a> <a accesskey='n'
|
||||
href='def-index.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="References" name='References'></a>
|
||||
|
||||
<h1 id='role-references' class='references'>References</h1>
|
||||
|
||||
<p>For the latest version of any W3C specification please consult
|
||||
the list of <a href='http://www.w3.org/TR'>W3C Technical
|
||||
Reports</a> available at http://www.w3.org/TR.</p>
|
||||
|
||||
<div class='div2'><a id="References-Normative"
|
||||
name='References-Normative'></a>
|
||||
|
||||
<h2 id='References-Normative-h2' class='adiv2'>E.1: Normative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
|
||||
Object Model Level 2 Core Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
|
||||
|
||||
<dt><b><a id="CSS2" name='CSS2'>CSS2</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1998/REC-CSS2-19980512'>Cascading Style
|
||||
Sheets, level 2 Specification</a>, May 1998. Available at
|
||||
http://www.w3.org/TR/1998/REC-CSS2-19980512</dd>
|
||||
|
||||
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>ECMA (European Computer Manufacturers Association) <a
|
||||
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
|
||||
Language Specification</a>. Available at
|
||||
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
|
||||
|
||||
<dt><b><a id="HTML40" name='HTML40'>HTML4.0</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424'>HTML 4.0
|
||||
Specification</a>, April 1998. Available at
|
||||
http://www.w3.org/TR/1998/REC-html40-19980424</dd>
|
||||
|
||||
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/docs/books/jls'>The Java Language
|
||||
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
|
||||
September 1996. Available at
|
||||
http://java.sun.com/docs/books/jls</dd>
|
||||
|
||||
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
IDL (Interface Definition Language) defined in The Common Object
|
||||
Request Broker: Architecture and Specification, version 2.3.1,
|
||||
October 1999. Available from http://www.omg.org/</dd>
|
||||
|
||||
<dt><b><a id="DOMViews" name='DOMViews'>DOM Level 2
|
||||
Views</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>Document
|
||||
Object Model Level 2 Views Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113</dd>
|
||||
|
||||
<dt><b><a id="XML-StyleSheet"
|
||||
name='XML-StyleSheet'>XML-StyleSheet</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'>Associating
|
||||
Style Sheets with XML documents Version 1.0</a>, June 1999.
|
||||
Available at
|
||||
http://www.w3.org/1999/06/REC-xml-stylesheet-19990629.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Normative -->
|
||||
<div class='div2'><a id="References-Informative"
|
||||
name='References-Informative'></a>
|
||||
|
||||
<h2 id='References-Informative-h2' class='adiv2'>E.2: Informative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMHTML-inf" name='DOMHTML-inf'>DOM Level 2
|
||||
HTML</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-HTML'>Document Object Model
|
||||
Level 2 HTML Specification</a>. Available at
|
||||
http://www.w3.org/TR/DOM-Level-2-HTML</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Informative --></div>
|
||||
|
||||
<!-- div1 References -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='acknowledgements.html'>previous</a>
|
||||
<a accesskey='n' href='def-index.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
H4 {
|
||||
text-align: left;
|
||||
font-family: sans-serif;
|
||||
font-weight: normal;
|
||||
color: #0050B2;
|
||||
}
|
||||
.idl-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
.java-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.ecma-block {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.interface-name {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.attribute-name {
|
||||
color: black;
|
||||
background-color: #FFFFD2;
|
||||
}
|
||||
|
||||
.constant-name {
|
||||
color: black;
|
||||
background-color: #DDFFD2;
|
||||
}
|
||||
|
||||
.method-name {
|
||||
color: black;
|
||||
background-color: #D9E6F8;
|
||||
}
|
||||
|
||||
.parameter-name {
|
||||
color: black;
|
||||
background-color: #FEE6F8;
|
||||
}
|
||||
|
||||
UL.toc, OL.toc {list-style: none}
|
||||
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
|
||||
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
|
||||
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
|
||||
LI.tocline1 {font-weight: bold}
|
||||
LI.tocline2 {font-weight: normal}
|
||||
LI.tocline4 {font-style: italic}
|
||||
|
||||
code { font-family: monospace }
|
||||
|
||||
div.paramtable { margin-left: 1em }
|
||||
div.returntable { margin-left: 1em }
|
||||
div.exceptiontable { margin-left: 1em }
|
||||
@@ -0,0 +1,814 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:44:50 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model Style Sheets</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='css.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='copyright-notice.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='copyright-notice.html'>previous</a> <a accesskey='n'
|
||||
href='css.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="StyleSheets" name='StyleSheets'></a>
|
||||
|
||||
<h1 id='StyleSheets-h1' class='div1'>1. Document Object Model Style
|
||||
Sheets</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Chris Wilson, Microsoft Corp.</dd>
|
||||
|
||||
<dd>Philippe Le Hégaret, W3C</dd>
|
||||
|
||||
<dd>Vidur Apparao, Netscape Communications Corp.</dd>
|
||||
</dl>
|
||||
|
||||
<div class='noprint'>
|
||||
<h2 id='table-of-contents'>Table of contents</h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#StyleSheets-overview'>1.1. Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#StyleSheets-fundamental'>1.2. Style Sheet Interfaces</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a
|
||||
href='#StyleSheets-StyleSheet'>StyleSheet</a>, <a
|
||||
href='#StyleSheets-StyleSheetList'>StyleSheetList</a>, <a
|
||||
href='#StyleSheets-MediaList'>MediaList</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#StyleSheets-extensions'>1.3. Document Extensions</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a
|
||||
href='#StyleSheets-LinkStyle'>LinkStyle</a>, <a
|
||||
href='#StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#StyleSheets-Association'>1.4. Association between a style
|
||||
sheet and a document.</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='div2'><a id="StyleSheets-overview"
|
||||
name='StyleSheets-overview'></a>
|
||||
|
||||
<h2 id='StyleSheets-overview-h2' class='div2'>1.1.
|
||||
Introduction</h2>
|
||||
|
||||
<p>The DOM Level 2 Style Sheet interfaces are base interfaces used
|
||||
to represent any type of style sheet. The expectation is that DOM
|
||||
modules that represent a specific style sheet language may contain
|
||||
interfaces that derive from these interfaces.</p>
|
||||
|
||||
<p>The interfaces found within this section are not mandatory. A
|
||||
DOM application may use the <code>hasFeature(feature,
|
||||
version)</code> method of the <code>DOMImplementation</code>
|
||||
interface with parameter values "StyleSheets" and "2.0"
|
||||
(respectively) to determine whether or not this module is supported
|
||||
by the implementation. In order to fully support this module, an
|
||||
implementation must also support the "Core" feature defined defined
|
||||
in the DOM 2 Core specification [<a class='noxref'
|
||||
href='references.html#DOMCore'>DOM Level 2 Core</a>]. Please refer
|
||||
to additional information about <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
|
||||
<em>conformance</em></a> in the DOM Level 2 Core specification [<a
|
||||
class='noxref' href='references.html#DOMCore'>DOM Level 2
|
||||
Core</a>].</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 StyleSheets-overview -->
|
||||
<div class='div2'><a id="StyleSheets-fundamental"
|
||||
name='StyleSheets-fundamental'></a>
|
||||
|
||||
<h2 id='StyleSheets-fundamental-h2' class='div2'>1.2. Style Sheet
|
||||
Interfaces</h2>
|
||||
|
||||
<p>This set of interfaces represents the generic notion of style
|
||||
sheets.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b>Interface <i><a id="StyleSheets-StyleSheet"
|
||||
name='StyleSheets-StyleSheet'>StyleSheet</a></i></b> (introduced in
|
||||
<b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>StyleSheet</code> interface is the abstract base
|
||||
interface for any type of style sheet. It represents a single style
|
||||
sheet associated with a structured document. In HTML, the
|
||||
StyleSheet interface represents either an external style sheet,
|
||||
included via the HTML <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#h-12.3'>
|
||||
<em>LINK</em></a> element, or an inline <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#h-14.2.3'>
|
||||
<em>STYLE</em></a> element. In XML, this interface represents an
|
||||
external style sheet, included via a <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'><em>style
|
||||
sheet processing instruction</em></a>.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheet {
|
||||
readonly attribute DOMString type;
|
||||
attribute boolean disabled;
|
||||
readonly attribute Node ownerNode;
|
||||
readonly attribute StyleSheet parentStyleSheet;
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute DOMString title;
|
||||
readonly attribute MediaList media;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-disabled"
|
||||
name='StyleSheets-StyleSheet-disabled'>disabled</a></code> of type
|
||||
<code>boolean</code></dt>
|
||||
|
||||
<dd><code>false</code> if the style sheet is applied to the
|
||||
document. <code>true</code> if it is not. Modifying this attribute
|
||||
may cause a new resolution of style for the document. A stylesheet
|
||||
only applies if both an appropriate medium definition is present
|
||||
and the disabled attribute is false. So, if the media doesn't apply
|
||||
to the current user agent, the <code>disabled</code> attribute is
|
||||
ignored.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-href"
|
||||
name='StyleSheets-StyleSheet-href'>href</a></code> of type
|
||||
<code>DOMString</code>, readonly</dt>
|
||||
|
||||
<dd>If the style sheet is a linked style sheet, the value of its
|
||||
attribute is its location. For inline style sheets, the value of
|
||||
this attribute is <code>null</code>. See the <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#adef-href'>
|
||||
<em>href attribute definition</em></a> for the <code>LINK</code>
|
||||
element in HTML 4.0, and the href pseudo-attribute for the XML <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
|
||||
<em>style sheet processing instruction</em></a>.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-media"
|
||||
name='StyleSheets-StyleSheet-media'>media</a></code> of type <a
|
||||
href='stylesheets.html#StyleSheets-MediaList'><code>MediaList</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>The intended destination media for style information. The media
|
||||
is often specified in the <code>ownerNode</code>. If no media has
|
||||
been specified, the <a
|
||||
href='stylesheets.html#StyleSheets-MediaList'><code>MediaList</code></a>
|
||||
will be empty. See the <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#adef-media'>
|
||||
<em>media attribute definition</em></a> for the <code>LINK</code>
|
||||
element in HTML 4.0, and the media pseudo-attribute for the XML <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
|
||||
<em>style sheet processing instruction</em></a> . Modifying the
|
||||
media list may cause a change to the attribute
|
||||
<code>disabled</code>.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-ownerNode"
|
||||
name='StyleSheets-StyleSheet-ownerNode'>ownerNode</a></code> of
|
||||
type <code>Node</code>, readonly</dt>
|
||||
|
||||
<dd>The node that associates this style sheet with the document.
|
||||
For HTML, this may be the corresponding <code>LINK</code> or
|
||||
<code>STYLE</code> element. For XML, it may be the linking
|
||||
processing instruction. For style sheets that are included by other
|
||||
style sheets, the value of this attribute is
|
||||
<code>null</code>.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-parentStyleSheet"
|
||||
name='StyleSheets-StyleSheet-parentStyleSheet'>parentStyleSheet</a></code>
|
||||
of type <a
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>For style sheet languages that support the concept of style
|
||||
sheet inclusion, this attribute represents the including style
|
||||
sheet, if one exists. If the style sheet is a top-level style
|
||||
sheet, or the style sheet language does not support inclusion, the
|
||||
value of this attribute is <code>null</code>.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-title"
|
||||
name='StyleSheets-StyleSheet-title'>title</a></code> of type
|
||||
<code>DOMString</code>, readonly</dt>
|
||||
|
||||
<dd>The advisory title. The title is often specified in the
|
||||
<code>ownerNode</code>. See the <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/global.html#adef-title'>
|
||||
<em>title attribute definition</em></a> for the <code>LINK</code>
|
||||
element in HTML 4.0, and the title pseudo-attribute for the XML <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The xml-stylesheet processing instruction'>
|
||||
<em>style sheet processing instruction</em></a>.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheet-type"
|
||||
name='StyleSheets-StyleSheet-type'>type</a></code> of type
|
||||
<code>DOMString</code>, readonly</dt>
|
||||
|
||||
<dd>This specifies the style sheet language for this style sheet.
|
||||
The style sheet language is specified as a content type (e.g.
|
||||
"text/css"). The <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-content-type'>
|
||||
<em>content type</em></a> is often specified in the
|
||||
<code>ownerNode</code>. Also see the <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#adef-type-A'>
|
||||
<em>type attribute definition</em></a> for the <code>LINK</code>
|
||||
element in HTML 4.0, and the type pseudo-attribute for the XML <a
|
||||
href='http://www.w3.org/1999/06/REC-xml-stylesheet-19990629'><em>style
|
||||
sheet processing instruction</em></a>.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Interface <i><a id="StyleSheets-StyleSheetList"
|
||||
name='StyleSheets-StyleSheetList'>StyleSheetList</a></i></b>
|
||||
(introduced in <b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>StyleSheetList</code> interface provides the
|
||||
abstraction of an ordered collection of style sheets.</p>
|
||||
|
||||
<p>The items in the <code>StyleSheetList</code> are accessible via
|
||||
an integral index, starting from 0.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface StyleSheetList {
|
||||
readonly attribute unsigned long length;
|
||||
StyleSheet item(in unsigned long index);
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-StyleSheetList-length"
|
||||
name='StyleSheets-StyleSheetList-length'>length</a></code> of type
|
||||
<code>unsigned long</code>, readonly</dt>
|
||||
|
||||
<dd>The number of <a
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheets</code></a>
|
||||
in the list. The range of valid child stylesheet indices is
|
||||
<code>0</code> to <code>length-1</code> inclusive.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Methods</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='method-name'><a
|
||||
id="StyleSheets-StyleSheetList-item"
|
||||
name='StyleSheets-StyleSheetList-item'>item</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Used to retrieve a style sheet by ordinal
|
||||
index. If index is greater than or equal to the number of style
|
||||
sheets in the list, this returns <code>null</code>.
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>index</code> of type
|
||||
<code>unsigned long</code></dt>
|
||||
|
||||
<dd>Index into the collection<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='return'><b>Return Value</b>
|
||||
|
||||
<div class='returntable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><a
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>The style sheet at the <code>index</code> position in the
|
||||
<code>StyleSheetList</code>, or <code>null</code> if that is not a
|
||||
valid index.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- return -->
|
||||
<div><b>No Exceptions</b></div>
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Interface <i><a id="StyleSheets-MediaList"
|
||||
name='StyleSheets-MediaList'>MediaList</a></i></b> (introduced in
|
||||
<b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>MediaList</code> interface provides the abstraction of
|
||||
an ordered collection of <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/types.html#h-6.13'>
|
||||
<em>media</em></a>, without defining or constraining how this
|
||||
collection is implemented. An empty list is the same as a list that
|
||||
contains the medium <code>"all"</code>.</p>
|
||||
|
||||
<p>The items in the <code>MediaList</code> are accessible via an
|
||||
integral index, starting from 0.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface MediaList {
|
||||
attribute DOMString mediaText;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
DOMString item(in unsigned long index);
|
||||
void deleteMedium(in DOMString oldMedium)
|
||||
raises(DOMException);
|
||||
void appendMedium(in DOMString newMedium)
|
||||
raises(DOMException);
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-MediaList-length"
|
||||
name='StyleSheets-MediaList-length'>length</a></code> of type
|
||||
<code>unsigned long</code>, readonly</dt>
|
||||
|
||||
<dd>The number of media in the list. The range of valid media is
|
||||
<code>0</code> to <code>length-1</code> inclusive.<br />
|
||||
</dd>
|
||||
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-MediaList-mediaText"
|
||||
name='StyleSheets-MediaList-mediaText'>mediaText</a></code> of type
|
||||
<code>DOMString</code></dt>
|
||||
|
||||
<dd>The parsable textual representation of the media list. This is
|
||||
a comma-separated list of media.<br />
|
||||
|
||||
|
||||
<div class='exceptions'><b>Exceptions on setting</b>
|
||||
|
||||
<div class='exceptiontable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>DOMException</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>SYNTAX_ERR: Raised if the specified string value has a syntax
|
||||
error and is unparsable.</p>
|
||||
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is
|
||||
readonly.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- exceptions -->
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Methods</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='method-name'><a
|
||||
id="StyleSheets-MediaList-appendMedium"
|
||||
name='StyleSheets-MediaList-appendMedium'>appendMedium</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Adds the medium <code>newMedium</code> to the
|
||||
end of the list. If the <code>newMedium</code> is already used, it
|
||||
is first removed.
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>newMedium</code> of type
|
||||
<code>DOMString</code></dt>
|
||||
|
||||
<dd>The new medium to add.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='exceptions'><b>Exceptions</b>
|
||||
|
||||
<div class='exceptiontable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>DOMException</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>INVALID_CHARACTER_ERR: If the medium contains characters that
|
||||
are invalid in the underlying style language.</p>
|
||||
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this list is
|
||||
readonly.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- exceptions -->
|
||||
<div><b>No Return Value</b></div>
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
|
||||
<dt><code class='method-name'><a
|
||||
id="StyleSheets-MediaList-deleteMedium"
|
||||
name='StyleSheets-MediaList-deleteMedium'>deleteMedium</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Deletes the medium indicated by
|
||||
<code>oldMedium</code> from the list.
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>oldMedium</code> of type
|
||||
<code>DOMString</code></dt>
|
||||
|
||||
<dd>The medium to delete in the media list.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='exceptions'><b>Exceptions</b>
|
||||
|
||||
<div class='exceptiontable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>DOMException</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this list is
|
||||
readonly.</p>
|
||||
|
||||
<p>NOT_FOUND_ERR: Raised if <code>oldMedium</code> is not in the
|
||||
list.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- exceptions -->
|
||||
<div><b>No Return Value</b></div>
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
|
||||
<dt><code class='method-name'><a id="StyleSheets-MediaList-item"
|
||||
name='StyleSheets-MediaList-item'>item</a></code></dt>
|
||||
|
||||
<dd>
|
||||
<div class='method'>Returns the <code>index</code>th in the list.
|
||||
If <code>index</code> is greater than or equal to the number of
|
||||
media in the list, this returns <code>null</code>.
|
||||
|
||||
<div class='parameters'><b>Parameters</b>
|
||||
|
||||
<div class='paramtable'>
|
||||
<dl>
|
||||
<dt><code class='parameter-name'>index</code> of type
|
||||
<code>unsigned long</code></dt>
|
||||
|
||||
<dd>Index into the collection.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- parameters -->
|
||||
<div class='return'><b>Return Value</b>
|
||||
|
||||
<div class='returntable'>
|
||||
<table
|
||||
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
|
||||
border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<p><code>DOMString</code></p>
|
||||
</td>
|
||||
<td>
|
||||
<p>The medium at the <code>index</code>th position in the
|
||||
<code>MediaList</code>, or <code>null</code> if that is not a valid
|
||||
index.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- return -->
|
||||
<div><b>No Exceptions</b></div>
|
||||
</div>
|
||||
|
||||
<!-- method -->
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 StyleSheets-fundamental -->
|
||||
<div class='div2'><a id="StyleSheets-extensions"
|
||||
name='StyleSheets-extensions'></a>
|
||||
|
||||
<h2 id='StyleSheets-extensions-h2' class='div2'>1.3. Document
|
||||
Extensions</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b>Interface <i><a id="StyleSheets-LinkStyle"
|
||||
name='StyleSheets-LinkStyle'>LinkStyle</a></i></b> (introduced in
|
||||
<b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>LinkStyle</code> interface provides a mechanism by
|
||||
which a style sheet can be retrieved from the node responsible for
|
||||
linking it into a document. An instance of the
|
||||
<code>LinkStyle</code> interface can be obtained using
|
||||
binding-specific casting methods on an instance of a linking node
|
||||
(<code>HTMLLinkElement</code>, <code>HTMLStyleElement</code> or
|
||||
<code>ProcessingInstruction</code> in DOM Level 2).</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface LinkStyle {
|
||||
readonly attribute StyleSheet sheet;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-LinkStyle-sheet"
|
||||
name='StyleSheets-LinkStyle-sheet'>sheet</a></code> of type <a
|
||||
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>The style sheet.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Interface <i><a id="StyleSheets-StyleSheet-DocumentStyle"
|
||||
name='StyleSheets-StyleSheet-DocumentStyle'>DocumentStyle</a></i></b>
|
||||
(introduced in <b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>DocumentStyle</code> interface provides a mechanism by
|
||||
which the style sheets embedded in a document can be retrieved. The
|
||||
expectation is that an instance of the <code>DocumentStyle</code>
|
||||
interface can be obtained by using binding-specific casting methods
|
||||
on an instance of the <code>Document</code> interface.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentStyle {
|
||||
readonly attribute StyleSheetList styleSheets;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="StyleSheets-DocumentStyle-styleSheets"
|
||||
name='StyleSheets-DocumentStyle-styleSheets'>styleSheets</a></code>
|
||||
of type <a
|
||||
href='stylesheets.html#StyleSheets-StyleSheetList'><code>StyleSheetList</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>A list containing all the style sheets explicitly linked into
|
||||
or embedded in a document. For HTML documents, this includes
|
||||
external style sheets, included via the HTML <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/struct/links.html#h-12.3'>
|
||||
<em>LINK</em></a> element, and inline <a
|
||||
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#h-14.2.3'>
|
||||
<em>STYLE</em></a> elements. In XML, this includes external style
|
||||
sheets, included via style sheet processing instructions (see [<a
|
||||
class='noxref'
|
||||
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>]).<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 StyleSheets-extensions -->
|
||||
<div class='div2'><a id="StyleSheets-Association"
|
||||
name='StyleSheets-Association'></a>
|
||||
|
||||
<h2 id='StyleSheets-Association-h2' class='div2'>1.4. Association
|
||||
between a style sheet and a document.</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b>HTML and Style Sheet Creation</b></dt>
|
||||
|
||||
<dd>A style sheet can be associated with an HTMLDocument in one of
|
||||
two ways:
|
||||
|
||||
<ul>
|
||||
<li>By creating a new LINK HTML element (see the
|
||||
<code>HTMLLinkElement</code> interface in the [<a class='noxref'
|
||||
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>] and [<a
|
||||
class='noxref' href='references.html#HTML40'>HTML4.0</a>]). The
|
||||
underlying style sheet will be created after the element is
|
||||
inserted into the document and both the href and the type attribute
|
||||
have been set in a way indicating that the linked object is a style
|
||||
sheet.</li>
|
||||
|
||||
<li>By creating a new STYLE HTML element (see the
|
||||
<code>HTMLStyleElement</code> interface in the [<a class='noxref'
|
||||
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>] and [<a
|
||||
class='noxref' href='references.html#HTML40'>HTML4.0</a>]). The
|
||||
underlying style sheet will be created after the element is
|
||||
inserted into the document and the type attribute is set in a way
|
||||
indicating that the element corresponds to a style sheet language
|
||||
interpreted by the user agent.</li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
<dt><b>HTML and Style Sheet Removal</b></dt>
|
||||
|
||||
<dd>Removing a LINK HTML element or a STYLE HTML element removes
|
||||
the underlying style sheet from the style sheet collection
|
||||
associated with a document. Specifically, the removed style sheet
|
||||
is no longer applied to the presentation of the document.</dd>
|
||||
|
||||
<dt><b>XML and Style Sheet Creation</b></dt>
|
||||
|
||||
<dd>A new style sheet can be created and associated with an XML
|
||||
document by creating a processing instruction with the target
|
||||
'xml-stylesheet' [<a class='noxref'
|
||||
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>] and
|
||||
inserting it into the document.</dd>
|
||||
|
||||
<dt><b>XML and Style Sheet Removal</b></dt>
|
||||
|
||||
<dd>Removing a processing instruction with a target of
|
||||
'xml-stylesheet' [<a class='noxref'
|
||||
href='references.html#XML-StyleSheet'>XML-StyleSheet</a>] removes
|
||||
the underlying style sheet from the style sheet collection
|
||||
associated with a document. Specifically, the removed style sheet
|
||||
is no longer applied to the presentation of the document.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 StyleSheets-Association --></div>
|
||||
|
||||
<!-- div1 StyleSheets -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='copyright-notice.html'>previous</a>
|
||||
<a accesskey='n' href='css.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>W3C IPR SOFTWARE NOTICE</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<h1>
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
</h1>
|
||||
<h3>
|
||||
Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</h3>
|
||||
<p>
|
||||
The DOM bindings are published under the W3C Software Copyright Notice
|
||||
and License. The software license requires "Notice of any changes or
|
||||
modifications to the W3C files, including the date changes were made."
|
||||
Consequently, modified versions of the DOM bindings must document that
|
||||
they do not conform to the W3C standard; in the case of the IDL binding,
|
||||
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
|
||||
binding, the package names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<p>
|
||||
<b>Note:</b> The original version of the W3C Software Copyright Notice
|
||||
and License could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
|
||||
</p>
|
||||
<h3>
|
||||
Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/
|
||||
</h3>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you include the following on ALL
|
||||
copies of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
</li>
|
||||
<li>
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright ©
|
||||
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
</li>
|
||||
<li>
|
||||
Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived.)
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright
|
||||
holders.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,215 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:52 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model (DOM) Level 2 Traversal and Range
|
||||
Specification</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='expanded-toc.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='n'
|
||||
href='expanded-toc.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='head'>
|
||||
<p><a href='http://www.w3.org/'><img height='48' width='72'
|
||||
alt='W3C' src='./images/w3c_home.gif' /></a></p>
|
||||
|
||||
<h1 id='title'>Document Object Model (DOM) Level 2 Traversal and
|
||||
Range Specification</h1>
|
||||
|
||||
<h2 id='version'>Version 1.0</h2>
|
||||
|
||||
<!-- REC-DOM-Level-2-Traversal-Range-20001113
|
||||
-->
|
||||
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
|
||||
2000</i></h2>
|
||||
|
||||
<dl>
|
||||
<dt>This version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113</a><br />
|
||||
(<a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/DOM2-Traversal-Range.ps'>
|
||||
PostScript file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/DOM2-Traversal-Range.pdf'>
|
||||
PDF file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/DOM2-Traversal-Range.txt'>
|
||||
plain text</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/DOM2-Traversal-Range.zip'>
|
||||
ZIP file</a>)</dd>
|
||||
|
||||
<dt>Latest version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range'>http://www.w3.org/TR/DOM-Level-2-Traversal-Range</a></dd>
|
||||
|
||||
<dt>Previous version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Traversal-Range-20000927'>
|
||||
http://www.w3.org/TR/2000/PR-DOM-Level-2-Traversal-Range-20000927</a></dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Editors:</dt>
|
||||
|
||||
<dd>Joe Kesselman, <i>IBM</i></dd>
|
||||
|
||||
<dd>Jonathan Robie, <i>Texcel Research and Software AG</i></dd>
|
||||
|
||||
<dd>Mike Champion, <i>Arbortext and Software AG</i></dd>
|
||||
|
||||
<dd>Peter Sharpe, <i>SoftQuad Software Inc.</i></dd>
|
||||
|
||||
<dd>Vidur Apparao, <i>Netscape Communications Corp.</i></dd>
|
||||
|
||||
<dd>Lauren Wood, <i>SoftQuad Software Inc., WG Chair</i></dd>
|
||||
</dl>
|
||||
|
||||
<p class='copyright'>Copyright © 2000 <a
|
||||
href='http://www.w3.org/'><abbr
|
||||
title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>
|
||||
(<a href='http://www.lcs.mit.edu/'><abbr
|
||||
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
|
||||
href='http://www.inria.fr/'><abbr lang='fr'
|
||||
title='Institut National de Recherche en Informatique et Automatique'>
|
||||
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
|
||||
Rights Reserved. W3C <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
|
||||
liability</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
|
||||
trademark</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
document use</a> and <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
software licensing</a> rules apply.</p>
|
||||
</div>
|
||||
|
||||
<hr title='separator from header' />
|
||||
<h2 id='abstract'>Abstract</h2>
|
||||
|
||||
<div class='abstract'>
|
||||
<p>This specification defines the Document Object Model Level 2
|
||||
Traversal and Range, platform- and language-neutral interfaces that
|
||||
allow programs and scripts to dynamically traverse and identify a
|
||||
range of content in a document. The Document Object Model Level 2
|
||||
Traversal and Range build on the Document Object Model Level 2 Core
|
||||
[<a class='noxref' href='references.html#DOMCore'>DOM Level 2
|
||||
Core</a>].</p>
|
||||
|
||||
<p>The DOM Level 2 Traversal and Range specification is composed of
|
||||
two modules. The two modules contain specialized interfaces
|
||||
dedicated to traversing the document structure and identifying and
|
||||
manipulating a range in a document.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='status'>Status of this document</h2>
|
||||
|
||||
<div class='status'>
|
||||
<p><em>This section describes the status of this document at the
|
||||
time of its publication. Other documents may supersede this
|
||||
document. The latest status of this document series is maintained
|
||||
at the W3C.</em></p>
|
||||
|
||||
<p>This document has been reviewed by W3C Members and other
|
||||
interested parties and has been endorsed by the Director as a <a
|
||||
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
|
||||
W3C Recommendation</a>. It is a stable document and may be used as
|
||||
reference material or cited as a normative reference from another
|
||||
document. W3C's role in making the Recommendation is to draw
|
||||
attention to the specification and to promote its widespread
|
||||
deployment. This enhances the functionality and interoperability of
|
||||
the Web.</p>
|
||||
|
||||
<p>This document has been produced as part of the <a
|
||||
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
|
||||
The authors of this document are the DOM Working Group members.
|
||||
Different modules of the Document Object Model have different
|
||||
editors.</p>
|
||||
|
||||
<p>Please send general comments about this document to the public
|
||||
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
|
||||
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
|
||||
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
|
||||
|
||||
<p>The English version of this specification is the only normative
|
||||
version. Information about <a
|
||||
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
|
||||
of this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
|
||||
|
||||
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
|
||||
of known errors</a> in this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
|
||||
|
||||
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
|
||||
Recommendations and other technical documents</a> can be found at
|
||||
http://www.w3.org/TR.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
|
||||
of contents</a></h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='traversal.html'>Chapter 1: Document Object Model
|
||||
Traversal</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='ranges.html'>Chapter
|
||||
2: Document Object Model Range</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='n' href='expanded-toc.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
*/
|
||||
/* Style for a "Recommendation" */
|
||||
|
||||
/*
|
||||
This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
|
||||
Acknowledgments:
|
||||
|
||||
- 'background-color' doesn't work on Mac IE 3, but 'background'
|
||||
does (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
|
||||
'small' is better: works in Mac NS, but is always 12pt in Mac IE
|
||||
3 (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
$Id$
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 2em 1em 2em 70px;
|
||||
font-family: sans-serif;
|
||||
color: black;
|
||||
background: white;
|
||||
background-position: top left;
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
th, td { /* ns 4 */
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { text-align: left }
|
||||
h1, h2, h3 { color: #005A9C }
|
||||
h1 { font: 170% sans-serif }
|
||||
h2 { font: 140% sans-serif }
|
||||
h3 { font: 120% sans-serif }
|
||||
h4 { font: bold 100% sans-serif }
|
||||
h5 { font: italic 100% sans-serif }
|
||||
h6 { font: small-caps 100% sans-serif }
|
||||
|
||||
.hide { display: none }
|
||||
|
||||
div.head { margin-bottom: 1em }
|
||||
div.head h1 { margin-top: 2em; clear: both }
|
||||
div.head table { margin-left: 2em; margin-top: 2em }
|
||||
div.head img { color: white; border: none } /* remove border from top image */
|
||||
|
||||
p.copyright { font-size: small }
|
||||
p.copyright small { font-size: small }
|
||||
|
||||
@media screen { /* hide from IE3 */
|
||||
a:hover { background: #ffa }
|
||||
}
|
||||
|
||||
pre { margin-left: 2em }
|
||||
/*
|
||||
p {
|
||||
margin-top: 0.6em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
*/
|
||||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
|
||||
dt { font-weight: bold }
|
||||
|
||||
pre, code { font-family: monospace } /* navigator 4 requires this */
|
||||
|
||||
ul.toc {
|
||||
list-style: disc; /* Mac NS has problem with 'none' */
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media aural {
|
||||
h1, h2, h3 { stress: 20; richness: 90 }
|
||||
.hide { speak: none }
|
||||
p.copyright { volume: x-soft; speech-rate: x-fast }
|
||||
dt { pause-before: 20% }
|
||||
pre { speak-punctuation: code }
|
||||
}
|
||||
|
||||
/* Things (icons) that should only show up in projection mode */
|
||||
.projection { display: none }
|
||||
@media projection { .projection { display: inline } }
|
||||
|
||||
|
||||
body {
|
||||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:17 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Acknowledgements</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='glossary.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ecma-script-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ecma-script-binding.html'>previous</a> <a
|
||||
accesskey='n' href='glossary.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="contributors" name='contributors'></a>
|
||||
|
||||
<h1 id='contributors-h1' class='adiv1'>Appendix D:
|
||||
Acknowledgements</h1>
|
||||
|
||||
<p>Many people contributed to this specification, including members
|
||||
of the DOM Working Group and the DOM Interest Group. We especially
|
||||
thank the following:</p>
|
||||
|
||||
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
|
||||
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
|
||||
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
|
||||
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
|
||||
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
|
||||
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
|
||||
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
|
||||
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
|
||||
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
|
||||
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
|
||||
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
|
||||
Davis (IBM), Mark Scardina (Oracle), Martin Dürst (W3C), Mick
|
||||
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
|
||||
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
|
||||
(Netscape), Philippe Le Hégaret (W3C, <em>W3C team
|
||||
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
|
||||
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
|
||||
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
|
||||
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
|
||||
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
|
||||
|
||||
<p>Thanks to all those who have helped to improve this
|
||||
specification by sending suggestions and corrections.</p>
|
||||
|
||||
<div class='div2'><a id="Productions" name='Productions'></a>
|
||||
|
||||
<h2 id='Productions-h2' class='adiv2'>D.1: Production Systems</h2>
|
||||
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java
|
||||
and ECMA Script bindings were all produced automatically.</p>
|
||||
|
||||
<p>Thanks to Joe English, author of <a
|
||||
href='http://www.flightlab.com/cost'>cost</a>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
|
||||
who wrote the scripts which run on top of cost. Arnaud Le Hors and
|
||||
Philippe Le Hégaret maintained the scripts.</p>
|
||||
|
||||
<p>For DOM Level 2, we used <a
|
||||
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le
|
||||
Hégaret and Arnaud Le Hors wrote the <a
|
||||
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
|
||||
Java programs</a> which are the DOM application.</p>
|
||||
|
||||
<p>Thanks also to Jan Kärrman, author of <a
|
||||
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
|
||||
use in creating the PostScript version of the specification.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Productions --></div>
|
||||
|
||||
<!-- div1 contributors -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
|
||||
<a accesskey='n' href='glossary.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:53 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Copyright Notice</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='traversal.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='expanded-toc.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='expanded-toc.html'>previous</a> <a accesskey='n'
|
||||
href='traversal.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Copyright-Notice"
|
||||
name='Copyright-Notice'></a>
|
||||
|
||||
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
|
||||
|
||||
<p><b>Copyright © 2000 <a href='http://www.w3.org/'>World Wide
|
||||
Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p>This document is published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a>. The bindings within this document
|
||||
are published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a>. The software license requires
|
||||
"Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made." Consequently, modified versions of the
|
||||
DOM bindings must document that they do not conform to the W3C
|
||||
standard; in the case of the IDL definitions, the pragma prefix can
|
||||
no longer be 'w3c.org'; in the case of the Java Language binding,
|
||||
the package names can no longer be in the 'org.w3c' package.</p>
|
||||
|
||||
<div class='div2'><a id="Copyright-notice-document"
|
||||
name='Copyright-notice-document'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Document Notice
|
||||
and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
|
||||
Notice</a>. By using and/or copying this document, or the W3C
|
||||
document from which this statement is linked, you (the licensee)
|
||||
agree that you have read, understood, and will comply with the
|
||||
following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on <em>ALL</em>
|
||||
copies of the document, or portions thereof, that you use:</p>
|
||||
|
||||
<ol>
|
||||
<li>A link or URL to the original W3C document.</li>
|
||||
|
||||
<li>The pre-existing copyright notice of the original author, or if
|
||||
it doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)</li>
|
||||
|
||||
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
|
||||
</ol>
|
||||
|
||||
<p>When space permits, inclusion of the full text of this
|
||||
<b>NOTICE</b> should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.</p>
|
||||
|
||||
<p>No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the <a
|
||||
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
|
||||
FAQ</a>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.</p>
|
||||
|
||||
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-document -->
|
||||
<div class='div2'><a id="Copyright-notice-software"
|
||||
name='Copyright-notice-software'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Software
|
||||
Copyright Notice and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and modify this software and its
|
||||
documentation, with or without modification, for any purpose and
|
||||
without fee or royalty is hereby granted, provided that you include
|
||||
the following on ALL copies of the software and documentation or
|
||||
portions thereof, including modifications, that you make:</p>
|
||||
|
||||
<ol>
|
||||
<li>The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.</li>
|
||||
|
||||
<li>Any pre-existing intellectual property disclaimers. If none
|
||||
exist, then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."</li>
|
||||
|
||||
<li>Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)</li>
|
||||
</ol>
|
||||
|
||||
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-software --></div>
|
||||
|
||||
<!-- div1 Copyright-Notice -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='expanded-toc.html'>previous</a> <a
|
||||
accesskey='n' href='traversal.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,599 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:18 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='previous' href='references.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='references.html'>previous</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Index" name='Index'></a>
|
||||
|
||||
<h1 id='role-index' class='index'>Index</h1>
|
||||
|
||||
<table
|
||||
summary='the table contains all keywords used in this document'>
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-Position'>16-bit unit</a> <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Position'>1</a>,
|
||||
<a class='index-inst' href='ranges.html#td-selected'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-setStart'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-setEnd'>4</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-16-bit-unit'>5</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-acceptNode'>acceptNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#TreeWalker-Robustness'>ancestor</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#TreeWalker-Robustness'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-parentNode'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>3</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-ancestor'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-ancestor-container'>ancestor container</a> <a
|
||||
class='index-inst' href='ranges.html#td-ancestor-container'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Position'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#td-root-container'>3</a>, <a
|
||||
class='index-inst' href='ranges.html#td-partially-selected'>4</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>5</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>6</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Misc'>7</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-attr-commonParent'>8</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-insertNode'>9</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-surroundContents'>10</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#RangeExceptionCode'>BAD_BOUNDARYPOINTS_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-comparison'>before/after/equal to</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-boundarypoint'>boundary-point</a> <a
|
||||
class='index-inst' href='ranges.html#td-boundarypoint'>1</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Position'>2</a>,
|
||||
<a class='index-inst' href='ranges.html#td-collapsed'>3</a>, <a
|
||||
class='index-inst' href='ranges.html#td-selected'>4</a>, <a
|
||||
class='index-inst' href='ranges.html#td-partially-selected'>5</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Notation'>6</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Creating'>7</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Changing'>8</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Inserting'>9</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-firstChild'>child</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-firstChild'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-lastChild'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Position'>3</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-child'>4</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-cloneContents'>cloneContents</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-clone'>cloneRange</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-collapse'>collapse</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-collapsed'>collapsed</a> <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-attr-collapsed'>1</a>, <a
|
||||
class='index-inst' href='ranges.html#td-collapsed'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Changing'>3</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>4</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deletions'>5</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-commonParent'>commonAncestorContainer</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-compareBoundaryPoints'>compareBoundaryPoints</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-container'>container</a> <a class='index-inst'
|
||||
href='ranges.html#td-container'>1</a>, <a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Position'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#td-collapsed'>3</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Creating'>4</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Changing'>5</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>6</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Misc'>7</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Insertions'>8</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deletions'>9</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-insertNode'>10</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-surroundContents'>11</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#RangeExceptionCode'>12</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-context-tree'>context tree</a> <a
|
||||
class='index-inst' href='ranges.html#td-context-tree'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Extracting'>4</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Cloning'>5</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Inserting'>6</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Surrounding'>7</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIteratorFactory-createNodeIterator'>
|
||||
createNodeIterator</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-DocumentRange-method-createRange'>createRange</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#NodeIteratorFactory-createTreeWalker'>createTreeWalker</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-currentNode'>currentNode</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-commonParent'>deepest</a> <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-attr-commonParent'>1</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-deepest'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-deleteContents'>deleteContents</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-Filters-Usage'>descendant</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-Filters-Usage'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-expandEntityReferences'>
|
||||
2</a>, <a class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-expandEntityReferences'>3</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>4</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-descendant'>5</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-detach'>detach</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-detach'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-detach'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Iterator-overview'>document order</a> <a
|
||||
class='index-inst' href='traversal.html#Iterator-overview'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='glossary.html#dt-documentorder'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-DocumentRange-idl'>DocumentRange</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-Document'>DocumentTraversal</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-overview'>DOM Level 2 Core</a> <a
|
||||
class='index-inst' href='traversal.html#Traversal-overview'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-introduction'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Position'>3</a>,
|
||||
<a class='index-inst' href='references.html#DOMCore'>4</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-compareHow'>END_TO_END</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-compareHow'>END_TO_START</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-endParent'>endContainer</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-endOffset'>endOffset</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-expandEntityReferences'>
|
||||
expandEntityReferences</a> <a class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-expandEntityReferences'>
|
||||
1</a>, <a class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-expandEntityReferences'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-extractContents'>extractContents</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-filter'>filter</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-filter'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-filter'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-acceptNode-constants'>FILTER_ACCEPT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-acceptNode-constants'>FILTER_REJECT</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-acceptNode-constants'>FILTER_SKIP</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-firstChild'>firstChild</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-insertNode'>insertNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#RangeExceptionCode'>INVALID_NODE_TYPE_ERR</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-16-bit-unit'>ISO/IEC 10646</a> <a
|
||||
class='index-inst' href='glossary.html#dt-16-bit-unit'>1</a>, <a
|
||||
class='index-inst' href='references.html#ISO10646'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#Java'>Java</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-lastChild'>lastChild</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-nextNode'>nextNode</a>
|
||||
<a class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-nextNode'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-nextNode'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-nextSibling'>nextSibling</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter'>NodeFilter</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator'>NodeIterator</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-offset'>offset</a> <a class='index-inst'
|
||||
href='ranges.html#td-offset'>1</a>, <a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Position'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#td-collapsed'>3</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Changing'>4</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>5</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Insertions'>6</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Iterator-Robustness'>parent</a> <a
|
||||
class='index-inst' href='traversal.html#Iterator-Robustness'>1</a>,
|
||||
<a class='index-inst' href='traversal.html#TreeWalker'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#TreeWalker-Robustness'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-parentNode'>4</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Changing'>5</a>,
|
||||
<a class='index-inst' href='glossary.html#dt-parent'>6</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-parentNode'>parentNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-partially-selected'>partially selected</a> <a
|
||||
class='index-inst' href='ranges.html#td-partially-selected'>1</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Containment'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>3</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Extracting'>4</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Surrounding'>5</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level2-Range-method-surroundContents'>6</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-previousNode'>previousNode</a>
|
||||
<a class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-previousNode'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-previousNode'>2</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker-previousSibling'>previousSibling</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-idl'>Range</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#RangeException'>RangeException</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-root'>root</a> <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-root'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-root'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-root-container'>root container</a> <a
|
||||
class='index-inst' href='ranges.html#td-root-container'>1</a>, <a
|
||||
class='index-inst' href='ranges.html#td-context-tree'>2</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Changing'>3</a>,
|
||||
<a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>4</a>, <a
|
||||
class='index-inst' href='ranges.html#Level-2-Range-Misc'>5</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#td-selected'>selected</a> <a class='index-inst'
|
||||
href='ranges.html#td-selected'>1</a>, <a class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Containment'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Extracting'>3</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-selectNode'>selectNode</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-selectNodeContents'>selectNodeContents</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-setEnd'>setEnd</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-setEndAfter'>setEndAfter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-setEndBefore'>setEndBefore</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-setStart'>setStart</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-setStartAfter'>setStartAfter</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-setStartBefore'>setStartBefore</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_ALL</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_ATTRIBUTE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_CDATA_SECTION</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_COMMENT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_DOCUMENT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_DOCUMENT_FRAGMENT</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_DOCUMENT_TYPE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_ELEMENT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_ENTITY</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_ENTITY_REFERENCE</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_NOTATION</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_PROCESSING_INSTRUCTION</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeFilter-whatToShow-constants'>SHOW_TEXT</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#TreeWalker'>sibling</a> <a class='index-inst'
|
||||
href='traversal.html#TreeWalker'>1</a>, <a class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker'>2</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-previousSibling'>3</a>,
|
||||
<a class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-nextSibling'>4</a>, <a
|
||||
class='index-inst'
|
||||
href='ranges.html#Level-2-Range-Comparing'>5</a>, <a
|
||||
class='index-inst' href='glossary.html#dt-sibling'>6</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-compareHow'>START_TO_END</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-compareHow'>START_TO_START</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-startParent'>startContainer</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level-2-Range-attr-startOffset'>startOffset</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-surroundContents'>surroundContents</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-tokenized'>tokenized</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='ranges.html#Level2-Range-method-toString'>toString</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-TreeWalker'>TreeWalker</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='glossary.html#dt-16-bit-unit'>Unicode</a> <a
|
||||
class='index-inst' href='glossary.html#dt-16-bit-unit'>1</a>, <a
|
||||
class='index-inst' href='references.html#Unicode'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='traversal.html#Traversal-NodeIterator-whatToShow'>whatToShow</a>
|
||||
<a class='index-inst'
|
||||
href='traversal.html#Traversal-NodeIterator-whatToShow'>1</a>, <a
|
||||
class='index-inst'
|
||||
href='traversal.html#Traversal-TreeWalker-whatToShow'>2</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- div1 Index -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='references.html'>previous</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,584 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:17 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>ECMAScript Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='acknowledgements.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='java-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='java-binding.html'>previous</a> <a accesskey='n'
|
||||
href='acknowledgements.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="ecma-binding" name='ecma-binding'></a>
|
||||
|
||||
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript
|
||||
Language Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete ECMAScript [<a
|
||||
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>]
|
||||
binding for the Level 2 Document Object Model Traversal and Range
|
||||
definitions. The definitions are divided into <a
|
||||
href='#Traversal-ECMA'>Traversal</a>, and <a
|
||||
href='#Range-ECMA'>Range</a>.</p>
|
||||
|
||||
<p><b>Note:</b> Exceptions handling is only supported by ECMAScript
|
||||
implementation conformant with the Standard ECMA-262 3rd. Edition
|
||||
([<a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a>]).</p>
|
||||
|
||||
<div class='div2'><a id="Traversal-ECMA" name='Traversal-ECMA'></a>
|
||||
|
||||
|
||||
<h2 id='Traversal-ECMA-h2' class='adiv2'>C.1: Document Object Model
|
||||
Traversal</h2>
|
||||
|
||||
<div class='ecma-block'>
|
||||
<dl>
|
||||
<dt>Object <b>NodeIterator</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>NodeIterator</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>root</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>whatToShow</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Number</b>.</dd>
|
||||
|
||||
<dt><b>filter</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>NodeFilter</b> object.</dd>
|
||||
|
||||
<dt><b>expandEntityReferences</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>NodeIterator</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>nextNode()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>previousNode()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>detach()</b></dt>
|
||||
|
||||
<dd>This method has no return value.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Prototype Object <b>NodeFilter</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>NodeFilter</b> class has the following constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>NodeFilter.FILTER_ACCEPT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>short</b> and its value is
|
||||
<b>1</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.FILTER_REJECT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>short</b> and its value is
|
||||
<b>2</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.FILTER_SKIP</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>short</b> and its value is
|
||||
<b>3</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_ALL</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0xFFFFFFFF</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_ELEMENT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000001</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_ATTRIBUTE</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000002</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_TEXT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000004</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_CDATA_SECTION</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000008</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_ENTITY_REFERENCE</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000010</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_ENTITY</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000020</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_PROCESSING_INSTRUCTION</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000040</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_COMMENT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000080</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_DOCUMENT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000100</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_DOCUMENT_TYPE</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000200</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_DOCUMENT_FRAGMENT</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000400</b>.</dd>
|
||||
|
||||
<dt><b>NodeFilter.SHOW_NOTATION</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0x00000800</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>NodeFilter</b></dt>
|
||||
|
||||
<dd>This is an ECMAScript function reference. This method returns a
|
||||
<b>Number</b>. The parameter is a <b>Node</b> object.</dd>
|
||||
|
||||
<dt>Object <b>TreeWalker</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>TreeWalker</b> object has the following properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>root</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>whatToShow</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Number</b>.</dd>
|
||||
|
||||
<dt><b>filter</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>NodeFilter</b> object.</dd>
|
||||
|
||||
<dt><b>expandEntityReferences</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b>.</dd>
|
||||
|
||||
<dt><b>currentNode</b></dt>
|
||||
|
||||
<dd>This property is a <b>Node</b> object and can raise a
|
||||
<b>DOMException</b> object on setting.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>TreeWalker</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>parentNode()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>firstChild()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>lastChild()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>previousSibling()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>nextSibling()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>previousNode()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
|
||||
<dt><b>nextNode()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Node</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>DocumentTraversal</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>DocumentTraversal</b> object has the following
|
||||
methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>createNodeIterator(root, whatToShow, filter,
|
||||
entityReferenceExpansion)</b></dt>
|
||||
|
||||
<dd>This method returns a <b>NodeIterator</b> object.<br />
|
||||
The <b>root</b> parameter is a <b>Node</b> object.<br />
|
||||
The <b>whatToShow</b> parameter is of type <b>Number</b>.<br />
|
||||
The <b>filter</b> parameter is a <b>NodeFilter</b> object.<br />
|
||||
The <b>entityReferenceExpansion</b> parameter is of type
|
||||
<b>Boolean</b>.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>createTreeWalker(root, whatToShow, filter,
|
||||
entityReferenceExpansion)</b></dt>
|
||||
|
||||
<dd>This method returns a <b>TreeWalker</b> object.<br />
|
||||
The <b>root</b> parameter is a <b>Node</b> object.<br />
|
||||
The <b>whatToShow</b> parameter is of type <b>Number</b>.<br />
|
||||
The <b>filter</b> parameter is a <b>NodeFilter</b> object.<br />
|
||||
The <b>entityReferenceExpansion</b> parameter is of type
|
||||
<b>Boolean</b>.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- ecma-block -->
|
||||
</div>
|
||||
|
||||
<!-- div2 Traversal-ECMA -->
|
||||
<div class='div2'><a id="Range-ECMA" name='Range-ECMA'></a>
|
||||
|
||||
<h2 id='Range-ECMA-h2' class='adiv2'>C.2: Document Object Model
|
||||
Range</h2>
|
||||
|
||||
<div class='ecma-block'>
|
||||
<dl>
|
||||
<dt>Prototype Object <b>Range</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>Range</b> class has the following constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>Range.START_TO_START</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>0</b>.</dd>
|
||||
|
||||
<dt><b>Range.START_TO_END</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>1</b>.</dd>
|
||||
|
||||
<dt><b>Range.END_TO_END</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>2</b>.</dd>
|
||||
|
||||
<dt><b>Range.END_TO_START</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>3</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>Range</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>Range</b> object has the following properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>startContainer</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object and can raise a
|
||||
<b>DOMException</b> object on retrieval.</dd>
|
||||
|
||||
<dt><b>startOffset</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object and can raise a
|
||||
<b>DOMException</b> object on retrieval.</dd>
|
||||
|
||||
<dt><b>endContainer</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object and can raise a
|
||||
<b>DOMException</b> object on retrieval.</dd>
|
||||
|
||||
<dt><b>endOffset</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>long</b> object and can raise a
|
||||
<b>DOMException</b> object on retrieval.</dd>
|
||||
|
||||
<dt><b>collapsed</b></dt>
|
||||
|
||||
<dd>This read-only property is of type <b>Boolean</b> and can raise
|
||||
a <b>DOMException</b> object on retrieval.</dd>
|
||||
|
||||
<dt><b>commonAncestorContainer</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>Node</b> object and can raise a
|
||||
<b>DOMException</b> object on retrieval.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>The <b>Range</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>setStart(refNode, offset)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
The <b>offset</b> parameter is a <b>long</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>setEnd(refNode, offset)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
The <b>offset</b> parameter is a <b>long</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>setStartBefore(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>setStartAfter(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>setEndBefore(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>setEndAfter(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>collapse(toStart)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>toStart</b> parameter is of type <b>Boolean</b>.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>selectNode(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>selectNodeContents(refNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>refNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>RangeException</b> object or a
|
||||
<b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>compareBoundaryPoints(how, sourceRange)</b></dt>
|
||||
|
||||
<dd>This method returns a <b>short</b> object.<br />
|
||||
The <b>how</b> parameter is of type <b>Number</b>.<br />
|
||||
The <b>sourceRange</b> parameter is a <b>Range</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>deleteContents()</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>extractContents()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>DocumentFragment</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>cloneContents()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>DocumentFragment</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>insertNode(newNode)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>newNode</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object or a
|
||||
<b>RangeException</b> object.</dd>
|
||||
|
||||
<dt><b>surroundContents(newParent)</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
The <b>newParent</b> parameter is a <b>Node</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object or a
|
||||
<b>RangeException</b> object.</dd>
|
||||
|
||||
<dt><b>cloneRange()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Range</b> object.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>toString()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>String</b>.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
|
||||
<dt><b>detach()</b></dt>
|
||||
|
||||
<dd>This method has no return value.<br />
|
||||
This method can raise a <b>DOMException</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>DocumentRange</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>DocumentRange</b> object has the following methods:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>createRange()</b></dt>
|
||||
|
||||
<dd>This method returns a <b>Range</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Prototype Object <b>RangeException</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>RangeException</b> class has the following
|
||||
constants:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>RangeException.BAD_BOUNDARYPOINTS_ERR</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>1</b>.</dd>
|
||||
|
||||
<dt><b>RangeException.INVALID_NODE_TYPE_ERR</b></dt>
|
||||
|
||||
<dd>This constant is of type <b>Number</b> and its value is
|
||||
<b>2</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>RangeException</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>RangeException</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>code</b></dt>
|
||||
|
||||
<dd>This property is of type <b>Number</b>.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- ecma-block -->
|
||||
</div>
|
||||
|
||||
<!-- div2 Range-ECMA --></div>
|
||||
|
||||
<!-- div1 ecma-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='java-binding.html'>previous</a> <a
|
||||
accesskey='n' href='acknowledgements.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,246 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:45:52 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Expanded Table of Contents</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='copyright-notice.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='Overview.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='Overview.html'>previous</a> <a accesskey='n'
|
||||
href='copyright-notice.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="TOC" name='TOC'></a>
|
||||
|
||||
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='traversal.html'>Chapter 1: Document Object Model
|
||||
Traversal</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='traversal.html#Traversal-overview'>1.1. Overview</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='traversal.html#Iterator-overview'>1.1.1.
|
||||
NodeIterators</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='traversal.html#Traversal-Filters'>1.1.2. NodeFilters</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='traversal.html#TreeWalker'>1.1.3. TreeWalker</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='traversal.html#Traversal-IDLDefinition'>1.2. Formal Interface
|
||||
Definition</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref' href='ranges.html'>Chapter
|
||||
2: Document Object Model Range</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-introduction'>2.1.
|
||||
Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Definitions'>2.2. Definitions and
|
||||
Notation</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Position'>2.2.1. Position</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Containment'>2.2.2. Selection and
|
||||
Partial Selection</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Notation'>2.2.3. Notation</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Creating'>2.3. Creating a
|
||||
Range</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Changing'>2.4. Changing a Range's
|
||||
Position</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Comparing'>2.5. Comparing Range
|
||||
Boundary-Points</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Deleting-Content'>2.6. Deleting
|
||||
Content with a Range</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Extracting'>2.7. Extracting
|
||||
Content</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Cloning'>2.8. Cloning
|
||||
Content</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Inserting'>2.9. Inserting
|
||||
Content</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Surrounding'>2.10. Surrounding
|
||||
Content</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Misc'>2.11. Miscellaneous
|
||||
Members</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Mutation'>2.12. Range modification
|
||||
under document mutation</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Insertions'>2.12.1.
|
||||
Insertions</a></li>
|
||||
|
||||
<li class='tocline4'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Deletions'>2.12.2.
|
||||
Deletions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ranges.html#Level-2-Range-Interface'>2.13. Formal Description
|
||||
of the Range Interface</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='idl-definitions.html#Traversal-IDL'>A.1. Document Object
|
||||
Model Traversal</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='idl-definitions.html#Range-IDL'>A.2. Document Object Model
|
||||
Range</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='java-binding.html#Traversal-Java'>B.1. Document Object Model
|
||||
Traversal</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='java-binding.html#Range-Java'>B.2. Document Object Model
|
||||
Range</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ecma-script-binding.html#Traversal-ECMA'>C.1. Document Object
|
||||
Model Traversal</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='ecma-script-binding.html#Range-ECMA'>C.2. Document Object
|
||||
Model Range</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='acknowledgements.html#Productions'>D.1. Production
|
||||
Systems</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='glossary.html'>Glossary</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Normative'>1. Normative
|
||||
references</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div1 TOC -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='Overview.html'>previous</a> <a
|
||||
accesskey='n' href='copyright-notice.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:17 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Glossary</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='references.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='acknowledgements.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='acknowledgements.html'>previous</a> <a accesskey='n'
|
||||
href='references.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="glossary" name='glossary'></a>
|
||||
|
||||
<h1 id='role-glossary' class='glossary'>Glossary</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Arnaud Le Hors, IBM</dd>
|
||||
|
||||
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
|
||||
|
||||
<dd>Robert S. Sutor, IBM (for DOM Level 1)</dd>
|
||||
</dl>
|
||||
|
||||
<p>Several of the following term definitions have been borrowed or
|
||||
modified from similar definitions in other W3C or standards
|
||||
documents. See the links within the definitions for more
|
||||
information.</p>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="dt-16-bit-unit" name='dt-16-bit-unit'>16-bit
|
||||
unit</a></b></dt>
|
||||
|
||||
<dd>The base unit of a <code>DOMString</code>. This indicates that
|
||||
indexing on a <code>DOMString</code> occurs in units of 16 bits.
|
||||
This must not be misunderstood to mean that a
|
||||
<code>DOMString</code> can store arbitrary 16-bit units. A
|
||||
<code>DOMString</code> is a character string encoded in UTF-16;
|
||||
this means that the restrictions of UTF-16 as well as the other
|
||||
relevant restrictions on character strings must be maintained. A
|
||||
single character, for example in the form of a numeric character
|
||||
reference, may correspond to one or two 16-bit units.<br />
|
||||
For more information, see [<a class='noxref'
|
||||
href='references.html#Unicode'>Unicode</a>] and [<a class='noxref'
|
||||
href='references.html#ISO10646'>ISO/IEC 10646</a>].</dd>
|
||||
|
||||
<dt><b><a id="dt-ancestor" name='dt-ancestor'>ancestor</a></b></dt>
|
||||
|
||||
<dd>An <i>ancestor</i> node of any node A is any node above A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-child" name='dt-child'>child</a></b></dt>
|
||||
|
||||
<dd>A <i>child</i> is an immediate <i>descendant</i> node of a
|
||||
node.</dd>
|
||||
|
||||
<dt><b><a id="dt-deepest" name='dt-deepest'>deepest</a></b></dt>
|
||||
|
||||
<dd>The <i>deepest</i> element is that element which is furthest
|
||||
from the root or document element in a tree model of the
|
||||
document.</dd>
|
||||
|
||||
<dt><b><a id="dt-documentorder" name='dt-documentorder'>document
|
||||
order</a></b></dt>
|
||||
|
||||
<dd>The term <i>document order</i> has the same meaning as depth
|
||||
first, pre-order traversal, which is equivalent to the order in
|
||||
which the start tags occur in the text representation of the
|
||||
document.</dd>
|
||||
|
||||
<dt><b><a id="dt-descendant"
|
||||
name='dt-descendant'>descendant</a></b></dt>
|
||||
|
||||
<dd>A <i>descendant</i> node of any node A is any node below A in a
|
||||
tree model of a document, where "above" means "toward the
|
||||
root."</dd>
|
||||
|
||||
<dt><b><a id="dt-parent" name='dt-parent'>parent</a></b></dt>
|
||||
|
||||
<dd>A <i>parent</i> is an immediate <i>ancestor</i> node of a
|
||||
node.</dd>
|
||||
|
||||
<dt><b><a id="dt-sibling" name='dt-sibling'>sibling</a></b></dt>
|
||||
|
||||
<dd>Two nodes are <i>siblings</i> if and only if they have the same
|
||||
<i>parent</i> node.</dd>
|
||||
|
||||
<dt><b><a id="dt-tokenized"
|
||||
name='dt-tokenized'>tokenized</a></b></dt>
|
||||
|
||||
<dd>The description given to various information items (for
|
||||
example, attribute values of various types, but not including the
|
||||
StringType CDATA) after having been processed by the XML processor.
|
||||
The process includes stripping leading and trailing white space,
|
||||
and replacing multiple space characters by one. See the definition
|
||||
of tokenized type.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div1 glossary -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='acknowledgements.html'>previous</a>
|
||||
<a accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,284 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:04 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>IDL Definitions</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='java-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ranges.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ranges.html'>previous</a> <a accesskey='n'
|
||||
href='java-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="idl" name='idl'></a>
|
||||
|
||||
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
|
||||
|
||||
<p>This appendix contains the complete OMG IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
|
||||
Object Model Traversal and Range definitions. The definitions are
|
||||
divided into <a href='#Traversal-IDL'>Traversal</a>, and <a
|
||||
href='#Range-IDL'>Range</a>.</p>
|
||||
|
||||
<p>The IDL files are also available as: <a
|
||||
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/idl.zip</a></p>
|
||||
|
||||
<div class='div2'><a id="Traversal-IDL" name='Traversal-IDL'></a>
|
||||
|
||||
<h2 id='Traversal-IDL-h2' class='adiv2'>A.1: Document Object Model
|
||||
Traversal</h2>
|
||||
|
||||
<h3 id='idl-traversal.idl'><a
|
||||
href='idl/traversal.idl'>traversal.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: traversal.idl
|
||||
|
||||
#ifndef _TRAVERSAL_IDL_
|
||||
#define _TRAVERSAL_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module traversal
|
||||
{
|
||||
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface NodeFilter;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface NodeIterator {
|
||||
readonly attribute Node root;
|
||||
readonly attribute unsigned long whatToShow;
|
||||
readonly attribute NodeFilter filter;
|
||||
readonly attribute boolean expandEntityReferences;
|
||||
Node nextNode()
|
||||
raises(dom::DOMException);
|
||||
Node previousNode()
|
||||
raises(dom::DOMException);
|
||||
void detach();
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface NodeFilter {
|
||||
|
||||
// Constants returned by acceptNode
|
||||
const short FILTER_ACCEPT = 1;
|
||||
const short FILTER_REJECT = 2;
|
||||
const short FILTER_SKIP = 3;
|
||||
|
||||
|
||||
// Constants for whatToShow
|
||||
const unsigned long SHOW_ALL = 0xFFFFFFFF;
|
||||
const unsigned long SHOW_ELEMENT = 0x00000001;
|
||||
const unsigned long SHOW_ATTRIBUTE = 0x00000002;
|
||||
const unsigned long SHOW_TEXT = 0x00000004;
|
||||
const unsigned long SHOW_CDATA_SECTION = 0x00000008;
|
||||
const unsigned long SHOW_ENTITY_REFERENCE = 0x00000010;
|
||||
const unsigned long SHOW_ENTITY = 0x00000020;
|
||||
const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x00000040;
|
||||
const unsigned long SHOW_COMMENT = 0x00000080;
|
||||
const unsigned long SHOW_DOCUMENT = 0x00000100;
|
||||
const unsigned long SHOW_DOCUMENT_TYPE = 0x00000200;
|
||||
const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x00000400;
|
||||
const unsigned long SHOW_NOTATION = 0x00000800;
|
||||
|
||||
short acceptNode(in Node n);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface TreeWalker {
|
||||
readonly attribute Node root;
|
||||
readonly attribute unsigned long whatToShow;
|
||||
readonly attribute NodeFilter filter;
|
||||
readonly attribute boolean expandEntityReferences;
|
||||
attribute Node currentNode;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
Node parentNode();
|
||||
Node firstChild();
|
||||
Node lastChild();
|
||||
Node previousSibling();
|
||||
Node nextSibling();
|
||||
Node previousNode();
|
||||
Node nextNode();
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentTraversal {
|
||||
NodeIterator createNodeIterator(in Node root,
|
||||
in unsigned long whatToShow,
|
||||
in NodeFilter filter,
|
||||
in boolean entityReferenceExpansion)
|
||||
raises(dom::DOMException);
|
||||
TreeWalker createTreeWalker(in Node root,
|
||||
in unsigned long whatToShow,
|
||||
in NodeFilter filter,
|
||||
in boolean entityReferenceExpansion)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _TRAVERSAL_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 Traversal-IDL -->
|
||||
<div class='div2'><a id="Range-IDL" name='Range-IDL'></a>
|
||||
|
||||
<h2 id='Range-IDL-h2' class='adiv2'>A.2: Document Object Model
|
||||
Range</h2>
|
||||
|
||||
<h3 id='idl-ranges.idl'><a
|
||||
href='idl/ranges.idl'>ranges.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: ranges.idl
|
||||
|
||||
#ifndef _RANGES_IDL_
|
||||
#define _RANGES_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module ranges
|
||||
{
|
||||
|
||||
typedef dom::Node Node;
|
||||
typedef dom::DocumentFragment DocumentFragment;
|
||||
typedef dom::DOMString DOMString;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
exception RangeException {
|
||||
unsigned short code;
|
||||
};
|
||||
// RangeExceptionCode
|
||||
const unsigned short BAD_BOUNDARYPOINTS_ERR = 1;
|
||||
const unsigned short INVALID_NODE_TYPE_ERR = 2;
|
||||
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Range {
|
||||
readonly attribute Node startContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute long startOffset;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute Node endContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute long endOffset;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute boolean collapsed;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute Node commonAncestorContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
void setStart(in Node refNode,
|
||||
in long offset)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEnd(in Node refNode,
|
||||
in long offset)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setStartBefore(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setStartAfter(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEndBefore(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEndAfter(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void collapse(in boolean toStart)
|
||||
raises(dom::DOMException);
|
||||
void selectNode(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void selectNodeContents(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
|
||||
// CompareHow
|
||||
const unsigned short START_TO_START = 0;
|
||||
const unsigned short START_TO_END = 1;
|
||||
const unsigned short END_TO_END = 2;
|
||||
const unsigned short END_TO_START = 3;
|
||||
|
||||
short compareBoundaryPoints(in unsigned short how,
|
||||
in Range sourceRange)
|
||||
raises(dom::DOMException);
|
||||
void deleteContents()
|
||||
raises(dom::DOMException);
|
||||
DocumentFragment extractContents()
|
||||
raises(dom::DOMException);
|
||||
DocumentFragment cloneContents()
|
||||
raises(dom::DOMException);
|
||||
void insertNode(in Node newNode)
|
||||
raises(dom::DOMException,
|
||||
RangeException);
|
||||
void surroundContents(in Node newParent)
|
||||
raises(dom::DOMException,
|
||||
RangeException);
|
||||
Range cloneRange()
|
||||
raises(dom::DOMException);
|
||||
DOMString toString()
|
||||
raises(dom::DOMException);
|
||||
void detach()
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentRange {
|
||||
Range createRange();
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _RANGES_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 Range-IDL --></div>
|
||||
|
||||
<!-- div1 idl -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ranges.html'>previous</a> <a
|
||||
accesskey='n' href='java-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,122 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/ranges.idl
|
||||
|
||||
#ifndef _RANGES_IDL_
|
||||
#define _RANGES_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module ranges
|
||||
{
|
||||
|
||||
typedef dom::Node Node;
|
||||
typedef dom::DocumentFragment DocumentFragment;
|
||||
typedef dom::DOMString DOMString;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
exception RangeException {
|
||||
unsigned short code;
|
||||
};
|
||||
// RangeExceptionCode
|
||||
const unsigned short BAD_BOUNDARYPOINTS_ERR = 1;
|
||||
const unsigned short INVALID_NODE_TYPE_ERR = 2;
|
||||
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface Range {
|
||||
readonly attribute Node startContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute long startOffset;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute Node endContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute long endOffset;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute boolean collapsed;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
readonly attribute Node commonAncestorContainer;
|
||||
// raises(dom::DOMException) on retrieval
|
||||
|
||||
void setStart(in Node refNode,
|
||||
in long offset)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEnd(in Node refNode,
|
||||
in long offset)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setStartBefore(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setStartAfter(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEndBefore(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void setEndAfter(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void collapse(in boolean toStart)
|
||||
raises(dom::DOMException);
|
||||
void selectNode(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
void selectNodeContents(in Node refNode)
|
||||
raises(RangeException,
|
||||
dom::DOMException);
|
||||
|
||||
// CompareHow
|
||||
const unsigned short START_TO_START = 0;
|
||||
const unsigned short START_TO_END = 1;
|
||||
const unsigned short END_TO_END = 2;
|
||||
const unsigned short END_TO_START = 3;
|
||||
|
||||
short compareBoundaryPoints(in unsigned short how,
|
||||
in Range sourceRange)
|
||||
raises(dom::DOMException);
|
||||
void deleteContents()
|
||||
raises(dom::DOMException);
|
||||
DocumentFragment extractContents()
|
||||
raises(dom::DOMException);
|
||||
DocumentFragment cloneContents()
|
||||
raises(dom::DOMException);
|
||||
void insertNode(in Node newNode)
|
||||
raises(dom::DOMException,
|
||||
RangeException);
|
||||
void surroundContents(in Node newParent)
|
||||
raises(dom::DOMException,
|
||||
RangeException);
|
||||
Range cloneRange()
|
||||
raises(dom::DOMException);
|
||||
DOMString toString()
|
||||
raises(dom::DOMException);
|
||||
void detach()
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentRange {
|
||||
Range createRange();
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _RANGES_IDL_
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/traversal.idl
|
||||
|
||||
#ifndef _TRAVERSAL_IDL_
|
||||
#define _TRAVERSAL_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module traversal
|
||||
{
|
||||
|
||||
typedef dom::Node Node;
|
||||
|
||||
interface NodeFilter;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface NodeIterator {
|
||||
readonly attribute Node root;
|
||||
readonly attribute unsigned long whatToShow;
|
||||
readonly attribute NodeFilter filter;
|
||||
readonly attribute boolean expandEntityReferences;
|
||||
Node nextNode()
|
||||
raises(dom::DOMException);
|
||||
Node previousNode()
|
||||
raises(dom::DOMException);
|
||||
void detach();
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface NodeFilter {
|
||||
|
||||
// Constants returned by acceptNode
|
||||
const short FILTER_ACCEPT = 1;
|
||||
const short FILTER_REJECT = 2;
|
||||
const short FILTER_SKIP = 3;
|
||||
|
||||
|
||||
// Constants for whatToShow
|
||||
const unsigned long SHOW_ALL = 0xFFFFFFFF;
|
||||
const unsigned long SHOW_ELEMENT = 0x00000001;
|
||||
const unsigned long SHOW_ATTRIBUTE = 0x00000002;
|
||||
const unsigned long SHOW_TEXT = 0x00000004;
|
||||
const unsigned long SHOW_CDATA_SECTION = 0x00000008;
|
||||
const unsigned long SHOW_ENTITY_REFERENCE = 0x00000010;
|
||||
const unsigned long SHOW_ENTITY = 0x00000020;
|
||||
const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x00000040;
|
||||
const unsigned long SHOW_COMMENT = 0x00000080;
|
||||
const unsigned long SHOW_DOCUMENT = 0x00000100;
|
||||
const unsigned long SHOW_DOCUMENT_TYPE = 0x00000200;
|
||||
const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x00000400;
|
||||
const unsigned long SHOW_NOTATION = 0x00000800;
|
||||
|
||||
short acceptNode(in Node n);
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface TreeWalker {
|
||||
readonly attribute Node root;
|
||||
readonly attribute unsigned long whatToShow;
|
||||
readonly attribute NodeFilter filter;
|
||||
readonly attribute boolean expandEntityReferences;
|
||||
attribute Node currentNode;
|
||||
// raises(dom::DOMException) on setting
|
||||
|
||||
Node parentNode();
|
||||
Node firstChild();
|
||||
Node lastChild();
|
||||
Node previousSibling();
|
||||
Node nextSibling();
|
||||
Node previousNode();
|
||||
Node nextNode();
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentTraversal {
|
||||
NodeIterator createNodeIterator(in Node root,
|
||||
in unsigned long whatToShow,
|
||||
in NodeFilter filter,
|
||||
in boolean entityReferenceExpansion)
|
||||
raises(dom::DOMException);
|
||||
TreeWalker createTreeWalker(in Node root,
|
||||
in unsigned long whatToShow,
|
||||
in NodeFilter filter,
|
||||
in boolean entityReferenceExpansion)
|
||||
raises(dom::DOMException);
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _TRAVERSAL_IDL_
|
||||
|
||||
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 988 B |
@@ -0,0 +1,338 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:07 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Java Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='ecma-script-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='idl-definitions.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='idl-definitions.html'>previous</a> <a accesskey='n'
|
||||
href='ecma-script-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="java-binding" name='java-binding'></a>
|
||||
|
||||
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language
|
||||
Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete Java Language [<a
|
||||
class='noxref' href='references.html#Java'>Java</a>] binding for
|
||||
the Level 2 Document Object Model Traversal and Range. The
|
||||
definitions are divided into <a
|
||||
href='#Traversal-Java'>Traversal</a>, and <a
|
||||
href='#Range-Java'>Range</a>.</p>
|
||||
|
||||
<p>The Java files are also available as <a
|
||||
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/java-binding.zip</a></p>
|
||||
|
||||
<div class='div2'><a id="Traversal-Java" name='Traversal-Java'></a>
|
||||
|
||||
|
||||
<h2 id='Traversal-Java-h2' class='adiv2'>B.1: Document Object Model
|
||||
Traversal</h2>
|
||||
|
||||
<h3 id='org.w3c.dom.traversal.NodeIterator'>
|
||||
org/w3c/dom/traversal/NodeIterator.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.traversal;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface NodeIterator {
|
||||
public Node getRoot();
|
||||
|
||||
public int getWhatToShow();
|
||||
|
||||
public NodeFilter getFilter();
|
||||
|
||||
public boolean getExpandEntityReferences();
|
||||
|
||||
public Node nextNode()
|
||||
throws DOMException;
|
||||
|
||||
public Node previousNode()
|
||||
throws DOMException;
|
||||
|
||||
public void detach();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.traversal.NodeFilter'>
|
||||
org/w3c/dom/traversal/NodeFilter.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.traversal;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
public interface NodeFilter {
|
||||
// Constants returned by acceptNode
|
||||
public static final short FILTER_ACCEPT = 1;
|
||||
public static final short FILTER_REJECT = 2;
|
||||
public static final short FILTER_SKIP = 3;
|
||||
|
||||
// Constants for whatToShow
|
||||
public static final int SHOW_ALL = 0xFFFFFFFF;
|
||||
public static final int SHOW_ELEMENT = 0x00000001;
|
||||
public static final int SHOW_ATTRIBUTE = 0x00000002;
|
||||
public static final int SHOW_TEXT = 0x00000004;
|
||||
public static final int SHOW_CDATA_SECTION = 0x00000008;
|
||||
public static final int SHOW_ENTITY_REFERENCE = 0x00000010;
|
||||
public static final int SHOW_ENTITY = 0x00000020;
|
||||
public static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
|
||||
public static final int SHOW_COMMENT = 0x00000080;
|
||||
public static final int SHOW_DOCUMENT = 0x00000100;
|
||||
public static final int SHOW_DOCUMENT_TYPE = 0x00000200;
|
||||
public static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
|
||||
public static final int SHOW_NOTATION = 0x00000800;
|
||||
|
||||
public short acceptNode(Node n);
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.traversal.TreeWalker'>
|
||||
org/w3c/dom/traversal/TreeWalker.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.traversal;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface TreeWalker {
|
||||
public Node getRoot();
|
||||
|
||||
public int getWhatToShow();
|
||||
|
||||
public NodeFilter getFilter();
|
||||
|
||||
public boolean getExpandEntityReferences();
|
||||
|
||||
public Node getCurrentNode();
|
||||
public void setCurrentNode(Node currentNode)
|
||||
throws DOMException;
|
||||
|
||||
public Node parentNode();
|
||||
|
||||
public Node firstChild();
|
||||
|
||||
public Node lastChild();
|
||||
|
||||
public Node previousSibling();
|
||||
|
||||
public Node nextSibling();
|
||||
|
||||
public Node previousNode();
|
||||
|
||||
public Node nextNode();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.traversal.DocumentTraversal'>
|
||||
org/w3c/dom/traversal/DocumentTraversal.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.traversal;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface DocumentTraversal {
|
||||
public NodeIterator createNodeIterator(Node root,
|
||||
int whatToShow,
|
||||
NodeFilter filter,
|
||||
boolean entityReferenceExpansion)
|
||||
throws DOMException;
|
||||
|
||||
public TreeWalker createTreeWalker(Node root,
|
||||
int whatToShow,
|
||||
NodeFilter filter,
|
||||
boolean entityReferenceExpansion)
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 Traversal-Java -->
|
||||
<div class='div2'><a id="Range-Java" name='Range-Java'></a>
|
||||
|
||||
<h2 id='Range-Java-h2' class='adiv2'>B.2: Document Object Model
|
||||
Range</h2>
|
||||
|
||||
<h3 id='org.w3c.dom.ranges.RangeException'>
|
||||
org/w3c/dom/ranges/RangeException.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.ranges;
|
||||
|
||||
public class RangeException extends RuntimeException {
|
||||
public RangeException(short code, String message) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
public short code;
|
||||
// RangeExceptionCode
|
||||
public static final short BAD_BOUNDARYPOINTS_ERR = 1;
|
||||
public static final short INVALID_NODE_TYPE_ERR = 2;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.ranges.Range'>
|
||||
org/w3c/dom/ranges/Range.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.ranges;
|
||||
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.DocumentFragment;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface Range {
|
||||
public Node getStartContainer()
|
||||
throws DOMException;
|
||||
|
||||
public int getStartOffset()
|
||||
throws DOMException;
|
||||
|
||||
public Node getEndContainer()
|
||||
throws DOMException;
|
||||
|
||||
public int getEndOffset()
|
||||
throws DOMException;
|
||||
|
||||
public boolean getCollapsed()
|
||||
throws DOMException;
|
||||
|
||||
public Node getCommonAncestorContainer()
|
||||
throws DOMException;
|
||||
|
||||
public void setStart(Node refNode,
|
||||
int offset)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void setEnd(Node refNode,
|
||||
int offset)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void setStartBefore(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void setStartAfter(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void setEndBefore(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void setEndAfter(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void collapse(boolean toStart)
|
||||
throws DOMException;
|
||||
|
||||
public void selectNode(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
public void selectNodeContents(Node refNode)
|
||||
throws RangeException, DOMException;
|
||||
|
||||
// CompareHow
|
||||
public static final short START_TO_START = 0;
|
||||
public static final short START_TO_END = 1;
|
||||
public static final short END_TO_END = 2;
|
||||
public static final short END_TO_START = 3;
|
||||
|
||||
public short compareBoundaryPoints(short how,
|
||||
Range sourceRange)
|
||||
throws DOMException;
|
||||
|
||||
public void deleteContents()
|
||||
throws DOMException;
|
||||
|
||||
public DocumentFragment extractContents()
|
||||
throws DOMException;
|
||||
|
||||
public DocumentFragment cloneContents()
|
||||
throws DOMException;
|
||||
|
||||
public void insertNode(Node newNode)
|
||||
throws DOMException, RangeException;
|
||||
|
||||
public void surroundContents(Node newParent)
|
||||
throws DOMException, RangeException;
|
||||
|
||||
public Range cloneRange()
|
||||
throws DOMException;
|
||||
|
||||
public String toString()
|
||||
throws DOMException;
|
||||
|
||||
public void detach()
|
||||
throws DOMException;
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.ranges.DocumentRange'>
|
||||
org/w3c/dom/ranges/DocumentRange.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.ranges;
|
||||
|
||||
public interface DocumentRange {
|
||||
public Range createRange();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div2 Range-Java --></div>
|
||||
|
||||
<!-- div1 java-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='idl-definitions.html'>previous</a> <a
|
||||
accesskey='n' href='ecma-script-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:46:18 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>References</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='def-index.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='glossary.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='glossary.html'>previous</a> <a accesskey='n'
|
||||
href='def-index.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="References" name='References'></a>
|
||||
|
||||
<h1 id='role-references' class='references'>References</h1>
|
||||
|
||||
<p>For the latest version of any W3C specification please consult
|
||||
the list of <a href='http://www.w3.org/TR'>W3C Technical
|
||||
Reports</a> available at http://www.w3.org/TR.</p>
|
||||
|
||||
<div class='div2'><a id="References-Normative"
|
||||
name='References-Normative'></a>
|
||||
|
||||
<h2 id='References-Normative-h2' class='adiv2'>F.1: Normative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
|
||||
Object Model Level 2 Core Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
|
||||
|
||||
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>ECMA (European Computer Manufacturers Association) <a
|
||||
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
|
||||
Language Specification</a>. Available at
|
||||
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
|
||||
|
||||
<dt><b><a id="ISO10646" name='ISO10646'>ISO/IEC 10646</a></b></dt>
|
||||
|
||||
<dd>ISO (International Organization for Standardization). ISO/IEC
|
||||
10646-1:2000 (E). Information technology - Universal Multiple-Octet
|
||||
Coded Character Set (UCS) - Part 1: Architecture and Basic
|
||||
Multilingual Plane. [Geneva]: International Organization for
|
||||
Standardization.</dd>
|
||||
|
||||
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/docs/books/jls'>The Java Language
|
||||
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
|
||||
September 1996. Available at
|
||||
http://java.sun.com/docs/books/jls</dd>
|
||||
|
||||
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
IDL (Interface Definition Language) defined in The Common Object
|
||||
Request Broker: Architecture and Specification, version 2.3.1,
|
||||
October 1999. Available from http://www.omg.org/</dd>
|
||||
|
||||
<dt><b><a id="Unicode" name='Unicode'>Unicode</a></b></dt>
|
||||
|
||||
<dd>The Unicode Consortium. <a
|
||||
href='http://www.unicode.org/unicode/standard/versions/Unicode3.0.html'>
|
||||
The Unicode Standard, Version 3.0.</a>, February 2000. Available at
|
||||
http://www.unicode.org/unicode/standard/versions/Unicode3.0.html.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Normative --></div>
|
||||
|
||||
<!-- div1 References -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='glossary.html'>previous</a> <a
|
||||
accesskey='n' href='def-index.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
H4 {
|
||||
text-align: left;
|
||||
font-family: sans-serif;
|
||||
font-weight: normal;
|
||||
color: #0050B2;
|
||||
}
|
||||
.idl-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
.java-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.ecma-block {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.interface-name {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.attribute-name {
|
||||
color: black;
|
||||
background-color: #FFFFD2;
|
||||
}
|
||||
|
||||
.constant-name {
|
||||
color: black;
|
||||
background-color: #DDFFD2;
|
||||
}
|
||||
|
||||
.method-name {
|
||||
color: black;
|
||||
background-color: #D9E6F8;
|
||||
}
|
||||
|
||||
.parameter-name {
|
||||
color: black;
|
||||
background-color: #FEE6F8;
|
||||
}
|
||||
|
||||
UL.toc, OL.toc {list-style: none}
|
||||
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
|
||||
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
|
||||
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
|
||||
LI.tocline1 {font-weight: bold}
|
||||
LI.tocline2 {font-weight: normal}
|
||||
LI.tocline4 {font-style: italic}
|
||||
|
||||
code { font-family: monospace }
|
||||
|
||||
div.paramtable { margin-left: 1em }
|
||||
div.returntable { margin-left: 1em }
|
||||
div.exceptiontable { margin-left: 1em }
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>W3C IPR SOFTWARE NOTICE</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<h1>
|
||||
W3C IPR SOFTWARE NOTICE
|
||||
</h1>
|
||||
<h3>
|
||||
Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</h3>
|
||||
<p>
|
||||
The DOM bindings are published under the W3C Software Copyright Notice
|
||||
and License. The software license requires "Notice of any changes or
|
||||
modifications to the W3C files, including the date changes were made."
|
||||
Consequently, modified versions of the DOM bindings must document that
|
||||
they do not conform to the W3C standard; in the case of the IDL binding,
|
||||
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
|
||||
binding, the package names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<p>
|
||||
<b>Note:</b> The original version of the W3C Software Copyright Notice
|
||||
and License could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
|
||||
</p>
|
||||
<h3>
|
||||
Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/
|
||||
</h3>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or
|
||||
royalty is hereby granted, provided that you include the following on ALL
|
||||
copies of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
</li>
|
||||
<li>
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, a short notice of the following form
|
||||
(hypertext is preferred, text is permitted) should be used within the
|
||||
body of any redistributed or derivative code: "Copyright ©
|
||||
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
|
||||
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</a>, <a
|
||||
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/"
|
||||
</li>
|
||||
<li>
|
||||
Notice of any changes or modifications to the W3C files, including the
|
||||
date changes were made. (We recommend you provide URIs to the location
|
||||
from which the code is derived.)
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright
|
||||
holders.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:39 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model (DOM) Level 2 Views
|
||||
Specification</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='expanded-toc.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='n'
|
||||
href='expanded-toc.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='head'>
|
||||
<p><a href='http://www.w3.org/'><img height='48' width='72'
|
||||
alt='W3C' src='./images/w3c_home.gif' /></a></p>
|
||||
|
||||
<h1 id='title'>Document Object Model (DOM) Level 2 Views
|
||||
Specification</h1>
|
||||
|
||||
<h2 id='version'>Version 1.0</h2>
|
||||
|
||||
<!-- REC-DOM-Level-2-Views-20001113
|
||||
-->
|
||||
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
|
||||
2000</i></h2>
|
||||
|
||||
<dl>
|
||||
<dt>This version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113</a><br />
|
||||
(<a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.ps'>
|
||||
PostScript file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.pdf'>
|
||||
PDF file</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.txt'>
|
||||
plain text</a> , <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.zip'>
|
||||
ZIP file</a>)</dd>
|
||||
|
||||
<dt>Latest version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Views'>http://www.w3.org/TR/DOM-Level-2-Views</a></dd>
|
||||
|
||||
<dt>Previous version:</dt>
|
||||
|
||||
<dd><a
|
||||
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Views-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Views-20000927</a></dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>Editors:</dt>
|
||||
|
||||
<dd>Arnaud Le Hors, <i>W3C team contact until October 1999, then
|
||||
IBM</i></dd>
|
||||
|
||||
<dd>Laurence Cable, <i>Sun Microsystems</i></dd>
|
||||
</dl>
|
||||
|
||||
<p class='copyright'>Copyright © 2000 <a
|
||||
href='http://www.w3.org/'><abbr
|
||||
title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>
|
||||
(<a href='http://www.lcs.mit.edu/'><abbr
|
||||
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
|
||||
href='http://www.inria.fr/'><abbr lang='fr'
|
||||
title='Institut National de Recherche en Informatique et Automatique'>
|
||||
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
|
||||
Rights Reserved. W3C <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
|
||||
liability</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
|
||||
trademark</a>, <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
document use</a> and <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
software licensing</a> rules apply.</p>
|
||||
</div>
|
||||
|
||||
<hr title='separator from header' />
|
||||
<h2 id='abstract'>Abstract</h2>
|
||||
|
||||
<div class='abstract'>
|
||||
<p>This specification defines the Document Object Model Level 2
|
||||
Views, a platform- and language-neutral interface that allows
|
||||
programs and scripts to dynamically access and update the content
|
||||
of a representation of a document. The Document Object Model Level
|
||||
2 Views builds on the Document Object Model Level 2 Core [<a
|
||||
class='noxref' href='references.html#DOMCore'>DOM Level 2
|
||||
Core</a>].</p>
|
||||
</div>
|
||||
|
||||
<h2 id='status'>Status of this document</h2>
|
||||
|
||||
<div class='status'>
|
||||
<p><em>This section describes the status of this document at the
|
||||
time of its publication. Other documents may supersede this
|
||||
document. The latest status of this document series is maintained
|
||||
at the W3C.</em></p>
|
||||
|
||||
<p>This document has been reviewed by W3C Members and other
|
||||
interested parties and has been endorsed by the Director as a <a
|
||||
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
|
||||
W3C Recommendation</a>. It is a stable document and may be used as
|
||||
reference material or cited as a normative reference from another
|
||||
document. W3C's role in making the Recommendation is to draw
|
||||
attention to the specification and to promote its widespread
|
||||
deployment. This enhances the functionality and interoperability of
|
||||
the Web.</p>
|
||||
|
||||
<p>This document has been produced as part of the <a
|
||||
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
|
||||
The authors of this document are the DOM Working Group members.
|
||||
Different modules of the Document Object Model have different
|
||||
editors.</p>
|
||||
|
||||
<p>Please send general comments about this document to the public
|
||||
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
|
||||
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
|
||||
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
|
||||
|
||||
<p>The English version of this specification is the only normative
|
||||
version. Information about <a
|
||||
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
|
||||
of this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
|
||||
|
||||
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
|
||||
of known errors</a> in this document is available at
|
||||
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
|
||||
|
||||
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
|
||||
Recommendations and other technical documents</a> can be found at
|
||||
http://www.w3.org/TR.</p>
|
||||
</div>
|
||||
|
||||
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
|
||||
of contents</a></h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='views.html'>1.
|
||||
Document Object Model Views</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='n' href='expanded-toc.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
*/
|
||||
/* Style for a "Recommendation" */
|
||||
|
||||
/*
|
||||
This is an SSI script. Policy:
|
||||
(1) Use CVS
|
||||
(2) send e-mail to w3t-comm@w3.org if you edit this
|
||||
|
||||
Acknowledgments:
|
||||
|
||||
- 'background-color' doesn't work on Mac IE 3, but 'background'
|
||||
does (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
|
||||
'small' is better: works in Mac NS, but is always 12pt in Mac IE
|
||||
3 (Susan Lesch <lesch@macvirus.com>)
|
||||
|
||||
$Id$
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 2em 1em 2em 70px;
|
||||
font-family: sans-serif;
|
||||
color: black;
|
||||
background: white;
|
||||
background-position: top left;
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
th, td { /* ns 4 */
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { text-align: left }
|
||||
h1, h2, h3 { color: #005A9C }
|
||||
h1 { font: 170% sans-serif }
|
||||
h2 { font: 140% sans-serif }
|
||||
h3 { font: 120% sans-serif }
|
||||
h4 { font: bold 100% sans-serif }
|
||||
h5 { font: italic 100% sans-serif }
|
||||
h6 { font: small-caps 100% sans-serif }
|
||||
|
||||
.hide { display: none }
|
||||
|
||||
div.head { margin-bottom: 1em }
|
||||
div.head h1 { margin-top: 2em; clear: both }
|
||||
div.head table { margin-left: 2em; margin-top: 2em }
|
||||
div.head img { color: white; border: none } /* remove border from top image */
|
||||
|
||||
p.copyright { font-size: small }
|
||||
p.copyright small { font-size: small }
|
||||
|
||||
@media screen { /* hide from IE3 */
|
||||
a:hover { background: #ffa }
|
||||
}
|
||||
|
||||
pre { margin-left: 2em }
|
||||
/*
|
||||
p {
|
||||
margin-top: 0.6em;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
*/
|
||||
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
|
||||
dt { font-weight: bold }
|
||||
|
||||
pre, code { font-family: monospace } /* navigator 4 requires this */
|
||||
|
||||
ul.toc {
|
||||
list-style: disc; /* Mac NS has problem with 'none' */
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media aural {
|
||||
h1, h2, h3 { stress: 20; richness: 90 }
|
||||
.hide { speak: none }
|
||||
p.copyright { volume: x-soft; speech-rate: x-fast }
|
||||
dt { pause-before: 20% }
|
||||
pre { speak-punctuation: code }
|
||||
}
|
||||
|
||||
/* Things (icons) that should only show up in projection mode */
|
||||
.projection { display: none }
|
||||
@media projection { .projection { display: inline } }
|
||||
|
||||
|
||||
body {
|
||||
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:44 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Acknowledgements</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='references.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='ecma-script-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='ecma-script-binding.html'>previous</a> <a
|
||||
accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="contributors" name='contributors'></a>
|
||||
|
||||
<h1 id='contributors-h1' class='adiv1'>Appendix D:
|
||||
Acknowledgements</h1>
|
||||
|
||||
<p>Many people contributed to this specification, including members
|
||||
of the DOM Working Group and the DOM Interest Group. We especially
|
||||
thank the following:</p>
|
||||
|
||||
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
|
||||
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
|
||||
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
|
||||
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
|
||||
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
|
||||
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
|
||||
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
|
||||
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
|
||||
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
|
||||
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
|
||||
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
|
||||
Davis (IBM), Mark Scardina (Oracle), Martin Dürst (W3C), Mick
|
||||
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
|
||||
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
|
||||
(Netscape), Philippe Le Hégaret (W3C, <em>W3C team
|
||||
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
|
||||
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
|
||||
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
|
||||
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
|
||||
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
|
||||
|
||||
<p>Thanks to all those who have helped to improve this
|
||||
specification by sending suggestions and corrections.</p>
|
||||
|
||||
<div class='div2'><a id="Productions" name='Productions'></a>
|
||||
|
||||
<h2 id='Productions-h2' class='adiv2'>D.1: Production Systems</h2>
|
||||
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java
|
||||
and ECMA Script bindings were all produced automatically.</p>
|
||||
|
||||
<p>Thanks to Joe English, author of <a
|
||||
href='http://www.flightlab.com/cost'>cost</a>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
|
||||
who wrote the scripts which run on top of cost. Arnaud Le Hors and
|
||||
Philippe Le Hégaret maintained the scripts.</p>
|
||||
|
||||
<p>For DOM Level 2, we used <a
|
||||
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le
|
||||
Hégaret and Arnaud Le Hors wrote the <a
|
||||
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
|
||||
Java programs</a> which are the DOM application.</p>
|
||||
|
||||
<p>Thanks also to Jan Kärrman, author of <a
|
||||
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
|
||||
use in creating the PostScript version of the specification.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Productions --></div>
|
||||
|
||||
<!-- div1 contributors -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
|
||||
<a accesskey='n' href='references.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:40 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Copyright Notice</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='views.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='expanded-toc.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='expanded-toc.html'>previous</a> <a accesskey='n'
|
||||
href='views.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Copyright-Notice"
|
||||
name='Copyright-Notice'></a>
|
||||
|
||||
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
|
||||
|
||||
<p><b>Copyright © 2000 <a href='http://www.w3.org/'>World Wide
|
||||
Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p>This document is published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a>. The bindings within this document
|
||||
are published under the <a
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a>. The software license requires
|
||||
"Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made." Consequently, modified versions of the
|
||||
DOM bindings must document that they do not conform to the W3C
|
||||
standard; in the case of the IDL definitions, the pragma prefix can
|
||||
no longer be 'w3c.org'; in the case of the Java Language binding,
|
||||
the package names can no longer be in the 'org.w3c' package.</p>
|
||||
|
||||
<div class='div2'><a id="Copyright-notice-document"
|
||||
name='Copyright-notice-document'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Document Notice
|
||||
and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>Public documents on the W3C site are provided by the copyright
|
||||
holders under the following license. The software or Document Type
|
||||
Definitions (DTDs) associated with W3C specifications are governed
|
||||
by the <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
|
||||
Notice</a>. By using and/or copying this document, or the W3C
|
||||
document from which this statement is linked, you (the licensee)
|
||||
agree that you have read, understood, and will comply with the
|
||||
following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and distribute the contents of this
|
||||
document, or the W3C document from which this statement is linked,
|
||||
in any medium for any purpose and without fee or royalty is hereby
|
||||
granted, provided that you include the following on <em>ALL</em>
|
||||
copies of the document, or portions thereof, that you use:</p>
|
||||
|
||||
<ol>
|
||||
<li>A link or URL to the original W3C document.</li>
|
||||
|
||||
<li>The pre-existing copyright notice of the original author, or if
|
||||
it doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)</li>
|
||||
|
||||
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
|
||||
</ol>
|
||||
|
||||
<p>When space permits, inclusion of the full text of this
|
||||
<b>NOTICE</b> should be provided. We request that authorship
|
||||
attribution be provided in any software, documents, or other items
|
||||
or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.</p>
|
||||
|
||||
<p>No right to create modifications or derivatives of W3C documents
|
||||
is granted pursuant to this license. However, if additional
|
||||
requirements (documented in the <a
|
||||
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
|
||||
FAQ</a>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals
|
||||
complying with those requirements.</p>
|
||||
|
||||
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
|
||||
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
|
||||
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
|
||||
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
|
||||
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
|
||||
THEREOF.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its
|
||||
contents without specific, written prior permission. Title to
|
||||
copyright in this document will at all times remain with copyright
|
||||
holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-document -->
|
||||
<div class='div2'><a id="Copyright-notice-software"
|
||||
name='Copyright-notice-software'></a>
|
||||
|
||||
<hr width='50' align='center' title='Area separator' />
|
||||
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
|
||||
Copyright Notice and License</h2>
|
||||
|
||||
<p><b>Note:</b> This section is a copy of the W3C Software
|
||||
Copyright Notice and License and could be found at <a
|
||||
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
|
||||
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
|
||||
|
||||
<p><b>Copyright © 1994-2000 <a href='http://www.w3.org/'>World
|
||||
Wide Web Consortium</a>, (<a
|
||||
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
|
||||
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
|
||||
Recherche en Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved.</b></p>
|
||||
|
||||
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
|
||||
|
||||
<p>This W3C work (including software, documents, or other related
|
||||
items) is being provided by the copyright holders under the
|
||||
following license. By obtaining, using and/or copying this work,
|
||||
you (the licensee) agree that you have read, understood, and will
|
||||
comply with the following terms and conditions:</p>
|
||||
|
||||
<p>Permission to use, copy, and modify this software and its
|
||||
documentation, with or without modification, for any purpose and
|
||||
without fee or royalty is hereby granted, provided that you include
|
||||
the following on ALL copies of the software and documentation or
|
||||
portions thereof, including modifications, that you make:</p>
|
||||
|
||||
<ol>
|
||||
<li>The full text of this NOTICE in a location viewable to users of
|
||||
the redistributed or derivative work.</li>
|
||||
|
||||
<li>Any pre-existing intellectual property disclaimers. If none
|
||||
exist, then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
|
||||
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
|
||||
Institute of Technology</a>, <a
|
||||
href='http://www.inria.fr/'>Institut National de Recherche en
|
||||
Informatique et en Automatique</a>, <a
|
||||
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."</li>
|
||||
|
||||
<li>Notice of any changes or modifications to the W3C files,
|
||||
including the date changes were made. (We recommend you provide
|
||||
URIs to the location from which the code is derived.)</li>
|
||||
</ol>
|
||||
|
||||
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
|
||||
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
|
||||
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
|
||||
|
||||
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
|
||||
SOFTWARE OR DOCUMENTATION.</p>
|
||||
|
||||
<p>The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without
|
||||
specific, written prior permission. Title to copyright in this
|
||||
software and any associated documentation will at all times remain
|
||||
with copyright holders.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Copyright-notice-software --></div>
|
||||
|
||||
<!-- div1 Copyright-Notice -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='expanded-toc.html'>previous</a> <a
|
||||
accesskey='n' href='views.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:45 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='previous' href='references.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='references.html'>previous</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Index" name='Index'></a>
|
||||
|
||||
<h1 id='role-index' class='index'>Index</h1>
|
||||
|
||||
<table
|
||||
summary='the table contains all keywords used in this document'>
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='views.html#Views-AbstractView'>AbstractView</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='views.html#Views-DocumentView-defaultView'>defaultView</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='views.html#Views-AbstractView-document'>document</a></td>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='views.html#Views-DocumentView'>DocumentView</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref' href='views.html#Views-intro'>DOM
|
||||
Level 2 Core</a> <a class='index-inst'
|
||||
href='views.html#Views-intro'>1</a>, <a class='index-inst'
|
||||
href='references.html#DOMCore'>2</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#Java'>Java</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='30%'><a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- div1 Index -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='references.html'>previous</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:43 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>ECMAScript Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='acknowledgements.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='java-binding.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='java-binding.html'>previous</a> <a accesskey='n'
|
||||
href='acknowledgements.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="ecma-binding" name='ecma-binding'></a>
|
||||
|
||||
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript
|
||||
Language Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete ECMAScript [<a
|
||||
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>]
|
||||
binding for the Level 2 Document Object Model Views
|
||||
definitions.</p>
|
||||
|
||||
<p><b>Note:</b> Exceptions handling is only supported by ECMAScript
|
||||
implementation conformant with the Standard ECMA-262 3rd. Edition
|
||||
([<a class='noxref'
|
||||
href='references.html#ECMAScript'>ECMAScript</a>]).</p>
|
||||
|
||||
<div class='ecma-block'>
|
||||
<dl>
|
||||
<dt>Object <b>AbstractView</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>AbstractView</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>document</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>DocumentView</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt>Object <b>DocumentView</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>The <b>DocumentView</b> object has the following
|
||||
properties:</dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><b>defaultView</b></dt>
|
||||
|
||||
<dd>This read-only property is a <b>AbstractView</b> object.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- ecma-block -->
|
||||
</div>
|
||||
|
||||
<!-- div1 ecma-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='java-binding.html'>previous</a> <a
|
||||
accesskey='n' href='acknowledgements.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:39 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Expanded Table of Contents</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='copyright-notice.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='Overview.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='Overview.html'>previous</a> <a accesskey='n'
|
||||
href='copyright-notice.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="TOC" name='TOC'></a>
|
||||
|
||||
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='expanded-toc.html'>Expanded Table of Contents</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='copyright-notice.html'>Copyright Notice</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-document'>W3C Document
|
||||
Copyright Notice and License</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='copyright-notice.html#Copyright-notice-software'>W3C Software
|
||||
Copyright Notice and License</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref' href='views.html'>1.
|
||||
Document Object Model Views</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='views.html#Views-intro'>1.1. Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='views.html#Views-Interfaces'>1.2. Interfaces</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
|
||||
Binding</a></li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='acknowledgements.html#Productions'>D.1. Production
|
||||
Systems</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='references.html'>References</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='references.html#References-Normative'>1. Normative
|
||||
references</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class='tocline2'><a class='tocxref'
|
||||
href='def-index.html'>Index</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- div1 TOC -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='Overview.html'>previous</a> <a
|
||||
accesskey='n' href='copyright-notice.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:41 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>IDL Definitions</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='java-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='views.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='views.html'>previous</a> <a accesskey='n'
|
||||
href='java-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="idl" name='idl'></a>
|
||||
|
||||
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
|
||||
|
||||
<p>This appendix contains the complete OMG IDL [<a class='noxref'
|
||||
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
|
||||
Object Model Views definitions.</p>
|
||||
|
||||
<p>The IDL files are also available as: <a
|
||||
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/idl.zip</a></p>
|
||||
|
||||
<h3 id='idl-views.idl'><a href='idl/views.idl'>views.idl</a>:</h3>
|
||||
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// File: views.idl
|
||||
|
||||
#ifndef _VIEWS_IDL_
|
||||
#define _VIEWS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module views
|
||||
{
|
||||
|
||||
interface DocumentView;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface AbstractView {
|
||||
readonly attribute DocumentView document;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentView {
|
||||
readonly attribute AbstractView defaultView;
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _VIEWS_IDL_
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 idl -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='views.html'>previous</a> <a
|
||||
accesskey='n' href='java-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (c) 2000 World Wide Web Consortium,
|
||||
* (Massachusetts Institute of Technology, Institut National de
|
||||
* Recherche en Informatique et en Automatique, Keio University). All
|
||||
* Rights Reserved. This program is distributed under the W3C's Software
|
||||
* Intellectual Property License. This program is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE.
|
||||
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
||||
*/
|
||||
|
||||
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/views.idl
|
||||
|
||||
#ifndef _VIEWS_IDL_
|
||||
#define _VIEWS_IDL_
|
||||
|
||||
#include "dom.idl"
|
||||
|
||||
#pragma prefix "dom.w3c.org"
|
||||
module views
|
||||
{
|
||||
|
||||
interface DocumentView;
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface AbstractView {
|
||||
readonly attribute DocumentView document;
|
||||
};
|
||||
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentView {
|
||||
readonly attribute AbstractView defaultView;
|
||||
};
|
||||
};
|
||||
|
||||
#endif // _VIEWS_IDL_
|
||||
|
||||
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 988 B |
@@ -0,0 +1,81 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:42 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Java Language Binding</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='ecma-script-binding.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='idl-definitions.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='idl-definitions.html'>previous</a> <a accesskey='n'
|
||||
href='ecma-script-binding.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="java-binding" name='java-binding'></a>
|
||||
|
||||
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language
|
||||
Binding</h1>
|
||||
|
||||
<p>This appendix contains the complete Java Language [<a
|
||||
class='noxref' href='references.html#Java'>Java</a>] binding for
|
||||
the Level 2 Document Object Model Views.</p>
|
||||
|
||||
<p>The Java files are also available as <a
|
||||
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/java-binding.zip</a></p>
|
||||
|
||||
<h3 id='org.w3c.dom.views.AbstractView'>
|
||||
org/w3c/dom/views/AbstractView.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.views;
|
||||
|
||||
public interface AbstractView {
|
||||
public DocumentView getDocument();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 id='org.w3c.dom.views.DocumentView'>
|
||||
org/w3c/dom/views/DocumentView.java:</h3>
|
||||
|
||||
<div class='java-code'>
|
||||
<pre>
|
||||
package org.w3c.dom.views;
|
||||
|
||||
public interface DocumentView {
|
||||
public AbstractView getDefaultView();
|
||||
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- div1 java-binding -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='idl-definitions.html'>previous</a> <a
|
||||
accesskey='n' href='ecma-script-binding.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:44 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>References</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='def-index.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='acknowledgements.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='acknowledgements.html'>previous</a> <a accesskey='n'
|
||||
href='def-index.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="References" name='References'></a>
|
||||
|
||||
<h1 id='role-references' class='references'>References</h1>
|
||||
|
||||
<p>For the latest version of any W3C specification please consult
|
||||
the list of <a href='http://www.w3.org/TR'>W3C Technical
|
||||
Reports</a> available at http://www.w3.org/TR.</p>
|
||||
|
||||
<div class='div2'><a id="References-Normative"
|
||||
name='References-Normative'></a>
|
||||
|
||||
<h2 id='References-Normative-h2' class='adiv2'>E.1: Normative
|
||||
references</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
|
||||
|
||||
<dd>W3C (World Wide Web Consortium) <a
|
||||
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
|
||||
Object Model Level 2 Core Specification</a>, November 2000.
|
||||
Available at
|
||||
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
|
||||
|
||||
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
|
||||
|
||||
<dd>ECMA (European Computer Manufacturers Association) <a
|
||||
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
|
||||
Language Specification</a>. Available at
|
||||
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
|
||||
|
||||
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
|
||||
|
||||
<dd>Sun Microsystems Inc. <a
|
||||
href='http://java.sun.com/docs/books/jls'>The Java Language
|
||||
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
|
||||
September 1996. Available at
|
||||
http://java.sun.com/docs/books/jls</dd>
|
||||
|
||||
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
|
||||
|
||||
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
|
||||
IDL (Interface Definition Language) defined in The Common Object
|
||||
Request Broker: Architecture and Specification, version 2.3.1,
|
||||
October 1999. Available from http://www.omg.org/</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 References-Normative --></div>
|
||||
|
||||
<!-- div1 References -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='acknowledgements.html'>previous</a>
|
||||
<a accesskey='n' href='def-index.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
H4 {
|
||||
text-align: left;
|
||||
font-family: sans-serif;
|
||||
font-weight: normal;
|
||||
color: #0050B2;
|
||||
}
|
||||
.idl-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
.java-code {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.code-block {
|
||||
font-family: monospace;
|
||||
border: 1px solid black;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.ecma-block {
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
|
||||
.interface-name {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.attribute-name {
|
||||
color: black;
|
||||
background-color: #FFFFD2;
|
||||
}
|
||||
|
||||
.constant-name {
|
||||
color: black;
|
||||
background-color: #DDFFD2;
|
||||
}
|
||||
|
||||
.method-name {
|
||||
color: black;
|
||||
background-color: #D9E6F8;
|
||||
}
|
||||
|
||||
.parameter-name {
|
||||
color: black;
|
||||
background-color: #FEE6F8;
|
||||
}
|
||||
|
||||
UL.toc, OL.toc {list-style: none}
|
||||
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
|
||||
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
|
||||
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
|
||||
LI.tocline1 {font-weight: bold}
|
||||
LI.tocline2 {font-weight: normal}
|
||||
LI.tocline4 {font-style: italic}
|
||||
|
||||
code { font-family: monospace }
|
||||
|
||||
div.paramtable { margin-left: 1em }
|
||||
div.returntable { margin-left: 1em }
|
||||
div.exceptiontable { margin-left: 1em }
|
||||
@@ -0,0 +1,245 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
Generated: Thu Nov 09 17:43:41 EST 2000 jfouffa.w3.org
|
||||
-->
|
||||
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Document Object Model Views</title>
|
||||
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
||||
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
||||
<link rel='next' href='idl-definitions.html' />
|
||||
<link rel='contents' href='Overview.html#contents' />
|
||||
<link rel='index' href='def-index.html' />
|
||||
<link rel='previous' href='copyright-notice.html' />
|
||||
</head>
|
||||
<body>
|
||||
<div class='navbar' align='center'><a accesskey='p'
|
||||
href='copyright-notice.html'>previous</a> <a accesskey='n'
|
||||
href='idl-definitions.html'>next</a> <a accesskey='c'
|
||||
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
||||
href='def-index.html'>index</a>
|
||||
|
||||
<hr title='Navigation area separator' />
|
||||
</div>
|
||||
|
||||
<div class='noprint' style='text-align: right'>
|
||||
<p style='font-family: monospace;font-size:small'>13 November,
|
||||
2000</p>
|
||||
</div>
|
||||
|
||||
<div class='div1'><a id="Views" name='Views'></a>
|
||||
|
||||
<h1 id='Views-h1' class='div1'>1. Document Object Model Views</h1>
|
||||
|
||||
<dl>
|
||||
<dt><i>Editors</i></dt>
|
||||
|
||||
<dd>Arnaud Le Hors, IBM</dd>
|
||||
|
||||
<dd>Laurence Cable, Sun Microsystems</dd>
|
||||
</dl>
|
||||
|
||||
<div class='noprint'>
|
||||
<h2 id='table-of-contents'>Table of contents</h2>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline3'><a class='tocxref' href='#Views-intro'>1.1.
|
||||
Introduction</a></li>
|
||||
|
||||
<li class='tocline3'><a class='tocxref'
|
||||
href='#Views-Interfaces'>1.2. Interfaces</a>
|
||||
|
||||
<ul class='toc'>
|
||||
<li class='tocline4'><a
|
||||
href='#Views-AbstractView'>AbstractView</a>, <a
|
||||
href='#Views-DocumentView'>DocumentView</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='div2'><a id="Views-intro" name='Views-intro'></a>
|
||||
|
||||
<h2 id='Views-intro-h2' class='div2'>1.1. Introduction</h2>
|
||||
|
||||
<p>A document may have one or more "views" associated with it,
|
||||
e.g., a computed view on a document after applying a CSS
|
||||
stylesheet, or multiple presentations (e.g., HTML Frame) of the
|
||||
same document in a client. That is, a view is some alternate
|
||||
representation of, or a presentation of, and associated with, a
|
||||
source document.</p>
|
||||
|
||||
<p>A view may be static, reflecting the state of the document when
|
||||
the view was created, or dynamic, reflecting changes in the target
|
||||
document as they occur, subsequent to the view being created. This
|
||||
Level of the DOM specification makes no statement about these
|
||||
behaviors.</p>
|
||||
|
||||
<p>This section defines an <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
interface which provides a base interface from which all such views
|
||||
shall derive. It defines an attribute which references the target
|
||||
document of the <a class='noxref'
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>.
|
||||
The only semantics of the <a class='noxref'
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
defined here create an association between a view and its target
|
||||
document.</p>
|
||||
|
||||
<p>There are no subinterfaces of <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
defined in the DOM Level 2.</p>
|
||||
|
||||
<p>However, <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
is defined in and used in this Level in two places:</p>
|
||||
|
||||
<ul>
|
||||
<li>A Document may implement a <a
|
||||
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
|
||||
that has a default view attribute associated with it. This default
|
||||
view is typically dependent on the implementation (e.g., the
|
||||
browser frame rendering the document). The default view can be used
|
||||
in order to identify and/or associate a view with its target
|
||||
document (by testing object equality on the <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
or obtaining the <a class='noxref'
|
||||
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
|
||||
attribute).</li>
|
||||
|
||||
<li>A <code>UIEvent</code> typically occurs upon a view of a
|
||||
Document (e.g., a mouse click on a browser frame rendering a
|
||||
particular Document instance). A <code>UIEvent</code> has an <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
associated with it which identifies both the particular
|
||||
(implementation-dependent) view in which the event occurs, and the
|
||||
target document the <code>UIEvent</code> is related to.</li>
|
||||
</ul>
|
||||
|
||||
<p>The interfaces found within this section are not mandatory. A
|
||||
DOM application may use the <code>hasFeature(feature,
|
||||
version)</code> method of the <code>DOMImplementation</code>
|
||||
interface with parameter values "Views" and "2.0" (respectively) to
|
||||
determine whether or not this module is supported by the
|
||||
implementation. In order to fully support this module, an
|
||||
implementation must also support the "Core" feature defined defined
|
||||
in the Document Object Model Level 2 Core specification [<a
|
||||
class='noxref' href='references.html#DOMCore'>DOM Level 2
|
||||
Core</a>]. Please refer to additional information about <a
|
||||
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
|
||||
<em>conformance in the DOM Level 2 Core specification</em></a>.</p>
|
||||
</div>
|
||||
|
||||
<!-- div2 Views-intro -->
|
||||
<div class='div2'><a id="Views-Interfaces"
|
||||
name='Views-Interfaces'></a>
|
||||
|
||||
<h2 id='Views-Interfaces-h2' class='div2'>1.2. Interfaces</h2>
|
||||
|
||||
<dl>
|
||||
<dt><b>Interface <i><a id="Views-AbstractView"
|
||||
name='Views-AbstractView'>AbstractView</a></i></b> (introduced in
|
||||
<b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>A base interface that all views shall derive from.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface AbstractView {
|
||||
readonly attribute DocumentView document;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="Views-AbstractView-document"
|
||||
name='Views-AbstractView-document'>document</a></code> of type <a
|
||||
href='views.html#Views-DocumentView'><code>DocumentView</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>The source <a
|
||||
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
|
||||
of which this is an <code>AbstractView</code>.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
|
||||
<dt><b>Interface <i><a id="Views-DocumentView"
|
||||
name='Views-DocumentView'>DocumentView</a></i></b> (introduced in
|
||||
<b class='since'>DOM Level 2</b>)</dt>
|
||||
|
||||
<dd>
|
||||
<p>The <code>DocumentView</code> interface is implemented by
|
||||
<code>Document</code> objects in DOM implementations supporting DOM
|
||||
Views. It provides an attribute to retrieve the default view of a
|
||||
document.</p>
|
||||
|
||||
<dl>
|
||||
<dt><br />
|
||||
<b>IDL Definition</b></dt>
|
||||
|
||||
<dd>
|
||||
<div class='idl-code'>
|
||||
<pre>
|
||||
// Introduced in DOM Level 2:
|
||||
interface DocumentView {
|
||||
readonly attribute AbstractView defaultView;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
</dd>
|
||||
|
||||
<dt><b>Attributes</b></dt>
|
||||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt><code class='attribute-name'><a
|
||||
id="Views-DocumentView-defaultView"
|
||||
name='Views-DocumentView-defaultView'>defaultView</a></code> of
|
||||
type <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>,
|
||||
readonly</dt>
|
||||
|
||||
<dd>The default <a
|
||||
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
|
||||
for this <code>Document</code>, or <code>null</code> if none
|
||||
available.<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<!-- div2 Views-Interfaces --></div>
|
||||
|
||||
<!-- div1 Views -->
|
||||
<div class='navbar' align='center'>
|
||||
<hr title='Navigation area separator' />
|
||||
<a accesskey='p' href='copyright-notice.html'>previous</a>
|
||||
<a accesskey='n' href='idl-definitions.html'>next</a> <a
|
||||
accesskey='c' href='Overview.html#contents'>contents</a> <a
|
||||
accesskey='i' href='def-index.html'>index</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<div1 role="acknowledgements" id="contributors">
|
||||
<head>Acknowledgements</head>
|
||||
<p>Many people contributed to this specification, including members of the
|
||||
DOM Working Group and the DOM Interest Group. We especially thank the
|
||||
following:</p>
|
||||
<p> Lauren Wood (SoftQuad Software Inc., <emph>chair</emph>), Andrew Watson
|
||||
(Object Management Group), Andy Heninger (IBM), Arnaud Le Hors (W3C and IBM),
|
||||
Ben Chang (Oracle), Bill Smith (Sun), Bill Shea (Merrill Lynch), Bob Sutor
|
||||
(IBM), Chris Lovett (Microsoft), Chris Wilson (Microsoft), David Brownell
|
||||
(Sun), David Singer (IBM), Don Park (invited), Eric Vasilik (Microsoft), Gavin
|
||||
Nicol (INSO), Ian Jacobs (W3C), James Clark (invited), James Davidson (Sun),
|
||||
Jared Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe Marini
|
||||
(Macromedia), Johnny Stenback (Netscape), Jonathan Marsh (Microsoft), Jonathan
|
||||
Robie (Texcel Research and Software AG), Kim Adamson-Sharpe (SoftQuad Software
|
||||
Inc.), Laurence Cable (Sun), Mark Davis (IBM), Mark Scardina (Oracle), Martin
|
||||
Dürst (W3C), Mick Goulish (Software AG), Mike Champion (Arbortext and Software
|
||||
AG), Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
|
||||
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton (Netscape),
|
||||
Philippe Le Hégaret (W3C, <emph>W3C team contact</emph>), Ramesh
|
||||
Lekshmynarayanan (Merrill Lynch), Ray Whitmer (iMall, Excite@Home and
|
||||
Netscape), Rich Rollman (Microsoft), Rick Gessner (Netscape), Scott Isaacs
|
||||
(Microsoft), Sharon Adler (INSO), Steve Byrne (JavaSoft), Tim Bray (invited),
|
||||
Tom Pixley (Netscape), Vidur Apparao (Netscape), Vinod Anupam (Lucent). </p>
|
||||
<p>Thanks to all those who have helped to improve this specification by
|
||||
sending suggestions and corrections.</p>
|
||||
<div2 id="Productions"><head>Production Systems</head>
|
||||
<p>This specification was written in XML. The HTML, OMG IDL, Java and ECMA
|
||||
Script bindings were all produced automatically.</p>
|
||||
<p>Thanks to Joe English, author of
|
||||
<loc href="http://www.flightlab.com/cost">cost</loc>, which was used as
|
||||
the basis for producing DOM Level 1. Thanks also to Gavin Nicol, who wrote the
|
||||
scripts which run on top of cost. Arnaud Le Hors and Philippe Le Hégaret
|
||||
maintained the scripts.</p>
|
||||
<p>For DOM Level 2, we used
|
||||
<loc href="http://xml.apache.org/xerces-j">Xerces</loc> as the basis DOM
|
||||
implementation and wish to thank the authors. Philippe Le Hégaret and Arnaud
|
||||
Le Hors wrote the
|
||||
<loc
|
||||
href="http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/">Java
|
||||
programs</loc> which are the DOM application.</p>
|
||||
<p>Thanks also to Jan Kärrman, author of
|
||||
<loc href="http://www.tdb.uu.se/~jan/html2ps.html">html2ps</loc>, which
|
||||
we use in creating the PostScript version of the specification.</p>
|
||||
</div2></div1>
|
||||
@@ -0,0 +1,216 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<!--
|
||||
*************************************************************************
|
||||
* BEGINNING OF COPYRIGHT NOTICE *
|
||||
*************************************************************************
|
||||
-->
|
||||
<div1 id="Copyright-Notice">
|
||||
<head>Copyright Notice</head>
|
||||
|
||||
<p role='important'>
|
||||
Copyright © &date.year; <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
|
||||
National de Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights Reserved.
|
||||
</p>
|
||||
<p>
|
||||
This document is published under the <specref
|
||||
ref="Copyright-notice-document"/>. The bindings within this document are
|
||||
published under the <specref ref="Copyright-notice-software"/>. The
|
||||
software license requires "Notice of any changes or modifications to the
|
||||
W3C files, including the date changes were made." Consequently, modified
|
||||
versions of the DOM bindings must document that they do not conform to the
|
||||
W3C standard; in the case of the IDL definitions, the pragma prefix can no
|
||||
longer be 'w3c.org'; in the case of the Java Language binding, the package
|
||||
names can no longer be in the 'org.w3c' package.
|
||||
</p>
|
||||
<div2 id="Copyright-notice-document">
|
||||
<head>W3C Document Copyright Notice and License</head>
|
||||
<note>
|
||||
<p>
|
||||
This section is a copy of the W3C Document Notice and License and could
|
||||
be found at <loc
|
||||
href="http://www.w3.org/Consortium/Legal/copyright-documents-19990405">http://www.w3.org/Consortium/Legal/copyright-documents-19990405</loc>.
|
||||
</p>
|
||||
</note>
|
||||
<p role='important'>
|
||||
Copyright © 1994-&date.year; <loc href="http://www.w3.org/">World
|
||||
Wide Web Consortium</loc>, (<loc
|
||||
href="http://www.lcs.mit.edu/">Massachusetts Institute of
|
||||
Technology</loc>, <loc href="http://www.inria.fr/">Institut National de
|
||||
Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</p>
|
||||
<p role='important'>
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
</p>
|
||||
<p>
|
||||
Public documents on the W3C site are provided by the copyright holders
|
||||
under the following license. The software or Document Type Definitions
|
||||
(DTDs) associated with W3C specifications are governed by the <loc
|
||||
href="http://www.w3.org/Consortium/Legal/copyright-software.html">Software
|
||||
Notice</loc>. By using and/or copying this document, or the W3C document
|
||||
from which this statement is linked, you (the licensee) agree that you
|
||||
have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and distribute the contents of this document, or
|
||||
the W3C document from which this statement is linked, in any medium for
|
||||
any purpose and without fee or royalty is hereby granted, provided that
|
||||
you include the following on <emph>ALL</emph> copies of the document, or
|
||||
portions thereof, that you use:
|
||||
</p>
|
||||
<olist>
|
||||
<item>
|
||||
<p>
|
||||
A link or URL to the original W3C document.
|
||||
</p>
|
||||
</item>
|
||||
<item>
|
||||
<p>
|
||||
The pre-existing copyright notice of the original author, or if it
|
||||
doesn't exist, a notice of the form: "Copyright ©
|
||||
[$date-of-document] <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc
|
||||
href="http://www.inria.fr/">Institut National de Recherche en
|
||||
Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
|
||||
preferred, but a textual representation is permitted.)
|
||||
</p>
|
||||
</item>
|
||||
<item>
|
||||
<p>
|
||||
<emph>If it exists</emph>, the STATUS of the W3C document.
|
||||
</p>
|
||||
</item>
|
||||
</olist>
|
||||
<p>
|
||||
When space permits, inclusion of the full text of this <emph
|
||||
role='important'>NOTICE</emph> should be provided. We request that
|
||||
authorship attribution be provided in any software, documents, or other
|
||||
items or products that you create pursuant to the implementation of the
|
||||
contents of this document, or any portion thereof.
|
||||
</p>
|
||||
<p>
|
||||
No right to create modifications or derivatives of W3C documents is
|
||||
granted pursuant to this license. However, if additional requirements
|
||||
(documented in the <loc
|
||||
href="http://www.w3.org/Consortium/Legal/IPR-FAQ.html">Copyright
|
||||
FAQ</loc>) are satisfied, the right to create modifications or
|
||||
derivatives is sometimes granted by the W3C to individuals complying with
|
||||
those requirements.
|
||||
</p>
|
||||
<p>
|
||||
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
|
||||
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
|
||||
LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT
|
||||
ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH
|
||||
CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE
|
||||
PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to this document or its contents
|
||||
without specific, written prior permission. Title to copyright in this
|
||||
document will at all times remain with copyright holders.
|
||||
</p>
|
||||
</div2>
|
||||
<div2 id="Copyright-notice-software">
|
||||
<head>W3C Software Copyright Notice and License</head>
|
||||
<note>
|
||||
<p>
|
||||
This section is a copy of the W3C Software Copyright Notice and License
|
||||
and could be found at <loc
|
||||
href="http://www.w3.org/Consortium/Legal/copyright-software-19980720">http://www.w3.org/Consortium/Legal/copyright-software-19980720</loc>
|
||||
</p>
|
||||
</note>
|
||||
<p role='important'>
|
||||
Copyright © 1994-&date.year; <loc href="http://www.w3.org/">World
|
||||
Wide Web Consortium</loc>, (<loc
|
||||
href="http://www.lcs.mit.edu/">Massachusetts Institute of
|
||||
Technology</loc>, <loc href="http://www.inria.fr/">Institut National de
|
||||
Recherche en Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved.
|
||||
</p>
|
||||
<p role='important'>
|
||||
http://www.w3.org/Consortium/Legal/
|
||||
</p>
|
||||
<p>
|
||||
This W3C work (including software, documents, or other related items) is
|
||||
being provided by the copyright holders under the following license. By
|
||||
obtaining, using and/or copying this work, you (the licensee) agree that
|
||||
you have read, understood, and will comply with the following terms and
|
||||
conditions:
|
||||
</p>
|
||||
<p>
|
||||
Permission to use, copy, and modify this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or royalty
|
||||
is hereby granted, provided that you include the following on ALL copies
|
||||
of the software and documentation or portions thereof, including
|
||||
modifications, that you make:
|
||||
</p>
|
||||
<olist>
|
||||
<item>
|
||||
<p>The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.</p>
|
||||
</item>
|
||||
<item>
|
||||
<p>
|
||||
Any pre-existing intellectual property disclaimers. If none exist,
|
||||
then a notice of the following form: "Copyright ©
|
||||
[$date-of-software] <loc href="http://www.w3.org/">World Wide Web
|
||||
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
|
||||
Institute of Technology</loc>, <loc
|
||||
href="http://www.inria.fr/">Institut National de Recherche en
|
||||
Informatique et en Automatique</loc>, <loc
|
||||
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
|
||||
Reserved. http://www.w3.org/Consortium/Legal/."
|
||||
</p>
|
||||
</item>
|
||||
<item>
|
||||
<p>
|
||||
Notice of any changes or modifications to the W3C files, including
|
||||
the date changes were made. (We recommend you provide URIs to the
|
||||
location from which the code is derived.)
|
||||
</p>
|
||||
</item>
|
||||
</olist>
|
||||
<p>
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
|
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
|
||||
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
|
||||
TRADEMARKS OR OTHER RIGHTS.
|
||||
</p>
|
||||
<p>
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
|
||||
DOCUMENTATION.
|
||||
</p>
|
||||
<p>
|
||||
The name and trademarks of copyright holders may NOT be used in
|
||||
advertising or publicity pertaining to the software without specific,
|
||||
written prior permission. Title to copyright in this software and any
|
||||
associated documentation will at all times remain with copyright holders.
|
||||
</p>
|
||||
</div2>
|
||||
</div1>
|
||||
<!--
|
||||
*************************************************************************
|
||||
* END OF COPYRIGHT NOTICE *
|
||||
*************************************************************************
|
||||
-->
|
||||
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id$ -->
|
||||
<div1 id="Changes">
|
||||
<head>Changes</head>
|
||||
|
||||
<orglist role="editors">
|
||||
<member>
|
||||
<name>Arnaud Le Hors</name>
|
||||
<affiliation>IBM</affiliation>
|
||||
</member>
|
||||
<member>
|
||||
<name>Philippe Le Hégaret</name>
|
||||
<affiliation>W3C</affiliation>
|
||||
</member>
|
||||
</orglist>
|
||||
|
||||
<div2 id="DOMLevel1to2Changes">
|
||||
<head>Changes between DOM Level 1 Core and DOM Level 2 Core</head>
|
||||
|
||||
<glist>
|
||||
<gitem>
|
||||
<label>OMG IDL</label>
|
||||
<def><p>The DOM Level 2 specifications are now using Corba 2.3.1
|
||||
instead of Corba 2.2.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Type <code>DOMString</code></label>
|
||||
<def><p>The definition of <code>DOMString</code> in IDL is now a
|
||||
<code>valuetype</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
</glist>
|
||||
|
||||
<div3 id="DOMLevel1Changes">
|
||||
<head>Changes to DOM Level 1 Core interfaces and exceptions</head>
|
||||
|
||||
<glist>
|
||||
<gitem>
|
||||
<label>Interface <code>Attr</code></label>
|
||||
<def><p>The <code>Attr</code> interface has one new
|
||||
attribute: <code>ownerElement</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>Document</code></label>
|
||||
<def><p>The <code>Document</code> interface has five new methods:
|
||||
<code>importNode</code>, <code>createElementNS</code>,
|
||||
<code>createAttributeNS</code>, <code>getElementsByTagNameNS</code>
|
||||
and <code>getElementById</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>NamedNodeMap</code></label>
|
||||
<def><p>The <code>NamedNodeMap</code> interface has three new
|
||||
methods: <code>getNamedItemNS</code>, <code>setNamedItemNS</code>,
|
||||
<code>removeNamedItemNS</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>Node</code></label>
|
||||
<def><p>The <code>Node</code> interface has two new
|
||||
methods: <code>isSupported</code> and <code>hasAttributes</code>.</p><p><code>normalize</code>, previously
|
||||
in the <code>Element</code> interface, has been
|
||||
moved in the <code>Node</code> interface.</p>
|
||||
<p>The <code>Node</code> interface has three new attributes:
|
||||
<code>namespaceURI</code>, <code>prefix</code> and
|
||||
<code>localName</code>.</p>
|
||||
<p>The <code>ownerDocument</code> attribute was specified to be
|
||||
<code>null</code> when the node is a <code>Document</code>. It
|
||||
now is also <code>null</code> when the node is a
|
||||
<code>DocumentType</code> which is not used with any
|
||||
<code>Document</code> yet.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>DocumentType</code></label>
|
||||
<def><p>The <code>DocumentType</code> interface has three attributes:
|
||||
<code>publicId</code>, <code>systemId</code> and
|
||||
<code>internalSubset</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>DOMImplementation</code></label>
|
||||
<def><p>The <code>DOMImplementation</code> interface has two new
|
||||
methods: <code>createDocumentType</code> and
|
||||
<code>createDocument</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Interface <code>Element</code></label>
|
||||
<def><p>The <code>Element</code> interface has eight new
|
||||
methods: <code>getAttributeNS</code>,
|
||||
<code>setAttributeNS</code>, <code>removeAttributeNS</code>,
|
||||
<code>getAttributeNodeNS</code>, <code>setAttributeNodeNS</code>,
|
||||
<code>getElementsByTagNameNS</code>, <code>hasAttribute</code>
|
||||
and <code>hasAttributeNS</code>.</p>
|
||||
<p>The method <code>normalize</code> is now inherited from
|
||||
the <code>Node</code> interface where it was moved.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
<gitem>
|
||||
<label>Exception <code>DOMException</code></label>
|
||||
<def><p>The <code>DOMException</code> has five new
|
||||
exception codes: <code>INVALID_STATE_ERR</code>,
|
||||
<code>SYNTAX_ERR</code>, <code>INVALID_MODIFICATION_ERR</code>,
|
||||
<code>NAMESPACE_ERR</code> and <code>INVALID_ACCESS_ERR</code>.</p>
|
||||
</def>
|
||||
</gitem>
|
||||
</glist>
|
||||
</div3>
|
||||
<div3 id="DOMLevel2Addons">
|
||||
<head>New features</head>
|
||||
<div4 id='DOMLevel2Addons-types'>
|
||||
<head>New types</head>
|
||||
<glist>
|
||||
<gitem>
|
||||
<label><code>DOMTimeStamp</code></label>
|
||||
<def>
|
||||
<p>
|
||||
The <code>DOMTimeStamp</code> type was added to the Core
|
||||
module.
|
||||
</p>
|
||||
</def>
|
||||
</gitem>
|
||||
</glist>
|
||||
</div4>
|
||||
</div3>
|
||||
</div2>
|
||||
</div1>
|
||||
@@ -0,0 +1,383 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Date$ $Revision$ -->
|
||||
<!--
|
||||
*************************************************************************
|
||||
* BEGINNING OF CORE *
|
||||
*************************************************************************
|
||||
-->
|
||||
<div1 id="Core">
|
||||
<head>Document Object Model Core</head>
|
||||
<orglist role="editors">
|
||||
<member>
|
||||
<name>Arnaud Le Hors</name>
|
||||
<affiliation>IBM</affiliation>
|
||||
</member>
|
||||
<member>
|
||||
<name>Gavin Nicol</name>
|
||||
<affiliation>Inso EPS (for DOM Level 1)</affiliation>
|
||||
</member>
|
||||
<member>
|
||||
<name>Lauren Wood</name>
|
||||
<affiliation>SoftQuad, Inc. (for DOM Level 1)</affiliation>
|
||||
</member>
|
||||
<member>
|
||||
<name>Mike Champion</name>
|
||||
<affiliation>ArborText (for DOM Level 1 from November 20,
|
||||
1997)</affiliation>
|
||||
</member>
|
||||
<member>
|
||||
<name>Steve Byrne</name>
|
||||
<affiliation>JavaSoft (for DOM Level 1 until November 19,
|
||||
1997)</affiliation>
|
||||
</member>
|
||||
</orglist> <?GENERATE-MINI-TOC?>
|
||||
<!--
|
||||
******************************************************
|
||||
| INTRODUCTION |
|
||||
******************************************************
|
||||
-->
|
||||
<div2 id="ID-1590626201">
|
||||
<head>Overview of the DOM Core Interfaces</head>
|
||||
<p>This section defines a set of objects and interfaces for accessing and
|
||||
manipulating document objects. The functionality specified in this section (the
|
||||
<emph>Core</emph> functionality) is sufficient to allow software developers and
|
||||
web script authors to access and manipulate parsed HTML and XML content inside
|
||||
conforming products. The DOM Core API also allows creation and population of a <code>Document</code> object using only DOM API calls; loading a <code>Document</code> and saving it persistently is left to the product that implements the
|
||||
DOM API.</p>
|
||||
<div3 id="ID-1590626202"><head>The DOM Structure Model</head>
|
||||
<p>The DOM presents documents as a hierarchy of <code>Node</code> objects that also implement other, more specialized interfaces. Some
|
||||
types of nodes may have <termref def="dt-child">child</termref> nodes of
|
||||
various types, and others are leaf nodes that cannot have anything below them
|
||||
in the document structure. For XML and HTML, the node types, and which node
|
||||
types they may have as children, are as follows:
|
||||
<ulist>
|
||||
<item>
|
||||
<p><code>Document</code> -- <code>Element</code> (maximum of one), <code>ProcessingInstruction</code>, <code>Comment</code>, <code>DocumentType</code> (maximum of one) </p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>DocumentFragment</code> -- <code>Element</code>, <code>ProcessingInstruction</code>, <code>Comment</code>, <code>Text</code>, <code>CDATASection</code>, <code>EntityReference</code> </p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>DocumentType</code> -- no children</p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>EntityReference</code> -- <code>Element</code>, <code>ProcessingInstruction</code>, <code>Comment</code>, <code>Text</code>, <code>CDATASection</code>, <code>EntityReference</code> </p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Element</code> -- <code>Element</code>, <code>Text</code>, <code>Comment</code>, <code>ProcessingInstruction</code>, <code>CDATASection</code>, <code>EntityReference</code></p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Attr</code> -- <code>Text</code>, <code>EntityReference</code></p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>ProcessingInstruction</code> -- no children</p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Comment</code> -- no children</p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Text</code> -- no children</p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>CDATASection</code> -- no children</p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Entity</code> -- <code>Element</code>, <code>ProcessingInstruction</code>, <code>Comment</code>, <code>Text</code>, <code>CDATASection</code>, <code>EntityReference</code></p>
|
||||
</item>
|
||||
<item>
|
||||
<p><code>Notation</code> -- no children</p>
|
||||
</item>
|
||||
</ulist> </p>
|
||||
<p>The DOM also specifies a <code>NodeList</code> interface to handle ordered lists of <code>Nodes</code>, such as the children of a <code>Node</code>, or the <termref def="dt-element">elements</termref> returned by the <code>getElementsByTagName</code> method of the <code>Element</code> interface, and also a <code>NamedNodeMap</code> interface to handle unordered sets of nodes referenced by their name
|
||||
attribute, such as the attributes of an <code>Element</code>. <termdef id="td-live" term="live"> <code>NodeList</code> and <code>NamedNodeMap</code> objects in the DOM are <term>live</term>; that is, changes to the
|
||||
underlying document structure are reflected in all relevant <code>NodeList</code> and <code>NamedNodeMap</code> objects. For example, if a DOM user gets a <code>NodeList</code> object containing the children of an <code>Element</code>, then subsequently adds more children to that <termref
|
||||
def="dt-element">element</termref> (or removes children, or modifies them),
|
||||
those changes are automatically reflected in the <code>NodeList</code>, without further action on the user's part. Likewise, changes to a <code>Node</code> in the tree are reflected in all references to that <code>Node</code> in <code>NodeList</code> and <code>NamedNodeMap</code> objects.</termdef></p>
|
||||
<p>Finally, the interfaces <code>Text</code>, <code>Comment</code>, and <code>CDATASection</code> all inherit from the <code>CharacterData</code> interface.</p>
|
||||
</div3>
|
||||
<div3 id="ID-249F15BA"><head>Memory Management</head>
|
||||
<p>Most of the APIs defined by this specification are
|
||||
<emph>interfaces</emph> rather than classes. That means that an implementation
|
||||
need only expose methods with the defined names and specified operation, not
|
||||
implement classes that correspond directly to the interfaces. This allows the
|
||||
DOM APIs to be implemented as a thin veneer on top of legacy applications with
|
||||
their own data structures, or on top of newer applications with different class
|
||||
hierarchies. This also means that ordinary constructors (in the Java or C++
|
||||
sense) cannot be used to create DOM objects, since the underlying objects to be
|
||||
constructed may have little relationship to the DOM interfaces. The
|
||||
conventional solution to this in object-oriented design is to define
|
||||
<emph>factory</emph> methods that create instances of objects that implement
|
||||
the various interfaces. Objects implementing some interface "X" are created by
|
||||
a "createX()" method on the <code>Document</code> interface; this is because all DOM objects live in the context of a
|
||||
specific Document.</p>
|
||||
<p>The DOM Level 2 API does <emph>not</emph> define a standard way to
|
||||
create <code>DOMImplementation</code> objects; DOM implementations must provide some proprietary way of
|
||||
bootstrapping these DOM interfaces, and then all other objects can be built
|
||||
from there.</p>
|
||||
<p>The Core DOM APIs are designed to be compatible with a wide range of
|
||||
languages, including both general-user scripting languages and the more
|
||||
challenging languages used mostly by professional programmers. Thus, the DOM
|
||||
APIs need to operate across a variety of memory management philosophies, from
|
||||
language bindings that do not expose memory management to the user at all,
|
||||
through those (notably Java) that provide explicit constructors but provide an
|
||||
automatic garbage collection mechanism to automatically reclaim unused memory,
|
||||
to those (especially C/C++) that generally require the programmer to explicitly
|
||||
allocate object memory, track where it is used, and explicitly free it for
|
||||
re-use. To ensure a consistent API across these platforms, the DOM does not
|
||||
address memory management issues at all, but instead leaves these for the
|
||||
implementation. Neither of the explicit language bindings defined by the DOM
|
||||
API (for <termref def="dt-ECMAScript">ECMAScript</termref> and Java)
|
||||
require any memory management methods, but DOM bindings for other languages
|
||||
(especially C or C++) may require such support. These extensions will be the
|
||||
responsibility of those adapting the DOM API to a specific language, not the
|
||||
DOM Working Group. </p>
|
||||
</div3>
|
||||
<div3 id="ID-45A944CB">
|
||||
<head>Naming Conventions</head>
|
||||
<p>While it would be nice to have attribute and method names that are
|
||||
short, informative, internally consistent, and familiar to users of similar
|
||||
APIs, the names also should not clash with the names in legacy APIs supported
|
||||
by DOM implementations. Furthermore, both OMG IDL and <code>ECMAScript</code> have significant limitations in their ability to disambiguate names
|
||||
from different namespaces that make it difficult to avoid naming conflicts with
|
||||
short, familiar names. So, DOM names tend to be long and descriptive
|
||||
in order to be unique across all environments. </p>
|
||||
<p>The Working Group has also attempted to be internally consistent in
|
||||
its use of various terms, even though these may not be common distinctions in
|
||||
other APIs. For example, the DOM API uses the method name "remove" when the method
|
||||
changes the structural model, and the method name "delete" when the method gets
|
||||
rid of something inside the structure model. The thing that is deleted is not
|
||||
returned. The thing that is removed may be returned, when it makes sense to
|
||||
return it. </p>
|
||||
</div3>
|
||||
<div3 id="ID-1CED5498">
|
||||
<head>Inheritance vs. Flattened Views of the API</head>
|
||||
<p>The DOM Core <termref def="dt-API">APIs</termref> present two somewhat
|
||||
different sets of interfaces to an XML/HTML document: one presenting an "object
|
||||
oriented" approach with a hierarchy of <termref
|
||||
def="dt-inheritance">inheritance</termref>, and a "simplified" view that allows
|
||||
all manipulation to be done via the <code>Node</code> interface without requiring casts (in Java and other C-like languages)
|
||||
or query interface calls in <termref def="dt-COM">COM</termref> environments.
|
||||
These operations are fairly expensive in Java and COM, and the DOM may be used
|
||||
in performance-critical environments, so we allow significant functionality
|
||||
using just the <code>Node</code> interface. Because many other users will find the
|
||||
<termref def="dt-inheritance">inheritance</termref> hierarchy easier to
|
||||
understand than the "everything is a <code>Node</code>" approach to the DOM, we also support the full higher-level interfaces
|
||||
for those who prefer a more object-oriented <termref
|
||||
def="dt-API">API</termref>. </p>
|
||||
<p>In practice, this means that there is a certain amount of redundancy
|
||||
in the <termref def="dt-API">API</termref>. The Working Group considers the
|
||||
"<termref def="dt-inheritance">inheritance</termref>" approach the primary view
|
||||
of the API, and the full set of functionality on <code>Node</code> to be "extra" functionality that users may employ, but that does not
|
||||
eliminate the need for methods on other interfaces that an object-oriented
|
||||
analysis would dictate. (Of course, when the O-O analysis yields an attribute
|
||||
or method that is identical to one on the <code>Node</code> interface, we don't specify a completely redundant one.) Thus, even
|
||||
though there is a generic <code>nodeName</code> attribute on the <code>Node</code> interface, there is still a <code>tagName</code> attribute on the <code>Element</code> interface; these two attributes must contain the same value, but the
|
||||
it is worthwhile to support both, given the different
|
||||
constituencies the DOM <termref def="dt-API">API</termref> must satisfy. </p>
|
||||
</div3>
|
||||
<div3 id="ID-C74D1578">
|
||||
<head>The <code>DOMString</code> type</head>
|
||||
<p>To ensure interoperability, the DOM specifies the following:</p>
|
||||
<ulist>
|
||||
<item>
|
||||
<definitions>
|
||||
<typedef name="DOMString" id="DOMString">
|
||||
<descr>
|
||||
<p>A <code>DOMString</code> is a sequence of <termref def="dt-16-bit-unit">16-bit
|
||||
units</termref>.</p>
|
||||
</descr>
|
||||
<sequence type="unsigned short"/>
|
||||
</typedef>
|
||||
</definitions>
|
||||
</item>
|
||||
<item>
|
||||
<p>Applications must encode <code>DOMString</code> using UTF-16 (defined in <bibref ref="Unicode"/> and Amendment 1 of
|
||||
<bibref ref="ISO10646"/>).</p>
|
||||
<p>The UTF-16 encoding was chosen because of its widespread industry
|
||||
practice. Note that for both HTML and XML, the document character set (and
|
||||
therefore the notation of numeric character references) is based on UCS
|
||||
[ISO-10646]. A single numeric character reference in a source document may
|
||||
therefore in some cases correspond to two 16-bit units in a <code>DOMString</code> (a high surrogate and a low surrogate).</p>
|
||||
<note>
|
||||
<p>Even though the DOM defines the name of the string type to be <code>DOMString</code>, bindings may use different names. For example for Java, <code>DOMString</code> is bound to the <code>String</code> type because it also uses UTF-16 as its encoding.</p>
|
||||
</note>
|
||||
</item>
|
||||
</ulist>
|
||||
<note>
|
||||
<p>As of August 2000, the OMG IDL specification (<bibref
|
||||
ref="OMGIDL"/>) included a <code>wstring</code> type. However, that definition did not meet the interoperability
|
||||
criteria of the DOM <termref def="dt-API">API</termref> since it relied on
|
||||
negotiation to decide the width and encoding of a character.</p>
|
||||
</note>
|
||||
</div3>
|
||||
<div3 id="Core-DOMTimeStamp">
|
||||
<head>The <code>DOMTimeStamp</code> type</head>
|
||||
<p>To ensure interoperability, the DOM specifies the following:</p>
|
||||
<ulist>
|
||||
<item>
|
||||
<definitions>
|
||||
<typedef name="DOMTimeStamp" id="DOMTimeStamp">
|
||||
<descr>
|
||||
<p> A <code>DOMTimeStamp</code> represents a number of milliseconds. </p>
|
||||
</descr>
|
||||
<typename>unsigned long long</typename>
|
||||
</typedef>
|
||||
</definitions>
|
||||
</item>
|
||||
<item>
|
||||
<note>
|
||||
<p> Even though the DOM uses the type <code>DOMTimeStamp</code>, bindings may use different types. For example for Java, <code>DOMTimeStamp</code> is bound to the <code>long</code> type. In ECMAScript, <code>TimeStamp</code> is bound to the <code>Date</code> type because the range of the <code>integer</code> type is too small. </p>
|
||||
</note>
|
||||
</item>
|
||||
</ulist>
|
||||
</div3>
|
||||
<div3 id="ID-5DFED1F0">
|
||||
<head>String comparisons in the DOM</head>
|
||||
<p>The DOM has many interfaces that imply string matching. HTML
|
||||
processors generally assume an uppercase (less often, lowercase) normalization
|
||||
of names for such things as <termref def="dt-element">elements</termref>, while
|
||||
XML is explicitly case sensitive. For the purposes of the DOM, string matching
|
||||
is performed purely by binary <termref
|
||||
def="dt-string-compare">comparison</termref> of the
|
||||
<termref def="dt-16-bit-unit">16-bit units</termref> of the <code>DOMString</code>. In addition, the DOM assumes that any case normalizations take place
|
||||
in the processor, <emph>before</emph> the DOM structures are built.</p>
|
||||
<note>
|
||||
<p>Besides case folding, there are additional normalizations that can
|
||||
be applied to text. The W3C I18N Working Group is in the process of defining
|
||||
exactly which normalizations are necessary, and where they should be applied.
|
||||
The W3C I18N Working Group expects to require early normalization, which means
|
||||
that data read into the DOM is assumed to already be normalized. The DOM and
|
||||
applications built on top of it in this case only have to assure that text
|
||||
remains normalized when being changed. For further details, please see
|
||||
<bibref ref="Charmod"/>.</p>
|
||||
</note>
|
||||
</div3>
|
||||
<div3 id="Namespaces-Considerations">
|
||||
<head>XML Namespaces</head>
|
||||
<p>The DOM Level 2 supports XML namespaces <bibref ref="Namespaces"/> by
|
||||
augmenting several interfaces of the DOM Level 1 Core to allow creating and
|
||||
manipulating <termref def="dt-element">elements</termref> and attributes
|
||||
associated to a namespace.</p>
|
||||
<p>As far as the DOM is concerned, special attributes used for declaring
|
||||
<termref def="dt-XML-namespace">XML namespaces</termref> are still exposed and
|
||||
can be manipulated just like any other attribute. However, nodes are
|
||||
permanently bound to <termref def="dt-namespaceURI">namespace URIs</termref> as
|
||||
they get created. Consequently, moving a node within a document, using the DOM,
|
||||
in no case results in a change of its <termref
|
||||
def="dt-namespaceprefix">namespace prefix</termref> or namespace URI.
|
||||
Similarly, creating a node with a namespace prefix and namespace URI, or
|
||||
changing the namespace prefix of a node, does not result in any addition,
|
||||
removal, or modification of any special attributes for declaring the
|
||||
appropriate XML namespaces. Namespace validation is not enforced; the DOM
|
||||
application is responsible. In particular, since the mapping between prefixes
|
||||
and namespace URIs is not enforced, in general, the resulting document cannot
|
||||
be serialized naively. For example, applications may have to declare every
|
||||
namespace in use when serializing a document.</p>
|
||||
<p>DOM Level 2 doesn't perform any URI normalization or canonicalization.
|
||||
The URIs given to the DOM are assumed to be valid (e.g., characters such as
|
||||
whitespaces are properly escaped), and no lexical checking is performed.
|
||||
Absolute URI references are treated as strings and
|
||||
<termref def="dt-string-compare">compared literally</termref>. How relative
|
||||
namespace URI references are treated is undefined. To ensure interoperability
|
||||
only absolute namespace URI references (i.e., URI references beginning with a
|
||||
scheme name and a colon) should be used. Note that because the DOM does no
|
||||
lexical checking, the empty string will be treated as a real namespace URI
|
||||
in DOM Level 2 methods. Applications must use the value <code>null</code>
|
||||
as the namespaceURI parameter for methods if they wish to have no
|
||||
namespace.</p>
|
||||
<note>
|
||||
<p>In the DOM, all namespace declaration attributes are <emph>by
|
||||
definition</emph> bound to the namespace URI: "<loc
|
||||
href="&xmlns-ns;">&xmlns-ns;</loc>". These are the attributes whose
|
||||
<termref def="dt-namespaceprefix">namespace prefix</termref> or
|
||||
<termref def="dt-qualifiedname">qualified name</termref> is "xmlns". Although,
|
||||
at the time of writing, this is not part of the XML Namespaces specification
|
||||
<bibref ref="Namespaces"/>, it is planned to be incorporated in a future
|
||||
revision.</p>
|
||||
</note>
|
||||
<p>In a document with no namespaces, the <termref
|
||||
def="dt-child">child</termref> list of an <code>EntityReference</code> node is always the same as that of the corresponding <code>Entity</code>. This is not true in a document where an entity contains unbound
|
||||
<termref def="dt-namespaceprefix">namespace prefixes</termref>. In such a case,
|
||||
the <termref def="dt-descendant">descendants</termref> of the corresponding <code>EntityReference</code> nodes may be bound to different <termref
|
||||
def="dt-namespaceURI">namespace URIs</termref>, depending on where the entity
|
||||
references are. Also, because, in the DOM, nodes always remain bound to the
|
||||
same namespace URI, moving such <code>EntityReference</code> nodes can lead to documents that cannot be serialized. This is also
|
||||
true when the DOM Level 1 method <code>createEntityReference</code> of the <code>Document</code> interface is used to create entity references that correspond to such
|
||||
entities, since the <termref def="dt-descendant">descendants</termref> of the
|
||||
returned <code>EntityReference</code> are unbound. The DOM Level 2 does not support any mechanism to resolve
|
||||
namespace prefixes. For all of these reasons, use of such entities and entity
|
||||
references should be avoided or used with extreme care. A future Level of the
|
||||
DOM may include some additional support for handling these.</p>
|
||||
<p>The new methods, such as <code>createElementNS</code> and <code>createAttributeNS</code> of the <code>Document</code> interface, are meant to be used by namespace aware applications. Simple
|
||||
applications that do not use namespaces can use the DOM Level 1 methods, such
|
||||
as <code>createElement</code> and <code>createAttribute</code>. Elements and attributes created in this way do not have any namespace
|
||||
prefix, namespace URI, or local name.</p>
|
||||
<note>
|
||||
<p>DOM Level 1 methods are namespace ignorant. Therefore, while it is
|
||||
safe to use these methods when not dealing with namespaces, using them and the
|
||||
new ones at the same time should be avoided. DOM Level 1 methods solely
|
||||
identify attribute nodes by their <code>nodeName</code>. On the contrary, the DOM Level 2 methods related to namespaces,
|
||||
identify attribute nodes by their <code>namespaceURI</code> and <code>localName</code>. Because of this fundamental difference, mixing both sets of methods
|
||||
can lead to unpredictable results. In particular, using <code>setAttributeNS</code>, an <termref def="dt-element">element</termref> may have two attributes
|
||||
(or more) that have the same <code>nodeName</code>, but different <code>namespaceURI</code>s. Calling <code>getAttribute</code> with that <code>nodeName</code> could then return any of those attributes. The result depends on the
|
||||
implementation. Similarly, using <code>setAttributeNode</code>, one can set two attributes (or more) that have different <code>nodeNames</code> but the same <code>prefix</code> and <code>namespaceURI</code>. In this case <code>getAttributeNodeNS</code> will return either attribute, in an implementation dependent manner.
|
||||
The only guarantee in such cases is that all methods that access a named item
|
||||
by its <code>nodeName</code> will access the same item, and all methods which access a node by its
|
||||
URI and local name will access the same node. For instance, <code>setAttribute</code> and <code>setAttributeNS</code> affect the node that <code>getAttribute</code> and <code>getAttributeNS</code>, respectively, return.</p>
|
||||
</note>
|
||||
</div3>
|
||||
</div2> <!--
|
||||
******************************************************
|
||||
| DOCUMENT OBJECT MODEL APIs |
|
||||
******************************************************
|
||||
-->
|
||||
<div2 id="ID-BBACDC08">
|
||||
<head>Fundamental Interfaces</head>
|
||||
<p>The interfaces within this section are considered
|
||||
<emph>fundamental</emph>, and must be fully implemented by all conforming
|
||||
implementations of the DOM, including all HTML DOM implementations
|
||||
<bibref ref="DOMHTML-inf"/>, unless otherwise specified.
|
||||
</p>
|
||||
<p>
|
||||
A DOM application may use the <code>hasFeature(feature,
|
||||
version)</code> method of the <code>DOMImplementation</code>
|
||||
interface with parameter values "Core" and "2.0" (respectively) to
|
||||
determine whether or not this module is supported by the
|
||||
implementation. Any implementation that conforms to DOM Level 2 or a
|
||||
DOM Level 2 module must conform to the Core module. Please refer to
|
||||
additional information about <xspecref
|
||||
href='&core.latest.url;/introduction.html#ID-Conformance'>conformance</xspecref>
|
||||
in this specification.
|
||||
</p>
|
||||
|
||||
<definitions> &exceptions; &core-dom; &core-document; &core-node;
|
||||
&core-node-list; &core-named-node-map; &core-data; &core-attribute;
|
||||
&core-element; &core-text; &core-comment;
|
||||
</definitions>
|
||||
</div2>
|
||||
<div2 id="ID-E067D597">
|
||||
<head>Extended Interfaces</head>
|
||||
<p>The interfaces defined here form part of the DOM Core specification, but
|
||||
objects that expose these interfaces will never be encountered in a DOM
|
||||
implementation that deals only with HTML. As such, HTML-only DOM
|
||||
implementations <bibref ref="DOMHTML-inf"/> do not need to have objects that
|
||||
implement these interfaces.</p>
|
||||
<p>
|
||||
The interfaces found within this section are not mandatory. A DOM
|
||||
application may use the <code>hasFeature(feature, version)</code> method
|
||||
of the <code>DOMImplementation</code> interface with parameter values
|
||||
"XML" and "2.0" (respectively) to determine whether or not this module
|
||||
is supported by the implementation. In order to fully support this
|
||||
module, an implementation must also support the "Core" feature defined in
|
||||
<specref ref="ID-BBACDC08"/>. Please refer to additional information about
|
||||
<specref ref='ID-Conformance'/> in this specification.
|
||||
</p>
|
||||
|
||||
<definitions> &core-cdata-section; &core-doctype; &core-notation;
|
||||
&core-entity; &core-entity-reference; &core-pi;
|
||||
</definitions>
|
||||
</div2></div1><!--
|
||||
*************************************************************************
|
||||
* END OF CORE *
|
||||
*************************************************************************
|
||||
-->
|
||||
@@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Date$ $Revision$ -->
|
||||
<!--[ Attr object description ]-->
|
||||
<interface name="Attr" inherits="Node" id="ID-637646024">
|
||||
<descr><p>
|
||||
The <code>Attr</code> interface represents an attribute in an <code>Element</code> object.
|
||||
Typically the allowable values for the attribute are defined in a document
|
||||
type definition.</p>
|
||||
<p><code>Attr</code> objects inherit the <code>Node</code>
|
||||
interface, but since they are not actually child nodes of the element
|
||||
they describe, the DOM does not consider them part of the document
|
||||
tree. Thus, the <code>Node</code> attributes <code>parentNode</code>,
|
||||
<code>previousSibling</code>, and <code>nextSibling</code> have a
|
||||
<code>null</code> value for <code>Attr</code> objects. The DOM takes the
|
||||
view that attributes are properties of elements rather than having a
|
||||
separate identity from the elements they are associated with;
|
||||
this should make it more efficient to implement
|
||||
such features as default attributes associated with all elements of a
|
||||
given type. Furthermore, <code>Attr</code>
|
||||
nodes may not be immediate children of a <code>DocumentFragment</code>.
|
||||
However, they can be associated with <code>Element</code> nodes contained within
|
||||
a <code>DocumentFragment</code>.
|
||||
In short, users and implementors of the DOM need to be aware that
|
||||
<code>Attr</code> nodes have some things in
|
||||
common with other objects inheriting the <code>Node</code> interface,
|
||||
but they also are quite distinct.</p>
|
||||
<p> The attribute's effective value is determined as follows: if this
|
||||
attribute has been explicitly assigned any value, that value is the
|
||||
attribute's effective value; otherwise, if there is a declaration for
|
||||
this attribute, and that declaration includes a default value, then
|
||||
that default value is the attribute's effective value; otherwise, the
|
||||
attribute does not exist on this element in the structure model until
|
||||
it has been explicitly added. Note that the <code>nodeValue</code>
|
||||
attribute on the <code>Attr</code> instance can also be used to
|
||||
retrieve the string version of the attribute's value(s). </p>
|
||||
|
||||
<p>In XML, where the value of an attribute can contain entity references,
|
||||
the child nodes of the <code>Attr</code> node may be either
|
||||
<code>Text</code> or <code>EntityReference</code> nodes (when these are in
|
||||
use; see the description of <code>EntityReference</code> for
|
||||
discussion). Because the DOM Core is not aware of attribute types, it
|
||||
treats all attribute values as simple strings, even if the DTD or schema
|
||||
declares them as having <termref def="dt-tokenized">tokenized</termref>
|
||||
types.
|
||||
</p>
|
||||
</descr>
|
||||
<attribute type="DOMString" readonly="yes" name="name" id="ID-1112119403">
|
||||
<descr><p>Returns the name of this attribute. </p></descr>
|
||||
</attribute>
|
||||
<attribute type="boolean" readonly="yes" name="specified" id="ID-862529273">
|
||||
<descr><p>If this attribute was explicitly given a value in the original
|
||||
document, this is <code>true</code>; otherwise, it is <code>false</code>.
|
||||
Note that the implementation is in charge of this attribute, not the
|
||||
user. If the user changes the value of the attribute (even if it ends up
|
||||
having the same value as the default value) then the <code>specified</code>
|
||||
flag is automatically flipped to <code>true</code>. To re-specify the
|
||||
attribute as the default value from the DTD, the user must delete the
|
||||
attribute. The implementation will then make a new attribute available
|
||||
with <code>specified</code> set to <code>false</code> and the default value
|
||||
(if one exists).</p>
|
||||
<p>In summary:
|
||||
<ulist>
|
||||
|
||||
<item><p> If the attribute has an assigned value in the document then
|
||||
<code>specified</code> is <code>true</code>, and the value is the
|
||||
assigned value.
|
||||
</p></item>
|
||||
|
||||
<item><p> If the attribute has no assigned value in the document and has
|
||||
a default value in the DTD, then <code>specified</code> is <code>false</code>,
|
||||
and the value is the default value in the DTD.</p></item>
|
||||
|
||||
<item><p> If the attribute has no assigned value in the document and has
|
||||
a value of #IMPLIED in the DTD, then the attribute does not appear
|
||||
in the structure model of the document.
|
||||
</p></item>
|
||||
|
||||
<item><p>If the <code>ownerElement</code> attribute is
|
||||
<code>null</code> (i.e. because it was just created or was set to
|
||||
<code>null</code> by the various removal and cloning operations)
|
||||
<code>specified</code> is <code>true</code>.</p>
|
||||
</item>
|
||||
</ulist>
|
||||
</p>
|
||||
|
||||
</descr>
|
||||
</attribute>
|
||||
<attribute type="DOMString" name="value" id="ID-221662474">
|
||||
<descr><p>On retrieval, the value of the attribute is returned as a
|
||||
string. Character and general entity references are replaced with their
|
||||
values. See also the method <code>getAttribute</code> on the
|
||||
<code>Element</code> interface.</p>
|
||||
<p>On setting, this creates a <code>Text</code> node with the unparsed
|
||||
contents of the string. I.e. any characters that an XML processor would
|
||||
recognize as markup are instead treated as literal text.
|
||||
See also the method <code>setAttribute</code> on the
|
||||
<code>Element</code> interface.</p></descr>
|
||||
<setraises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>NO_MODIFICATION_ALLOWED_ERR: Raised when the node is
|
||||
readonly.</p></descr>
|
||||
</exception>
|
||||
</setraises>
|
||||
</attribute>
|
||||
|
||||
<!-- ****** DOM Level 2 additions ****** -->
|
||||
<attribute name="ownerElement" type="Element" readonly="yes"
|
||||
id="Attr-ownerElement" since="DOM Level 2">
|
||||
<descr><p>The <code>Element</code> node this attribute is attached to or
|
||||
<code>null</code> if this attribute is not in use.</p></descr>
|
||||
</attribute>
|
||||
</interface>
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--[ CDATA Section ]-->
|
||||
<!-- $Date$ $Revision$ -->
|
||||
<interface name="CDATASection" inherits="Text" id="ID-667469212">
|
||||
<descr><p>CDATA sections are used to escape blocks of text containing
|
||||
characters that would otherwise be regarded as markup. The only
|
||||
delimiter that is recognized in a CDATA section is the "]]>" string
|
||||
that ends the CDATA section. CDATA sections cannot be
|
||||
nested. Their primary purpose is for including
|
||||
material such as XML fragments, without needing to escape all
|
||||
the delimiters.</p><p>The <code>DOMString</code> attribute of the
|
||||
<code>Text</code> node holds the text that is contained by the CDATA
|
||||
section. Note that this <emph>may</emph> contain characters
|
||||
that need to be escaped outside of CDATA sections and that, depending on
|
||||
the character encoding ("charset") chosen for serialization, it may be
|
||||
impossible to write out some characters as part of a CDATA section. </p>
|
||||
<p> The <code>CDATASection</code> interface inherits from the
|
||||
<code>CharacterData</code> interface through the <code>Text</code>
|
||||
interface. Adjacent <code>CDATASection</code> nodes are not merged by
|
||||
use of the <code>normalize</code> method of the <code>Node</code>
|
||||
interface.</p>
|
||||
<note>
|
||||
<p>Because no markup is recognized within a <code>CDATASection</code>,
|
||||
character numeric references cannot be used as an escape mechanism
|
||||
when serializing. Therefore, action needs to be taken when serializing
|
||||
a <code>CDATASection</code> with a character encoding where some of
|
||||
the contained characters cannot be represented. Failure to do so would
|
||||
not produce well-formed XML.</p>
|
||||
<p>One potential solution in the serialization process is to end the
|
||||
CDATA section before the character, output the character using a
|
||||
character reference or entity reference, and open a new CDATA section
|
||||
for any further characters in the text node. Note, however, that some
|
||||
code conversion libraries at the time of writing do not return an
|
||||
error or exception when a character is missing from the encoding,
|
||||
making the task of ensuring that data is not corrupted on serialization
|
||||
more difficult.</p>
|
||||
</note>
|
||||
</descr>
|
||||
</interface>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--[ Comment object description ]-->
|
||||
<!-- $Date$ $Revision$ -->
|
||||
<interface name="Comment" inherits="CharacterData" id="ID-1728279322">
|
||||
<descr><p>This interface inherits from <code>CharacterData</code> and
|
||||
represents the content of a comment, i.e., all the
|
||||
characters between the starting '<code><!--</code>' and
|
||||
ending '<code>--></code>'. Note that this is the definition
|
||||
of a comment in XML, and, in practice, HTML, although some HTML
|
||||
tools may implement the full SGML comment structure.</p></descr>
|
||||
</interface>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--[ Data interface description ]-->
|
||||
<!-- $Date$ $Revision$ -->
|
||||
<interface name="CharacterData" inherits="Node" id="ID-FF21A306">
|
||||
<descr><p>The <code>CharacterData</code> interface extends Node with a set of
|
||||
attributes and methods for accessing character data in the DOM. For
|
||||
clarity this set is defined here rather than on each object that uses
|
||||
these attributes and methods. No DOM objects correspond directly to
|
||||
<code>CharacterData</code>, though <code>Text</code> and others do
|
||||
inherit the interface from it. All <code>offsets</code> in this
|
||||
interface start from <code>0</code>.</p>
|
||||
<p>As explained in the <code>DOMString</code> interface, text strings
|
||||
in the DOM are represented in UTF-16, i.e. as a sequence of 16-bit
|
||||
units. In the following, the term <termref
|
||||
def='dt-16-bit-unit'>16-bit units</termref> is used whenever
|
||||
necessary to indicate that indexing on CharacterData is done in
|
||||
16-bit units.</p>
|
||||
</descr>
|
||||
|
||||
<attribute type="DOMString" name="data" id="ID-72AB8359">
|
||||
<descr><p>The character data of the node
|
||||
that implements this interface. The DOM implementation may not
|
||||
put arbitrary limits on the amount of data that may be stored in a
|
||||
<code>CharacterData</code> node. However, implementation limits may
|
||||
mean that the entirety of a node's data may not fit into a single
|
||||
<code>DOMString</code>. In such cases, the user may call
|
||||
<code>substringData</code> to retrieve the data in appropriately sized
|
||||
pieces.</p>
|
||||
</descr>
|
||||
<setraises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>NO_MODIFICATION_ALLOWED_ERR: Raised when the node is
|
||||
readonly.</p></descr>
|
||||
</exception>
|
||||
</setraises>
|
||||
<getraises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>DOMSTRING_SIZE_ERR: Raised when it would return more
|
||||
characters than fit in a <code>DOMString</code> variable on the
|
||||
implementation platform.</p></descr>
|
||||
</exception>
|
||||
</getraises>
|
||||
</attribute>
|
||||
<attribute type="unsigned long" name="length" readonly="yes" id="ID-7D61178C">
|
||||
<descr><p>The number of <termref def='dt-16-bit-unit'>16-bit
|
||||
units</termref> that are available through <code>data</code> and the
|
||||
<code>substringData</code> method below. This may have the value zero,
|
||||
i.e., <code>CharacterData</code> nodes may be empty.</p>
|
||||
</descr>
|
||||
</attribute>
|
||||
<method name="substringData" id="ID-6531BCCF">
|
||||
<descr><p>Extracts a range of data from the node.</p></descr>
|
||||
<parameters>
|
||||
<param name="offset" type="unsigned long" attr="in">
|
||||
<descr><p>Start offset of substring to extract.</p></descr>
|
||||
</param>
|
||||
<param name="count" type="unsigned long" attr="in">
|
||||
<descr><p>The number of 16-bit units to extract.</p></descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="DOMString">
|
||||
<descr><p>The specified substring. If the sum of <code>offset</code> and
|
||||
<code>count</code> exceeds the <code>length</code>, then all 16-bit
|
||||
units to the end of the data are returned.</p></descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>INDEX_SIZE_ERR: Raised if the specified <code>offset</code>
|
||||
is negative or greater than the number of 16-bit units in
|
||||
<code>data</code>, or if the specified <code>count</code> is
|
||||
negative.</p>
|
||||
<p>DOMSTRING_SIZE_ERR: Raised if the specified range of text does
|
||||
not fit into a <code>DOMString</code>.</p>
|
||||
</descr>
|
||||
</exception>
|
||||
</raises>
|
||||
</method>
|
||||
<method name="appendData" id="ID-32791A2F">
|
||||
<descr>
|
||||
<p>Append the string to the end of the character data of the node.
|
||||
Upon success, <code>data</code> provides access to the concatenation of
|
||||
<code>data</code> and the <code>DOMString</code> specified.</p>
|
||||
</descr>
|
||||
<parameters>
|
||||
<param name="arg" type="DOMString" attr="in">
|
||||
<descr><p>The <code>DOMString</code> to append.</p></descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="void">
|
||||
<descr><p></p></descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is
|
||||
readonly.</p></descr>
|
||||
</exception>
|
||||
</raises>
|
||||
</method>
|
||||
<!-- NOTE -->
|
||||
<method name="insertData" id="ID-3EDB695F">
|
||||
<descr>
|
||||
<p>Insert a string at the specified <termref def='dt-16-bit-unit'>16-bit
|
||||
unit</termref> offset.</p>
|
||||
</descr>
|
||||
<parameters>
|
||||
<param name="offset" type="unsigned long" attr="in">
|
||||
<descr><p>The character offset at which to insert.</p></descr>
|
||||
</param>
|
||||
<param name="arg" type="DOMString" attr="in">
|
||||
<descr><p>The <code>DOMString</code> to insert.</p></descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="void">
|
||||
<descr><p></p></descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>INDEX_SIZE_ERR: Raised if the specified <code>offset</code>
|
||||
is negative or greater than the number of 16-bit units in
|
||||
<code>data</code>.</p>
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
|
||||
</descr>
|
||||
</exception>
|
||||
</raises>
|
||||
</method>
|
||||
<method name="deleteData" id="ID-7C603781">
|
||||
<descr>
|
||||
<p>Remove a range of <termref def='dt-16-bit-unit'>16-bit units</termref>
|
||||
from the node. Upon success, <code>data</code> and <code>length</code>
|
||||
reflect the change.</p>
|
||||
</descr>
|
||||
<parameters>
|
||||
<param name="offset" type="unsigned long" attr="in">
|
||||
<descr><p>The offset from which to start removing.</p>
|
||||
</descr>
|
||||
</param>
|
||||
<param name="count" type="unsigned long" attr="in">
|
||||
<descr><p>The number of 16-bit units to delete. If the sum of
|
||||
<code>offset</code> and <code>count</code> exceeds
|
||||
<code>length</code> then all 16-bit units from <code>offset</code>
|
||||
to the end of the data are deleted.</p></descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="void">
|
||||
<descr><p></p></descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>INDEX_SIZE_ERR: Raised if the specified <code>offset</code>
|
||||
is negative or greater than the number of 16-bit units in
|
||||
<code>data</code>, or if the specified <code>count</code> is
|
||||
negative.</p>
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
|
||||
</descr>
|
||||
</exception>
|
||||
</raises>
|
||||
</method>
|
||||
<method name="replaceData" id="ID-E5CBA7FB">
|
||||
<descr>
|
||||
<p>Replace the characters starting at the specified <termref
|
||||
def='dt-16-bit-unit'>16-bit unit</termref> offset with the specified
|
||||
string.</p>
|
||||
</descr>
|
||||
<parameters>
|
||||
<param name="offset" type="unsigned long" attr="in">
|
||||
<descr><p>The offset from which to start replacing.</p></descr>
|
||||
</param>
|
||||
<param name="count" type="unsigned long" attr="in">
|
||||
<descr><p>The number of 16-bit units to replace. If the sum of
|
||||
<code>offset</code> and <code>count</code> exceeds
|
||||
<code>length</code>, then all 16-bit units to the end of the data
|
||||
are replaced; (i.e., the effect is the same as a
|
||||
<code>remove</code> method call with the same range, followed
|
||||
by an <code>append</code> method invocation).</p></descr>
|
||||
</param>
|
||||
<param name="arg" type="DOMString" attr="in">
|
||||
<descr><p>The <code>DOMString</code> with which the range must
|
||||
be replaced.</p></descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="void">
|
||||
<descr><p></p></descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<exception name="DOMException">
|
||||
<descr><p>INDEX_SIZE_ERR: Raised if the specified <code>offset</code>
|
||||
is negative or greater than the number of 16-bit units in
|
||||
<code>data</code>, or if the specified <code>count</code> is
|
||||
negative.</p>
|
||||
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.</p>
|
||||
</descr>
|
||||
</exception>
|
||||
</raises>
|
||||
</method>
|
||||
</interface>
|
||||