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:
dims committed 2001-06-01 11:15:37 +00:00
1 parent 7d5c881d20
commit 82b88df622
231 files changed
+66110

No files matched your search

+100
View File
@@ -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 &copy; 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 &copy; 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,&nbsp; 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 &copy;
[$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>
+194
View File
@@ -0,0 +1,194 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:39 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document Object Model (DOM) Level 2 Views
Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='expanded-toc.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='n'
href='expanded-toc.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='head'>
<p><a href='http://www.w3.org/'><img height='48' width='72'
alt='W3C' src='./images/w3c_home.gif' /></a></p>
<h1 id='title'>Document Object Model (DOM) Level 2 Views
Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- REC-DOM-Level-2-Views-20001113
-->
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
2000</i></h2>
<dl>
<dt>This version:</dt>
<dd><a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113</a><br />
(<a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.ps'>
PostScript file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.pdf'>
PDF file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.txt'>
plain text</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/DOM2-Views.zip'>
ZIP file</a>)</dd>
<dt>Latest version:</dt>
<dd><a
href='http://www.w3.org/TR/DOM-Level-2-Views'>http://www.w3.org/TR/DOM-Level-2-Views</a></dd>
<dt>Previous version:</dt>
<dd><a
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Views-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Views-20000927</a></dd>
</dl>
<dl>
<dt>Editors:</dt>
<dd>Arnaud Le Hors, <i>W3C team contact until October 1999, then
IBM</i></dd>
<dd>Laurence Cable, <i>Sun Microsystems</i></dd>
</dl>
<p class='copyright'>Copyright &copy; 2000 <a
href='http://www.w3.org/'><abbr
title='World Wide Web Consortium'>W3C</abbr></a><sup>&reg;</sup>
(<a href='http://www.lcs.mit.edu/'><abbr
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
href='http://www.inria.fr/'><abbr lang='fr'
title='Institut National de Recherche en Informatique et Automatique'>
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
Rights Reserved. W3C <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
liability</a>, <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
trademark</a>, <a
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
document use</a> and <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
software licensing</a> rules apply.</p>
</div>
<hr title='separator from header' />
<h2 id='abstract'>Abstract</h2>
<div class='abstract'>
<p>This specification defines the Document Object Model Level 2
Views, a platform- and language-neutral interface that allows
programs and scripts to dynamically access and update the content
of a representation of a document. The Document Object Model Level
2 Views builds on the Document Object Model Level 2 Core [<a
class='noxref' href='references.html#DOMCore'>DOM Level 2
Core</a>].</p>
</div>
<h2 id='status'>Status of this document</h2>
<div class='status'>
<p><em>This section describes the status of this document at the
time of its publication. Other documents may supersede this
document. The latest status of this document series is maintained
at the W3C.</em></p>
<p>This document has been reviewed by W3C Members and other
interested parties and has been endorsed by the Director as a <a
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
W3C Recommendation</a>. It is a stable document and may be used as
reference material or cited as a normative reference from another
document. W3C's role in making the Recommendation is to draw
attention to the specification and to promote its widespread
deployment. This enhances the functionality and interoperability of
the Web.</p>
<p>This document has been produced as part of the <a
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
The authors of this document are the DOM Working Group members.
Different modules of the Document Object Model have different
editors.</p>
<p>Please send general comments about this document to the public
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
<p>The English version of this specification is the only normative
version. Information about <a
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
of this document is available at
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
of known errors</a> in this document is available at
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
Recommendations and other technical documents</a> can be found at
http://www.w3.org/TR.</p>
</div>
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
of contents</a></h2>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref'
href='copyright-notice.html'>Copyright Notice</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='views.html'>1.
Document Object Model Views</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref'
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='acknowledgements.html'>Appendix D: Acknowledgements</a></li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a></li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='n' href='expanded-toc.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+94
View File
@@ -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);
}
+101
View File
@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:44 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Acknowledgements</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='references.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='ecma-script-binding.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='ecma-script-binding.html'>previous</a> &nbsp; <a
accesskey='n' href='references.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <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&uuml;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&eacute;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&eacute;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&eacute;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&auml;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>
&nbsp; <a accesskey='n' href='references.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+229
View File
@@ -0,0 +1,229 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:40 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Copyright Notice</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='views.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='expanded-toc.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='expanded-toc.html'>previous</a> &nbsp; <a accesskey='n'
href='views.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <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 &copy; 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 &copy; 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 &copy;
[$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 &copy; 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 &copy;
[$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> &nbsp; <a
accesskey='n' href='views.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a></div>
</body>
</html>
+94
View File
@@ -0,0 +1,94 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:45 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Index</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='contents' href='Overview.html#contents' />
<link rel='previous' href='references.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='references.html'>previous</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Index" name='Index'></a>
<h1 id='role-index' class='index'>Index</h1>
<table
summary='the table contains all keywords used in this document'>
<tr>
<td width='30%'><a class='noxref'
href='views.html#Views-AbstractView'>AbstractView</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='views.html#Views-DocumentView-defaultView'>defaultView</a></td>
<td width='30%'><a class='noxref'
href='views.html#Views-AbstractView-document'>document</a></td>
<td width='30%'><a class='noxref'
href='views.html#Views-DocumentView'>DocumentView</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref' href='views.html#Views-intro'>DOM
Level 2 Core</a> <a class='index-inst'
href='views.html#Views-intro'>1</a>, <a class='index-inst'
href='references.html#DOMCore'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#ECMAScript'>ECMAScript</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#Java'>Java</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a></td>
</tr>
</table>
</div>
<!-- div1 Index -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='references.html'>previous</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a></div>
</body>
</html>
+96
View File
@@ -0,0 +1,96 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:43 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECMAScript Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='acknowledgements.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='java-binding.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='java-binding.html'>previous</a> &nbsp; <a accesskey='n'
href='acknowledgements.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="ecma-binding" name='ecma-binding'></a>
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript
Language Binding</h1>
<p>This appendix contains the complete ECMAScript [<a
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>]
binding for the Level 2 Document Object Model Views
definitions.</p>
<p><b>Note:</b> Exceptions handling is only supported by ECMAScript
implementation conformant with the Standard ECMA-262 3rd. Edition
([<a class='noxref'
href='references.html#ECMAScript'>ECMAScript</a>]).</p>
<div class='ecma-block'>
<dl>
<dt>Object <b>AbstractView</b></dt>
<dd>
<dl>
<dt>The <b>AbstractView</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>document</b></dt>
<dd>This read-only property is a <b>DocumentView</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
<dt>Object <b>DocumentView</b></dt>
<dd>
<dl>
<dt>The <b>DocumentView</b> object has the following
properties:</dt>
<dd>
<dl>
<dt><b>defaultView</b></dt>
<dd>This read-only property is a <b>AbstractView</b> object.</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- ecma-block -->
</div>
<!-- div1 ecma-binding -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='java-binding.html'>previous</a> &nbsp; <a
accesskey='n' href='acknowledgements.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+113
View File
@@ -0,0 +1,113 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:39 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Expanded Table of Contents</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='copyright-notice.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='Overview.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='Overview.html'>previous</a> &nbsp; <a accesskey='n'
href='copyright-notice.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="TOC" name='TOC'></a>
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref'
href='copyright-notice.html'>Copyright Notice</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-document'>W3C Document
Copyright Notice and License</a></li>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-software'>W3C Software
Copyright Notice and License</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='views.html'>1.
Document Object Model Views</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='views.html#Views-intro'>1.1. Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='views.html#Views-Interfaces'>1.2. Interfaces</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref'
href='java-binding.html'>Appendix B: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='ecma-script-binding.html'>Appendix C: ECMAScript Language
Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='acknowledgements.html'>Appendix D: Acknowledgements</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='acknowledgements.html#Productions'>D.1. Production
Systems</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='references.html#References-Normative'>1. Normative
references</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
</div>
<!-- div1 TOC -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='Overview.html'>previous</a> &nbsp; <a
accesskey='n' href='copyright-notice.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+85
View File
@@ -0,0 +1,85 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:41 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>IDL Definitions</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='java-binding.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='views.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='views.html'>previous</a> &nbsp; <a accesskey='n'
href='java-binding.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="idl" name='idl'></a>
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
<p>This appendix contains the complete OMG IDL [<a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
Object Model Views definitions.</p>
<p>The IDL files are also available as: <a
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/idl.zip</a></p>
<h3 id='idl-views.idl'><a href='idl/views.idl'>views.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: views.idl
#ifndef _VIEWS_IDL_
#define _VIEWS_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module views
{
interface DocumentView;
// Introduced in DOM Level 2:
interface AbstractView {
readonly attribute DocumentView document;
};
// Introduced in DOM Level 2:
interface DocumentView {
readonly attribute AbstractView defaultView;
};
};
#endif // _VIEWS_IDL_
</pre>
</div>
</div>
<!-- div1 idl -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='views.html'>previous</a> &nbsp; <a
accesskey='n' href='java-binding.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*/
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/views.idl
#ifndef _VIEWS_IDL_
#define _VIEWS_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module views
{
interface DocumentView;
// Introduced in DOM Level 2:
interface AbstractView {
readonly attribute DocumentView document;
};
// Introduced in DOM Level 2:
interface DocumentView {
readonly attribute AbstractView defaultView;
};
};
#endif // _VIEWS_IDL_
Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

+81
View File
@@ -0,0 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:42 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Java Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='ecma-script-binding.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='idl-definitions.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='idl-definitions.html'>previous</a> &nbsp; <a accesskey='n'
href='ecma-script-binding.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="java-binding" name='java-binding'></a>
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language
Binding</h1>
<p>This appendix contains the complete Java Language [<a
class='noxref' href='references.html#Java'>Java</a>] binding for
the Level 2 Document Object Model Views.</p>
<p>The Java files are also available as <a
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/java-binding.zip</a></p>
<h3 id='org.w3c.dom.views.AbstractView'>
org/w3c/dom/views/AbstractView.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.views;
public interface AbstractView {
public DocumentView getDocument();
}
</pre>
</div>
<h3 id='org.w3c.dom.views.DocumentView'>
org/w3c/dom/views/DocumentView.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.views;
public interface DocumentView {
public AbstractView getDefaultView();
}
</pre>
</div>
</div>
<!-- div1 java-binding -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='idl-definitions.html'>previous</a> &nbsp; <a
accesskey='n' href='ecma-script-binding.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+89
View File
@@ -0,0 +1,89 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:44 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>References</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='def-index.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='acknowledgements.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='acknowledgements.html'>previous</a> &nbsp; <a accesskey='n'
href='def-index.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="References" name='References'></a>
<h1 id='role-references' class='references'>References</h1>
<p>For the latest version of any W3C specification please consult
the list of <a href='http://www.w3.org/TR'>W3C Technical
Reports</a> available at http://www.w3.org/TR.</p>
<div class='div2'><a id="References-Normative"
name='References-Normative'></a>
<h2 id='References-Normative-h2' class='adiv2'>E.1: Normative
references</h2>
<dl>
<dt><b><a id="DOMCore" name='DOMCore'>DOM Level 2 Core</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document
Object Model Level 2 Core Specification</a>, November 2000.
Available at
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</dd>
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
<dd>ECMA (European Computer Manufacturers Association) <a
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
Language Specification</a>. Available at
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
<dd>Sun Microsystems Inc. <a
href='http://java.sun.com/docs/books/jls'>The Java Language
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
September 1996. Available at
http://java.sun.com/docs/books/jls</dd>
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
IDL (Interface Definition Language) defined in The Common Object
Request Broker: Architecture and Specification, version 2.3.1,
October 1999. Available from http://www.omg.org/</dd>
</dl>
</div>
<!-- div2 References-Normative --></div>
<!-- div1 References -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='acknowledgements.html'>previous</a> &nbsp;
<a accesskey='n' href='def-index.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+75
View File
@@ -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 }
+245
View File
@@ -0,0 +1,245 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:41 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document Object Model Views</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='idl-definitions.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='copyright-notice.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='copyright-notice.html'>previous</a> &nbsp; <a accesskey='n'
href='idl-definitions.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Views" name='Views'></a>
<h1 id='Views-h1' class='div1'>1. Document Object Model Views</h1>
<dl>
<dt><i>Editors</i></dt>
<dd>Arnaud Le Hors, IBM</dd>
<dd>Laurence Cable, Sun Microsystems</dd>
</dl>
<div class='noprint'>
<h2 id='table-of-contents'>Table of contents</h2>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='#Views-intro'>1.1.
Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='#Views-Interfaces'>1.2. Interfaces</a>
<ul class='toc'>
<li class='tocline4'><a
href='#Views-AbstractView'>AbstractView</a>, <a
href='#Views-DocumentView'>DocumentView</a></li>
</ul>
</li>
</ul>
</div>
<div class='div2'><a id="Views-intro" name='Views-intro'></a>
<h2 id='Views-intro-h2' class='div2'>1.1. Introduction</h2>
<p>A document may have one or more "views" associated with it,
e.g., a computed view on a document after applying a CSS
stylesheet, or multiple presentations (e.g., HTML Frame) of the
same document in a client. That is, a view is some alternate
representation of, or a presentation of, and associated with, a
source document.</p>
<p>A view may be static, reflecting the state of the document when
the view was created, or dynamic, reflecting changes in the target
document as they occur, subsequent to the view being created. This
Level of the DOM specification makes no statement about these
behaviors.</p>
<p>This section defines an <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
interface which provides a base interface from which all such views
shall derive. It defines an attribute which references the target
document of the <a class='noxref'
href='views.html#Views-AbstractView'><code>AbstractView</code></a>.
The only semantics of the <a class='noxref'
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
defined here create an association between a view and its target
document.</p>
<p>There are no subinterfaces of <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
defined in the DOM Level 2.</p>
<p>However, <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
is defined in and used in this Level in two places:</p>
<ul>
<li>A Document may implement a <a
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
that has a default view attribute associated with it. This default
view is typically dependent on the implementation (e.g., the
browser frame rendering the document). The default view can be used
in order to identify and/or associate a view with its target
document (by testing object equality on the <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
or obtaining the <a class='noxref'
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
attribute).</li>
<li>A <code>UIEvent</code> typically occurs upon a view of a
Document (e.g., a mouse click on a browser frame rendering a
particular Document instance). A <code>UIEvent</code> has an <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
associated with it which identifies both the particular
(implementation-dependent) view in which the event occurs, and the
target document the <code>UIEvent</code> is related to.</li>
</ul>
<p>The interfaces found within this section are not mandatory. A
DOM application may use the <code>hasFeature(feature,
version)</code> method of the <code>DOMImplementation</code>
interface with parameter values "Views" and "2.0" (respectively) to
determine whether or not this module is supported by the
implementation. In order to fully support this module, an
implementation must also support the "Core" feature defined defined
in the Document Object Model Level 2 Core specification [<a
class='noxref' href='references.html#DOMCore'>DOM Level 2
Core</a>]. Please refer to additional information about <a
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
<em>conformance in the DOM Level 2 Core specification</em></a>.</p>
</div>
<!-- div2 Views-intro -->
<div class='div2'><a id="Views-Interfaces"
name='Views-Interfaces'></a>
<h2 id='Views-Interfaces-h2' class='div2'>1.2. Interfaces</h2>
<dl>
<dt><b>Interface <i><a id="Views-AbstractView"
name='Views-AbstractView'>AbstractView</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>A base interface that all views shall derive from.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface AbstractView {
readonly attribute DocumentView document;
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="Views-AbstractView-document"
name='Views-AbstractView-document'>document</a></code> of type <a
href='views.html#Views-DocumentView'><code>DocumentView</code></a>,
readonly</dt>
<dd>The source <a
href='views.html#Views-DocumentView'><code>DocumentView</code></a>
of which this is an <code>AbstractView</code>.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><b>Interface <i><a id="Views-DocumentView"
name='Views-DocumentView'>DocumentView</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>
<dd>
<p>The <code>DocumentView</code> interface is implemented by
<code>Document</code> objects in DOM implementations supporting DOM
Views. It provides an attribute to retrieve the default view of a
document.</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface DocumentView {
readonly attribute AbstractView defaultView;
};
</pre>
</div>
<br />
</dd>
<dt><b>Attributes</b></dt>
<dd>
<dl>
<dt><code class='attribute-name'><a
id="Views-DocumentView-defaultView"
name='Views-DocumentView-defaultView'>defaultView</a></code> of
type <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>,
readonly</dt>
<dd>The default <a
href='views.html#Views-AbstractView'><code>AbstractView</code></a>
for this <code>Document</code>, or <code>null</code> if none
available.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- div2 Views-Interfaces --></div>
<!-- div1 Views -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='copyright-notice.html'>previous</a> &nbsp;
<a accesskey='n' href='idl-definitions.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>