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
This commit is contained in:
1 parent
7d5c881d20
commit
82b88df622
231 files changed
+66110
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,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_
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 903 B |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
|
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>
|
||||
|
||||
+2794
File diff suppressed because it is too large.
Load diff
@@ -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 }
|
||||
+2412
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user