Checking in Sources/Docs of DOM Level 3 Load and Save from:

http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mrglavas 2005-06-17 22:02:03 +00:00
parent 88612fd7b2
commit b4c1723a47
16 changed files with 5119 additions and 0 deletions

138
java/external/xdocs/dom/ls/Overview.html vendored Normal file
View File

@ -0,0 +1,138 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:38 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Document Object Model (DOM) Level 3 Load
and Save Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Expanded Table of Contents' accesskey='n' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></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 3 Load
and Save Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- REC-DOM-Level-3-LS-20040407
--> <h2 id='W3C-doctype'>W3C Recommendation 07 April 2004</h2>
<dl><dt>This version:</dt>
<dd><a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407</a></dd><dt>Latest version:</dt>
<dd><a href='http://www.w3.org/TR/DOM-Level-3-LS'>http://www.w3.org/TR/DOM-Level-3-LS</a></dd>
<dt>Previous version:</dt>
<dd><a href='http://www.w3.org/TR/2004/PR-DOM-Level-3-LS-20040205/'>http://www.w3.org/TR/2004/PR-DOM-Level-3-LS-20040205/</a></dd>
</dl>
<dl><dt>Editors:
</dt><dd>Johnny Stenback,
<i>Netscape</i></dd>
<dd>Andy Heninger,
<i>IBM (until March 2001)</i></dd>
</dl>
<p>Please refer to the <a href='http://www.w3.org/2004/01/DOM-Level-3-errata'><strong>errata</strong></a> for this document, which may include some normative corrections.</p><p>This document is also available in these non-normative formats: <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/xml-source.xml'>XML file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/DOM3-LS.txt'>plain text</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/DOM3-LS.ps'>PostScript file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/DOM3-LS.pdf'>PDF file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/DOM3-LS.html'>single HTML file</a>, and <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/DOM3-LS.zip'>ZIP file</a>.</p>
<p class='translation'>See also <a href='http://www.w3.org/2004/01/DOM-Level-3-translations'>translations</a> of this document.</p><p class='copyright'><a href='http://www.w3.org/Consortium/Legal/ipr-notice#Copyright'> Copyright</a> &#xa9;2004 <a href='http://www.w3.org/'><acronym title='World Wide Web Consortium'>W3C</acronym></a><sup>&#xae;</sup> (<a href='http://www.csail.mit.edu/'><acronym title='Massachusetts Institute of Technology'>MIT</acronym></a>, <a href='http://www.ercim.org/'><acronym title='European Research Consortium for Informatics and Mathematics'>ERCIM</acronym></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'>document use</a> and <a href='http://www.w3.org/Consortium/Legal/copyright-software'>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 Load and
Save Level 3, a platform- and language-neutral interface that
allows programs and scripts to dynamically load the content of
an XML document into a DOM document and serialize a DOM document
into an XML document; DOM documents being defined in [<a class='noxref' href='references.html#DOM2Core'>DOM Level 2 Core</a>] or newer, and XML documents being defined in
[<a class='noxref' href='references.html#XML'>XML 1.0</a>] or newer. It also allows filtering of
content at load time and at serialization time.
</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. A list of current W3C publications and the latest
revision of this technical report can be found in the <a href='http://www.w3.org/TR/'>W3C technical reports index</a>
at http://www.w3.org/TR/.</em>
</p><p>
This document contains the Document Object Model Level 3 Load
and Save specification and is a <a href='http://www.w3.org/2004/02/Process-20040205/tr.html#RecsW3C'>W3C
Recommendation</a>. It 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 <a href='http://www.w3.org/DOM/'>DOM Working Group</a>
participants. For more information about DOM, readers can also
refer to <a href='http://www.w3.org/DOM/faq.html'>DOM
FAQ</a> and <a href='http://www.w3.org/DOM/Test/'>DOM
Conformance Test Suites</a>.
</p><p>
It is based on the feedback received during the <a href='http://www.w3.org/2004/02/19-dom-level-3-issues/issues.html'>Proposed
Recommendation</a> period. <a href='http://www.w3.org/2004/03/DOM-Level-3-LS-changes.html'>Changes
since the Proposed Recommendation version</a> and an <a href='http://www.w3.org/2003/10/DOM-Level-3-LS-implementations.html'>implementation
report</a> are available. Please refer to the <a href='http://www.w3.org/2004/01/DOM-Level-3-errata'>errata</a> for this
document, which may include some normative corrections.
</p><p>
Comments on this document should be sent to the public mailing
list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a> (<a href='http://lists.w3.org/Archives/Public/www-dom/'>public archive</a>).
</p><p>
This is a stable document and has been endorsed by the W3C
Membership and the participants of the DOM working group. The
English version of this specification is the only normative
version. See also <a href='http://www.w3.org/2004/01/DOM-Level-3-translations'>translations</a>.
</p><p>
Patent disclosures relevant to this specification may be found
on the Working Group's <a href='http://www.w3.org/2002/08/02-DOM-Disclosures.html'>patent
disclosure page</a>. This document has been produced under the
<a href='http://www.w3.org/TR/2002/NOTE-patent-practice-20020124'>24
January 2002 CPP</a> as amended by the <a href='http://www.w3.org/2004/02/05-pp-transition'>W3C Patent
Policy Transition Procedure</a>. An individual who has actual
knowledge of a patent which the individual believes contains
Essential Claim(s) with respect to this specification should
disclose the information in accordance with <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure'>section
6 of the W3C Patent Policy</a>.
</p></div>
<h2 id='table-of-contents'><a 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'>W3C Copyright Notices and Licenses</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='load-save.html'>1. Document Object Model Load and Save</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' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Expanded Table of Contents' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

89
java/external/xdocs/dom/ls/W3C-REC.css vendored Normal file
View File

@ -0,0 +1,89 @@
/* Style for a "Recommendation" */
/*
Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved.
The following software licensing rules apply:
http://www.w3.org/Consortium/Legal/copyright-software */
/* $Id$ */
body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a:active { color: #C00; background: transparent }
a:link img, a:visited img { border-style: none } /* no border on img links */
a img { color: white; } /* trick to hide the border in Netscape 4 */
@media all { /* hide the next rule from Netscape 4 */
a img { color: inherit; } /* undo the color change above */
}
th, td { /* ns 4 */
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
/* background should be transparent, but WebTV has a bug */
h1, h2, h3 { color: #005A9C; background: white }
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 }
p.copyright { font-size: small }
p.copyright small { font-size: small }
@media screen { /* hide from IE3 */
a[href]: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 }
}
body {
background-image: url(./images/REC.gif);
}

View File

@ -0,0 +1,112 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:49 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Acknowledgements</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='ecma-script-binding.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='ECMAScript Language Binding' accesskey='p' href='ecma-script-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Glossary' accesskey='n' href='glossary.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='contributors'></a>
<h1 id='contributors-h1' class='adiv1'>Appendix D: Acknowledgements</h1>
<p class='first'>Many people contributed to the DOM specifications (Level 1, 2
or 3), including participants of the DOM Working Group and the DOM
Interest Group. We especially thank the following:</p><p>
Andrew Watson (Object Management Group), Andy Heninger (IBM),
Angel Diaz (IBM), Arnaud Le Hors (W3C and IBM), Ashok Malhotra
(IBM and Microsoft), Ben Chang (Oracle), Bill Smith (Sun), Bill
Shea (Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft),
Chris Wilson (Microsoft), David Brownell (Sun), David Ezell
(Hewlett-Packard Company), David Singer (IBM), Dimitris
Dimitriadis (Improve AB and invited expert), Don Park (invited),
Elena Litani (IBM), Eric Vasilik (Microsoft), Gavin Nicol
(INSO), Ian Jacobs (W3C), James Clark (invited), James Davidson
(Sun), Jared Sorensen (Novell), Jeroen van Rotterdam (X-Hive
Corporation), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
Marini (Macromedia), Johnny Stenback (Netscape/AOL), Jon
Ferraiolo (Adobe), Jonathan Marsh (Microsoft), Jonathan Robie
(Texcel Research and Software AG), Kim Adamson-Sharpe (SoftQuad
Software Inc.), Lauren Wood (SoftQuad Software Inc.,
<em>former Chair</em>), Laurence Cable (Sun), Mark Davis
(IBM), Mark Scardina (Oracle), Martin D&#xfc;rst (W3C), Mary
Brady (NIST), 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&#xe9;garet (W3C, <em>W3C Team Contact and former
Chair</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray
Whitmer (iMall, Excite@Home, and Netscape/AOL,
<em>Chair</em>), Rezaur Rahman (Intel), Rich Rollman
(Microsoft), Rick Gessner (Netscape), Rick Jelliffe (invited),
Rob Relyea (Microsoft), Scott Isaacs (Microsoft), Sharon Adler
(INSO), Steve Byrne (JavaSoft), Tim Bray (invited), Tim Yu
(Oracle), Tom Pixley (Netscape/AOL), Vidur Apparao (Netscape),
Vinod Anupam (Lucent).
</p><p>
Thanks to all those who have helped to improve this
specification by sending suggestions and corrections (Please,
keep bugging us with your issues!).
</p><p>
Many thanks to Elliotte Rusty Harold, Andrew Clover, Anjana
Manian, Christian Parpart, Mikko Honkala, and Fran&#xe7;ois
Yergeau for their review and comments of this document.
</p><p>
Special thanks to the <a class='normative' href='http://www.w3.org/DOM/Test'>DOM
Conformance Test Suites</a> contributors: Fred Drake, Mary
Brady (NIST), Rick Rivello (NIST), Robert Clary (Netscape), with
a special mention to Curt Arnold.
</p>
<div class='div2'><a 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
ECMAScript bindings were all produced automatically.
<p>
Thanks to Joe English, author of <a class='normative' 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&#xe9;garet maintained
the scripts.
<p>
After DOM Level 1, we used <a class='normative' href='http://xml.apache.org/xerces-j'>Xerces</a> as the
basis DOM implementation and wish to thank the
authors. Philippe Le H&#xe9;garet and Arnaud Le Hors wrote
the <a class='normative' href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>Java
programs</a> which are the DOM application.
<p>
Thanks also to Jan K&#xe4;rrman, author of <a class='normative' href='http://user.it.uu.se/~jan/html2ps.html'>html2ps</a>,
which we use in creating the PostScript version of the
specification.
</div> <!-- div2 Productions --></div> <!-- div1 contributors --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='ECMAScript Language Binding' href='ecma-script-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Glossary' href='glossary.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,223 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:39 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>W3C Copyright Notices and Licenses</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-REC.css'>
<link rel='next' href='load-save.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='expanded-toc.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Expanded Table of Contents' accesskey='p' href='expanded-toc.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Document Object Model Load and Save' accesskey='n' href='load-save.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='Copyright-Notice'></a>
<h1 id='Copyright-Notice-h1' class='div1'>W3C Copyright Notices and Licenses</h1>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a class='normative' href='http://www.csail.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' 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<sup>&#xae;</sup> Document Copyright Notice and License</a>. The bindings within this document
are published under the <a href='copyright-notice.html#Copyright-notice-software'>W3C<sup>&#xae;</sup> 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 name='Copyright-notice-document'></a>
<hr width='50' align='center' title='Area separator'>
<h2 id='Copyright-notice-document-h2' class='div2'>W3C<sup>&#xae;</sup> Document Copyright Notice and License</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Document
Notice and License and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</a>.
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p><b>
http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
</b></p><p>
Public documents on the W3C site are provided by the copyright
holders under the following license. 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>
Permission to 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:
<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 (hypertext is preferred, but a
textual representation is permitted) of the form:
"Copyright &#xa9; [$date-of-document] <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>,
(<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute
of Technology</a>, <a class='normative' href='http://www.ercim.org/'>European Research Consortium for
Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All
Rights Reserved. <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</a>"
</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>
No right to create modifications or derivatives of W3C documents is
granted pursuant to this license. However, if additional requirements
(documented in the <a class='normative' href='http://www.w3.org/Consortium/Legal/IPR-FAQ'>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>
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>
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>
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.
</div> <!-- div2 Copyright-notice-document -->
<div class='div2'><a name='Copyright-notice-software'></a>
<hr width='50' align='center' title='Area separator'>
<h2 id='Copyright-notice-software-h2' class='div2'>W3C<sup>&#xae;</sup> Software Copyright Notice and License</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Software
Copyright Notice and License and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</a>
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p><b>
http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
</b></p><p>
This work (and included software, documentation such as READMEs,
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>
Permission to copy, modify, and distribute 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:
<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, the <a href='copyright-notice.html#Copyright-short-notice'>W3C<sup>&#xae;</sup> Short Software Notice</a> should be included (hypertext
is preferred, text is permitted) within the body of any
redistributed or derivative code.
</li>
<li>
Notice of any changes or modifications to the 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>
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>
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.
</div> <!-- div2 Copyright-notice-software -->
<div class='div2'><a name='Copyright-short-notice'></a>
<h2 id='Copyright-short-notice-h2' class='div2'>W3C<sup>&#xae;</sup> Short Software Notice</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Short Software
Notice and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231</a>
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p>
Copyright &#xa9; [$date-of-software] <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. This work is distributed under the W3C<sup>&#xae;</sup>
Software License [1] 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.
<p>
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
</div> <!-- div2 Copyright-short-notice --></div> <!-- div1 Copyright-Notice --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Expanded Table of Contents' href='expanded-toc.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Document Object Model Load and Save' href='load-save.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,301 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:49 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Index</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-REC.css'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='references.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='References' accesskey='p' href='references.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a 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='load-save.html#parameter-ignore-unknown-character-denormalizations-lsserializer'>
"ignore-unknown-character-denormalizations"
</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#parameter-canonical-form'>"canonical-form"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#parameter-charset-overrides-xml-encoding'>"charset-overrides-xml-encoding"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser'>"disallow-doctype"</a> <a class='index-inst' href='load-save.html#LS-LSParser'>1</a>,
<a class='index-inst' href='load-save.html#parameter-disallow-doctype'>2</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer'>"discard-default-content"</a> <a class='index-inst' href='load-save.html#LS-LSSerializer'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializerFilter'>3</a>,
<a class='index-inst' href='load-save.html#parameter-discard-default-content'>4</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-config'>"format-pretty-print"</a> <a class='index-inst' href='load-save.html#LS-LSSerializer-config'>1</a>,
<a class='index-inst' href='load-save.html#parameter-format-pretty-print'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser'>"ignore-unknown-character-denormalizations"</a> <a class='index-inst' href='load-save.html#LS-LSParser'>1</a>,
<a class='index-inst' href='load-save.html#parameter-ignore-unknown-character-denormalizations'>2</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#parameter-infoset'>"infoset"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#parameter-namespaces'>"namespaces"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#parameter-normalize-characters'>"normalize-characters"</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#parameter-resource-resolver'>"resource-resolver"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser'>"supported-media-types-only"</a> <a class='index-inst' href='load-save.html#LS-LSParser'>1</a>,
<a class='index-inst' href='load-save.html#parameter-supported-media-types-only'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#parameter-validate'>"validate"</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#parameter-validate-if-schema'>"validate-if-schema"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#parameter-well-formed'>"well-formed"</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer'>"xml-declaration"</a> <a class='index-inst' href='load-save.html#LS-LSSerializer'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>2</a>,
<a class='index-inst' href='load-save.html#parameter-xml-declaration'>3</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSReader'>16-bit unit</a> <a class='index-inst' href='load-save.html#LS-LSReader'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSWriter'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-characterStream'>3</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-stringData'>4</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-characterStream'>5</a>,
<a class='index-inst' href='glossary.html#dt-16-bit-unit'>6</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#infoset-attribute'>[attributes]</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-abort'>abort</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-acceptNode'>acceptNode</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-ACTION_APPEND_AS_CHILDREN'>ACTION_APPEND_AS_CHILDREN</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-ACTION_INSERT_AFTER'>ACTION_INSERT_AFTER</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-ACTION_INSERT_BEFORE'>ACTION_INSERT_BEFORE</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-ACTION_REPLACE'>ACTION_REPLACE</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-ACTION_REPLACE_CHILDREN'>ACTION_REPLACE_CHILDREN</a></td>
<td width='30%'><a class='noxref' href='load-save.html#Load-Save'>API</a> <a class='index-inst' href='load-save.html#Load-Save'>1</a>,
<a class='index-inst' href='glossary.html#dt-API'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-async'>async</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-baseURI'>baseURI</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-busy'>busy</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-byteStream'>byteStream</a> <a class='index-inst' href='load-save.html#LS-LSInput-byteStream'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-byteStream'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-config'>Canonical XML</a> <a class='index-inst' href='load-save.html#LS-LSSerializer-config'>1</a>,
<a class='index-inst' href='references.html#c14n'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-certifiedText'>certifiedText</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-characterStream'>characterStream</a> <a class='index-inst' href='load-save.html#LS-LSInput-characterStream'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-characterStream'>2</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSInput'>createLSInput</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSOutput'>createLSOutput</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSParser'>createLSParser</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSSerializer'>createLSSerializer</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#Load-Save'>DOM Level 2 Core</a> <a class='index-inst' href='load-save.html#Load-Save'>1</a>,
<a class='index-inst' href='load-save.html#LS-fundamental'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer'>3</a>,
<a class='index-inst' href='references.html#DOM2Core'>4</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-whatToShow'>DOM Level 2 Traversal and Range</a> <a class='index-inst' href='load-save.html#LS-LSParserFilter-whatToShow'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializerFilter'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializerFilter-whatToShow'>3</a>,
<a class='index-inst' href='references.html#DOM2Traversal-Range'>4</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-fundamental'>DOM Level 3 Core</a> <a class='index-inst' href='load-save.html#LS-fundamental'>1</a>,
<a class='index-inst' href='load-save.html#LS-DOMImplementation'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSParser'>3</a>,
<a class='index-inst' href='load-save.html#LS-LSParser-config'>4</a>,
<a class='index-inst' href='load-save.html#LS-LSParser-parseWithContext'>5</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer'>6</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>7</a>,
<a class='index-inst' href='references.html#DOMCore'>8</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSProgressEvent'>DOM Level 3 Events</a> <a class='index-inst' href='load-save.html#LS-LSProgressEvent'>1</a>,
<a class='index-inst' href='references.html#DOMEvents'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>domConfig</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementation'>DOMImplementationLS</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#ECMAScript'>ECMAScript</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-encoding'>encoding</a> <a class='index-inst' href='load-save.html#LS-LSInput-encoding'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-encoding'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-filter'>filter</a> <a class='index-inst' href='load-save.html#LS-LSParser-filter'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-LSSerializerFilter'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_ACCEPT'>FILTER_ACCEPT</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_INTERRUPT'>FILTER_INTERRUPT</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_REJECT'>FILTER_REJECT</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_SKIP'>FILTER_SKIP</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSOutput-encoding'>IANA-CHARSETS</a> <a class='index-inst' href='load-save.html#LS-LSOutput-encoding'>1</a>,
<a class='index-inst' href='references.html#IANA-CHARSETS'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-parseURI'>IETF RFC 2396</a> <a class='index-inst' href='load-save.html#LS-LSParser-parseURI'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-systemId'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-baseURI'>3</a>,
<a class='index-inst' href='load-save.html#LS-LSResourceResolver-resolveResource'>4</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-systemId'>5</a>,
<a class='index-inst' href='references.html#URIRef'>6</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>IETF RFC 2616</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-encoding'>2</a>,
<a class='index-inst' href='references.html#RFC2616'>3</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>IETF RFC 3023</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='references.html#RFC3023'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSProgressEvent-input'>input</a> <a class='index-inst' href='load-save.html#LS-LSProgressEvent-input'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSLoadEvent-input'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSReader'>ISO/IEC 10646</a> <a class='index-inst' href='load-save.html#LS-LSReader'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSWriter'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-characterStream'>3</a>,
<a class='index-inst' href='references.html#ISO10646'>4</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#Java'>Java</a></td>
<td width='30%'><a class='noxref' href='load-save.html#Load-Save'>JAXP</a> <a class='index-inst' href='load-save.html#Load-Save'>1</a>,
<a class='index-inst' href='references.html#JAXP'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#event-load'>load</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSException'>LSException</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LSInputStream'>LSInputStream</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSLoadEvent'>LSLoadEvent</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSOutput'>LSOutput</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LSOutputStream'>LSOutputStream</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser'>LSParser</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter'>LSParserFilter</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSProgressEvent'>LSProgressEvent</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LSReader'>LSReader</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSResourceResolver'>LSResourceResolver</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer'>LSSerializer</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializerFilter'>LSSerializerFilter</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LSWriter'>LSWriter</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-MODE_ASYNCH'>MODE_ASYNCHRONOUS</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-MODE_SYNC'>MODE_SYNCHRONOUS</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='glossary.html#dt-namespace-well-formed'>namespace well-formed</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSLoadEvent-document'>newDocument</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-newLine'>newLine</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#OMGIDL'>OMG IDL</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-parse'>parse</a></td>
<td width='30%'><a class='noxref' href='load-save.html#PARSE_ERR'>PARSE_ERR</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-parseURI'>parseURI</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-parseWithContext'>parseWithContext</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSProgressEvent-position'>position</a></td>
<td width='30%'><a class='noxref' href='load-save.html#event-progress'>progress</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-publicId'>publicId</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-parseWithContext'>read only node</a> <a class='index-inst' href='load-save.html#LS-LSParser-parseWithContext'>1</a>,
<a class='index-inst' href='glossary.html#dt-readonly-node'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSResourceResolver-resolveResource'>resolveResource</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#Load-Save'>SAX</a> <a class='index-inst' href='load-save.html#Load-Save'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSResourceResolver'>2</a>,
<a class='index-inst' href='references.html#SAX'>3</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSParser'>schema</a> <a class='index-inst' href='load-save.html#LS-DOMImplementationLS-createLSParser'>1</a>,
<a class='index-inst' href='glossary.html#dt-schema'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#SERIALIZE_ERR'>SERIALIZE_ERR</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-startElement'>startElement</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-stringData'>stringData</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSInput-systemId'>systemId</a> <a class='index-inst' href='load-save.html#LS-LSInput-systemId'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-systemId'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSProgressEvent-totalSize'>totalSize</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSReader'>Unicode</a> <a class='index-inst' href='load-save.html#LS-LSReader'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSWriter'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-characterStream'>3</a>,
<a class='index-inst' href='references.html#Unicode'>4</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-startElement'>well-formed</a> <a class='index-inst' href='load-save.html#LS-LSParserFilter-startElement'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSParserFilter-acceptNode'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer'>3</a>,
<a class='index-inst' href='glossary.html#dt-well-formed'>4</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParserFilter-whatToShow'>whatToShow</a> <a class='index-inst' href='load-save.html#LS-LSParserFilter-whatToShow'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializerFilter-whatToShow'>2</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-write'>write</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-writeToString'>writeToString</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSSerializer-writeToURI'>writeToURI</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSParser'>XML 1.0</a> <a class='index-inst' href='load-save.html#LS-DOMImplementationLS-createLSParser'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSParser-config'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-encoding'>3</a>,
<a class='index-inst' href='load-save.html#LS-LSResourceResolver-resolveResource'>4</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>5</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-newLine'>6</a>,
<a class='index-inst' href='load-save.html#LS-LSOutput-encoding'>7</a>,
<a class='index-inst' href='glossary.html#dt-namespace-well-formed'>8</a>,
<a class='index-inst' href='glossary.html#dt-well-formed'>9</a>,
<a class='index-inst' href='references.html#XML'>10</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>XML 1.1</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSInput-certifiedText'>2</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer'>3</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-config'>4</a>,
<a class='index-inst' href='load-save.html#LS-LSSerializer-newLine'>5</a>,
<a class='index-inst' href='glossary.html#dt-namespace-well-formed'>6</a>,
<a class='index-inst' href='glossary.html#dt-well-formed'>7</a>,
<a class='index-inst' href='references.html#XML11'>8</a></td>
<td width='30%'><a class='noxref' href='load-save.html#infoset-attribute'>XML Information Set</a> <a class='index-inst' href='load-save.html#infoset-attribute'>1</a>,
<a class='index-inst' href='references.html#InfoSet'>2</a></td>
<tr>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>XML Namespaces</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='glossary.html#dt-namespace-well-formed'>2</a>,
<a class='index-inst' href='references.html#Namespaces'>3</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-LSParser-config'>XML Namespaces 1.1</a> <a class='index-inst' href='load-save.html#LS-LSParser-config'>1</a>,
<a class='index-inst' href='glossary.html#dt-namespace-well-formed'>2</a>,
<a class='index-inst' href='references.html#Namespaces11'>3</a></td>
<td width='30%'><a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSParser'>XML Schema Part 1</a> <a class='index-inst' href='load-save.html#LS-DOMImplementationLS-createLSParser'>1</a>,
<a class='index-inst' href='load-save.html#LS-LSResourceResolver-resolveResource'>2</a>,
<a class='index-inst' href='references.html#XMLSchema1'>3</a></td>
</table>
</div> <!-- div1 Index --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='References' href='references.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,324 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:48 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>ECMAScript Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='java-binding.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Java Language Binding' accesskey='p' href='java-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Acknowledgements' accesskey='n' href='acknowledgements.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='ecma-binding'></a>
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript Language Binding</h1>
<p class='first'>This appendix contains the complete ECMAScript [<cite><a class='noxref normative' href='references.html#ECMAScript'>ECMAScript</a></cite>] binding for the Level 3 Document Object Model Load
and Save definitions.</p><div class='ecma-block'>
<dl>
<dt>Properties of the <b>LSException</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>LSException.PARSE_ERR</b></dt>
<dd>
The value of the constant <b>LSException.PARSE_ERR</b> is <b>81</b>.</dd>
<dt><b>LSException.SERIALIZE_ERR</b></dt>
<dd>
The value of the constant <b>LSException.SERIALIZE_ERR</b> is <b>82</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>LSException</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSException</b> interface:</dt>
<dd><dl>
<dt><b>code</b></dt>
<dd>
This property is
a <b>Number</b>.</dd></dl></dd>
</dl>
</dd>
<dt>Properties of the <b>DOMImplementationLS</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>DOMImplementationLS.MODE_SYNCHRONOUS</b></dt>
<dd>
The value of the constant <b>DOMImplementationLS.MODE_SYNCHRONOUS</b> is <b>1</b>.</dd>
<dt><b>DOMImplementationLS.MODE_ASYNCHRONOUS</b></dt>
<dd>
The value of the constant <b>DOMImplementationLS.MODE_ASYNCHRONOUS</b> is <b>2</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>DOMImplementationLS</b> interface:</dt>
<dd>
<dl>
<dt>Functions of objects that implement the <b>DOMImplementationLS</b> interface:</dt>
<dd><dl>
<dt><b>createLSParser(mode, schemaType)</b></dt>
<dd>This function returns an object that implements the <b>LSParser</b> interface.<br>The <b>mode</b> parameter is a <b>Number</b>.
<br>The <b>schemaType</b> parameter is a <b>String</b>.
<br>This function can raise an object that implements the <b>DOMException</b> interface.</dd>
<dt><b>createLSSerializer()</b></dt>
<dd>This function returns an object that implements the <b>LSSerializer</b> interface.</dd>
<dt><b>createLSInput()</b></dt>
<dd>This function returns an object that implements the <b>LSInput</b> interface.</dd>
<dt><b>createLSOutput()</b></dt>
<dd>This function returns an object that implements the <b>LSOutput</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Properties of the <b>LSParser</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>LSParser.ACTION_APPEND_AS_CHILDREN</b></dt>
<dd>
The value of the constant <b>LSParser.ACTION_APPEND_AS_CHILDREN</b> is <b>1</b>.</dd>
<dt><b>LSParser.ACTION_REPLACE_CHILDREN</b></dt>
<dd>
The value of the constant <b>LSParser.ACTION_REPLACE_CHILDREN</b> is <b>2</b>.</dd>
<dt><b>LSParser.ACTION_INSERT_BEFORE</b></dt>
<dd>
The value of the constant <b>LSParser.ACTION_INSERT_BEFORE</b> is <b>3</b>.</dd>
<dt><b>LSParser.ACTION_INSERT_AFTER</b></dt>
<dd>
The value of the constant <b>LSParser.ACTION_INSERT_AFTER</b> is <b>4</b>.</dd>
<dt><b>LSParser.ACTION_REPLACE</b></dt>
<dd>
The value of the constant <b>LSParser.ACTION_REPLACE</b> is <b>5</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>LSParser</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSParser</b> interface:</dt>
<dd><dl>
<dt><b>domConfig</b></dt>
<dd>
This read-only property is an object that implements the <b>DOMConfiguration</b> interface.</dd>
<dt><b>filter</b></dt>
<dd>
This property is an object that implements the <b>LSParserFilter</b> interface.</dd>
<dt><b>async</b></dt>
<dd>
This read-only property is a <b>Boolean</b>.</dd>
<dt><b>busy</b></dt>
<dd>
This read-only property is a <b>Boolean</b>.</dd>
</dl></dd>
<dt>Functions of objects that implement the <b>LSParser</b> interface:</dt>
<dd><dl>
<dt><b>parse(input)</b></dt>
<dd>This function returns an object that implements the <b>Document</b> interface.<br>The <b>input</b> parameter is an object that implements the <b>LSInput</b> interface.
<br>This function can raise an object that implements the <b>DOMException</b> interface or the <b>LSException</b> interface.</dd>
<dt><b>parseURI(uri)</b></dt>
<dd>This function returns an object that implements the <b>Document</b> interface.<br>The <b>uri</b> parameter is a <b>String</b>.
<br>This function can raise an object that implements the <b>DOMException</b> interface or the <b>LSException</b> interface.</dd>
<dt><b>parseWithContext(input, contextArg, action)</b></dt>
<dd>This function returns an object that implements the <b>Node</b> interface.<br>The <b>input</b> parameter is an object that implements the <b>LSInput</b> interface.
<br>The <b>contextArg</b> parameter is an object that implements the <b>Node</b> interface.
<br>The <b>action</b> parameter is a <b>Number</b>.
<br>This function can raise an object that implements the <b>DOMException</b> interface or the <b>LSException</b> interface.</dd>
<dt><b>abort()</b></dt>
<dd>This function has no return value.
</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSInput</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSInput</b> interface:</dt>
<dd><dl>
<dt><b>byteStream</b></dt>
<dd>
This property is an object that implements the <b>Object</b> interface.</dd>
<dt><b>stringData</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>systemId</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>publicId</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>baseURI</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>encoding</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>certifiedText</b></dt>
<dd>
This property is a <b>Boolean</b>.</dd>
</dl></dd>
</dl>
</dd>
<dt><b>LSResourceResolver</b> function:</dt>
<dd>
<dd>This function returns an object that implements the <b>LSInput</b> interface. The first parameter is a <b>String</b>.
The second parameter is a <b>String</b>.
The third parameter is a <b>String</b>.
The fourth parameter is a <b>String</b>.
The fifth parameter is a <b>String</b>.
</dd>
<dt>Properties of the <b>LSParserFilter</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>LSParserFilter.FILTER_ACCEPT</b></dt>
<dd>
The value of the constant <b>LSParserFilter.FILTER_ACCEPT</b> is <b>1</b>.</dd>
<dt><b>LSParserFilter.FILTER_REJECT</b></dt>
<dd>
The value of the constant <b>LSParserFilter.FILTER_REJECT</b> is <b>2</b>.</dd>
<dt><b>LSParserFilter.FILTER_SKIP</b></dt>
<dd>
The value of the constant <b>LSParserFilter.FILTER_SKIP</b> is <b>3</b>.</dd>
<dt><b>LSParserFilter.FILTER_INTERRUPT</b></dt>
<dd>
The value of the constant <b>LSParserFilter.FILTER_INTERRUPT</b> is <b>4</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>LSParserFilter</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSParserFilter</b> interface:</dt>
<dd><dl>
<dt><b>whatToShow</b></dt>
<dd>
This read-only property is a <b>Number</b>.</dd>
</dl></dd>
<dt>Functions of objects that implement the <b>LSParserFilter</b> interface:</dt>
<dd><dl>
<dt><b>startElement(elementArg)</b></dt>
<dd>This function returns a <b>Number</b>.<br>The <b>elementArg</b> parameter is an object that implements the <b>Element</b> interface.
</dd>
<dt><b>acceptNode(nodeArg)</b></dt>
<dd>This function returns a <b>Number</b>.<br>The <b>nodeArg</b> parameter is an object that implements the <b>Node</b> interface.
</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSProgressEvent</b> interface:</dt>
<dd>
<dl>
<dt>Objects that implement the <b>LSProgressEvent</b> interface have all properties and functions of the <b>Event</b> interface as well as the properties and functions defined below.</dt>
<dt>Properties of objects that implement the <b>LSProgressEvent</b> interface:</dt>
<dd><dl>
<dt><b>input</b></dt>
<dd>
This read-only property is an object that implements the <b>LSInput</b> interface.</dd>
<dt><b>position</b></dt>
<dd>
This read-only property is a <b>Number</b>.</dd>
<dt><b>totalSize</b></dt>
<dd>
This read-only property is a <b>Number</b>.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSLoadEvent</b> interface:</dt>
<dd>
<dl>
<dt>Objects that implement the <b>LSLoadEvent</b> interface have all properties and functions of the <b>Event</b> interface as well as the properties and functions defined below.</dt>
<dt>Properties of objects that implement the <b>LSLoadEvent</b> interface:</dt>
<dd><dl>
<dt><b>newDocument</b></dt>
<dd>
This read-only property is an object that implements the <b>Document</b> interface.</dd>
<dt><b>input</b></dt>
<dd>
This read-only property is an object that implements the <b>LSInput</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSSerializer</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSSerializer</b> interface:</dt>
<dd><dl>
<dt><b>domConfig</b></dt>
<dd>
This read-only property is an object that implements the <b>DOMConfiguration</b> interface.</dd>
<dt><b>newLine</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>filter</b></dt>
<dd>
This property is an object that implements the <b>LSSerializerFilter</b> interface.</dd>
</dl></dd>
<dt>Functions of objects that implement the <b>LSSerializer</b> interface:</dt>
<dd><dl>
<dt><b>write(nodeArg, destination)</b></dt>
<dd>This function returns a <b>Boolean</b>.<br>The <b>nodeArg</b> parameter is an object that implements the <b>Node</b> interface.
<br>The <b>destination</b> parameter is an object that implements the <b>LSOutput</b> interface.
<br>This function can raise an object that implements the <b>LSException</b> interface.</dd>
<dt><b>writeToURI(nodeArg, uri)</b></dt>
<dd>This function returns a <b>Boolean</b>.<br>The <b>nodeArg</b> parameter is an object that implements the <b>Node</b> interface.
<br>The <b>uri</b> parameter is a <b>String</b>.
<br>This function can raise an object that implements the <b>LSException</b> interface.</dd>
<dt><b>writeToString(nodeArg)</b></dt>
<dd>This function returns a <b>String</b>.<br>The <b>nodeArg</b> parameter is an object that implements the <b>Node</b> interface.
<br>This function can raise an object that implements the <b>DOMException</b> interface or the <b>LSException</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSOutput</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>LSOutput</b> interface:</dt>
<dd><dl>
<dt><b>byteStream</b></dt>
<dd>
This property is an object that implements the <b>Object</b> interface.</dd>
<dt><b>systemId</b></dt>
<dd>
This property is a <b>String</b>.</dd>
<dt><b>encoding</b></dt>
<dd>
This property is a <b>String</b>.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>LSSerializerFilter</b> interface:</dt>
<dd>
<dl>
<dt>Objects that implement the <b>LSSerializerFilter</b> interface have all properties and functions of the <b>NodeFilter</b> interface as well as the properties and functions defined below.</dt>
<dt>Properties of objects that implement the <b>LSSerializerFilter</b> interface:</dt>
<dd><dl>
<dt><b>whatToShow</b></dt>
<dd>
This read-only property is a <b>Number</b>.</dd>
</dl></dd>
</dl>
</dd>
</dl>
</div> <!-- ecma-block -->
</div> <!-- div1 ecma-binding --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Java Language Binding' href='java-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Acknowledgements' href='acknowledgements.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,102 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:39 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Expanded Table of Contents</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='Overview.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='overview' accesskey='p' href='Overview.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='W3C Copyright Notices and Licenses' accesskey='n' href='copyright-notice.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a 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'>W3C Copyright Notices and Licenses</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-notice-document'>W3C<sup>&#xae;</sup> Document Copyright Notice and License</a>
</li>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-notice-software'>W3C<sup>&#xae;</sup> Software Copyright Notice and License</a>
</li>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-short-notice'>W3C<sup>&#xae;</sup> Short Software Notice</a>
</li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='load-save.html'>1 Document Object Model Load and Save</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='load-save.html#Level-3-LS-Interface'>1.1 Overview of the Interfaces</a>
</li>
<li class='tocline3'><a class='tocxref' href='load-save.html#LS-BasicTypes'>1.2 Basic Types</a>
<ul class='toc'>
<li class='tocline4'><a class='tocxref' href='load-save.html#LS-LSInputStream'>1.2.1 The LSInputStream Type</a>
<li class='tocline4'><a class='tocxref' href='load-save.html#LS-LSOutputStream'>1.2.2 The LSOutputStream Type</a>
<li class='tocline4'><a class='tocxref' href='load-save.html#LS-LSReader'>1.2.3 The LSReader Type</a>
<li class='tocline4'><a class='tocxref' href='load-save.html#LS-LSWriter'>1.2.4 The LSWriter Type</a>
</ul></li>
<li class='tocline3'><a class='tocxref' href='load-save.html#LS-fundamental'>1.3 Fundamental 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='glossary.html'>Glossary</a>
</li>
<li class='tocline2'><a class='tocxref' href='references.html'>References</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='references.html#References-Normative'>1 Normative References</a>
</li>
<li class='tocline3'><a class='tocxref' href='references.html#References-Informative'>2 Informative References</a>
</li>
</ul>
</li>
<li class='tocline2'><a class='tocxref' href='def-index.html'>Index</a>
</li>
</ul>
</div> <!-- div1 TOC --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='overview' href='Overview.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='W3C Copyright Notices and Licenses' href='copyright-notice.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,93 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:49 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Glossary</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='acknowledgements.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Acknowledgements' accesskey='p' href='acknowledgements.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='References' accesskey='n' href='references.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='glossary'></a>
<h1 id='role-glossary' class='glossary'>
Glossary</h1>
<dl>
<dt><i>Editors</i>:
</dt><dd>Arnaud Le Hors, W3C</dd>
<dd>Robert S. Sutor, IBM Research (for DOM Level 1)</dd>
</dl>
<p class='first'>Some 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 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.</dd><dt><b><a name='dt-API'>API</a></b></dt>
<dd>An <i>API</i> is an Application Programming
Interface, a set of functions or methods used to access some
functionality.</dd><dt><b><a name='dt-namespace-well-formed'>namespace well-formed</a></b></dt>
<dd>
A node is a <i>namespace well-formed</i> XML node if it
is a <a href='glossary.html#dt-well-formed'>well-formed</a> node,
and follows the productions and namespace constraints. If
[<cite><a class='noxref normative' href='references.html#XML'>XML 1.0</a></cite>] is used, the constraints are defined in
[<cite><a class='noxref normative' href='references.html#Namespaces'>XML Namespaces</a></cite>]. If [<cite><a class='noxref normative' href='references.html#XML11'>XML 1.1</a></cite>] is used,
the constraints are defined in [<cite><a class='noxref normative' href='references.html#Namespaces11'>XML Namespaces 1.1</a></cite>].
</dd><dt><b><a name='dt-readonly-node'>read only node</a></b></dt>
<dd>A <i>read only node</i> is a node that is immutable. This
means its list of children, its content, and its attributes, when it
is an element, cannot be changed in any way. However, a read only node
can possibly be moved, when it is not itself contained in a read only
node.</dd><dt><b><a name='dt-schema'>schema</a></b></dt>
<dd>
A <i>schema</i> defines a set of structural and value
constraints applicable to XML documents. Schemas can be
expressed in schema languages, such as DTD, XML Schema, etc.
</dd><dt><b><a name='dt-well-formed'>well-formed</a></b></dt>
<dd>
A node is a <i>well-formed</i> XML node if its
serialized form, without doing any transformation during its
serialization, matches its respective production in [<cite><a class='noxref normative' href='references.html#XML'>XML 1.0</a></cite>] or [<cite><a class='noxref normative' href='references.html#XML11'>XML 1.1</a></cite>] (depending on the XML
version in use) with all well-formedness constraints related
to that production, and if the entities which are referenced
within the node are also well-formed. If namespaces for XML
are in use, the node must also be <a href='glossary.html#dt-namespace-well-formed'>namespace
well-formed</a>.
</dd></dl>
</div> <!-- div1 glossary --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Acknowledgements' href='acknowledgements.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='References' href='references.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,212 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:43 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>IDL Definitions</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='load-save.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Document Object Model Load and Save' accesskey='p' href='load-save.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Java Language Binding' accesskey='n' href='java-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='idl'></a>
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
<p class='first'>
This appendix contains the complete OMG IDL [<cite><a class='noxref normative' href='references.html#OMGIDL'>OMG IDL</a></cite>] for the
Level 3 Document Object Model Abstract Schemas and Load and Save
definitions.
</p><p>The IDL files are also available as: <a class='normative' href='idl.zip'>http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/idl.zip</a></p><h3 id='idl-ls.idl'><a href='idl/ls.idl'>ls.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: ls.idl
#ifndef _LS_IDL_
#define _LS_IDL_
#include "dom.idl"
#include "events.idl"
#include "traversal.idl"
#pragma prefix "dom.w3c.org"
module ls
{
typedef Object <a class='noxref' href='load-save.html#LSInputStream'>LSInputStream</a>;
typedef Object <a class='noxref' href='load-save.html#LSOutputStream'>LSOutputStream</a>;
typedef Object <a class='noxref' href='load-save.html#LSReader'>LSReader</a>;
typedef Object <a class='noxref' href='load-save.html#LSWriter'>LSWriter</a>;
typedef dom::DOMString DOMString;
typedef dom::DOMConfiguration DOMConfiguration;
typedef dom::Node Node;
typedef dom::Document Document;
typedef dom::Element Element;
interface LSParser;
interface LSSerializer;
interface LSInput;
interface LSOutput;
interface LSParserFilter;
interface LSSerializerFilter;
exception <a class='noxref' href='load-save.html#LS-LSException'>LSException</a> {
unsigned short code;
};
// LSExceptionCode
const unsigned short <a class='noxref' href='load-save.html#PARSE_ERR'>PARSE_ERR</a> = 81;
const unsigned short <a class='noxref' href='load-save.html#SERIALIZE_ERR'>SERIALIZE_ERR</a> = 82;
interface <a class='noxref' href='load-save.html#LS-DOMImplementation'>DOMImplementationLS</a> {
// DOMImplementationLSMode
const unsigned short <a class='noxref' href='load-save.html#LS-DOMImplementationLS-MODE_SYNC'>MODE_SYNCHRONOUS</a> = 1;
const unsigned short <a class='noxref' href='load-save.html#LS-DOMImplementationLS-MODE_ASYNCH'>MODE_ASYNCHRONOUS</a> = 2;
<a class='noxref' href='load-save.html#LS-LSParser'>LSParser</a> <a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSParser'>createLSParser</a>(in unsigned short mode,
in DOMString schemaType)
raises(dom::DOMException);
<a class='noxref' href='load-save.html#LS-LSSerializer'>LSSerializer</a> <a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSSerializer'>createLSSerializer</a>();
<a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> <a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSInput'>createLSInput</a>();
<a class='noxref' href='load-save.html#LS-LSOutput'>LSOutput</a> <a class='noxref' href='load-save.html#LS-DOMImplementationLS-createLSOutput'>createLSOutput</a>();
};
interface <a class='noxref' href='load-save.html#LS-LSParser'>LSParser</a> {
readonly attribute DOMConfiguration <a class='noxref' href='load-save.html#LS-LSParser-config'>domConfig</a>;
attribute <a class='noxref' href='load-save.html#LS-LSParserFilter'>LSParserFilter</a> <a class='noxref' href='load-save.html#LS-LSParser-filter'>filter</a>;
readonly attribute boolean <a class='noxref' href='load-save.html#LS-LSParser-async'>async</a>;
readonly attribute boolean <a class='noxref' href='load-save.html#LS-LSParser-busy'>busy</a>;
Document <a class='noxref' href='load-save.html#LS-LSParser-parse'>parse</a>(in <a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> input)
raises(dom::DOMException,
<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
Document <a class='noxref' href='load-save.html#LS-LSParser-parseURI'>parseURI</a>(in DOMString uri)
raises(dom::DOMException,
<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
// ACTION_TYPES
const unsigned short <a class='noxref' href='load-save.html#LS-LSParser-ACTION_APPEND_AS_CHILDREN'>ACTION_APPEND_AS_CHILDREN</a> = 1;
const unsigned short <a class='noxref' href='load-save.html#LS-LSParser-ACTION_REPLACE_CHILDREN'>ACTION_REPLACE_CHILDREN</a> = 2;
const unsigned short <a class='noxref' href='load-save.html#LS-LSParser-ACTION_INSERT_BEFORE'>ACTION_INSERT_BEFORE</a> = 3;
const unsigned short <a class='noxref' href='load-save.html#LS-LSParser-ACTION_INSERT_AFTER'>ACTION_INSERT_AFTER</a> = 4;
const unsigned short <a class='noxref' href='load-save.html#LS-LSParser-ACTION_REPLACE'>ACTION_REPLACE</a> = 5;
Node <a class='noxref' href='load-save.html#LS-LSParser-parseWithContext'>parseWithContext</a>(in <a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> input,
in Node contextArg,
in unsigned short action)
raises(dom::DOMException,
<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
void <a class='noxref' href='load-save.html#LS-LSParser-abort'>abort</a>();
};
interface <a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> {
// Depending on the language binding in use,
// this attribute may not be available.
attribute <a class='noxref' href='load-save.html#LSReader'>LSReader</a> <a class='noxref' href='load-save.html#LS-LSInput-characterStream'>characterStream</a>;
attribute <a class='noxref' href='load-save.html#LSInputStream'>LSInputStream</a> <a class='noxref' href='load-save.html#LS-LSInput-byteStream'>byteStream</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSInput-stringData'>stringData</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSInput-systemId'>systemId</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSInput-publicId'>publicId</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSInput-baseURI'>baseURI</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSInput-encoding'>encoding</a>;
attribute boolean <a class='noxref' href='load-save.html#LS-LSInput-certifiedText'>certifiedText</a>;
};
interface <a class='noxref' href='load-save.html#LS-LSResourceResolver'>LSResourceResolver</a> {
<a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> <a class='noxref' href='load-save.html#LS-LSResourceResolver-resolveResource'>resolveResource</a>(in DOMString type,
in DOMString namespaceURI,
in DOMString publicId,
in DOMString systemId,
in DOMString baseURI);
};
interface <a class='noxref' href='load-save.html#LS-LSParserFilter'>LSParserFilter</a> {
// Constants returned by startElement and acceptNode
const short <a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_ACCEPT'>FILTER_ACCEPT</a> = 1;
const short <a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_REJECT'>FILTER_REJECT</a> = 2;
const short <a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_SKIP'>FILTER_SKIP</a> = 3;
const short <a class='noxref' href='load-save.html#LS-LSParserFilter-FILTER_INTERRUPT'>FILTER_INTERRUPT</a> = 4;
unsigned short <a class='noxref' href='load-save.html#LS-LSParserFilter-startElement'>startElement</a>(in Element elementArg);
unsigned short <a class='noxref' href='load-save.html#LS-LSParserFilter-acceptNode'>acceptNode</a>(in Node nodeArg);
readonly attribute unsigned long <a class='noxref' href='load-save.html#LS-LSParserFilter-whatToShow'>whatToShow</a>;
};
interface <a class='noxref' href='load-save.html#LS-LSSerializer'>LSSerializer</a> {
readonly attribute DOMConfiguration <a class='noxref' href='load-save.html#LS-LSSerializer-config'>domConfig</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSSerializer-newLine'>newLine</a>;
attribute <a class='noxref' href='load-save.html#LS-LSSerializerFilter'>LSSerializerFilter</a> <a class='noxref' href='load-save.html#LS-LSSerializer-LSSerializerFilter'>filter</a>;
boolean <a class='noxref' href='load-save.html#LS-LSSerializer-write'>write</a>(in Node nodeArg,
in <a class='noxref' href='load-save.html#LS-LSOutput'>LSOutput</a> destination)
raises(<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
boolean <a class='noxref' href='load-save.html#LS-LSSerializer-writeToURI'>writeToURI</a>(in Node nodeArg,
in DOMString uri)
raises(<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
DOMString <a class='noxref' href='load-save.html#LS-LSSerializer-writeToString'>writeToString</a>(in Node nodeArg)
raises(dom::DOMException,
<a class='noxref' href='load-save.html#LS-LSException'>LSException</a>);
};
interface <a class='noxref' href='load-save.html#LS-LSOutput'>LSOutput</a> {
// Depending on the language binding in use,
// this attribute may not be available.
attribute <a class='noxref' href='load-save.html#LSWriter'>LSWriter</a> <a class='noxref' href='load-save.html#LS-LSOutput-characterStream'>characterStream</a>;
attribute <a class='noxref' href='load-save.html#LSOutputStream'>LSOutputStream</a> <a class='noxref' href='load-save.html#LS-LSOutput-byteStream'>byteStream</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSOutput-systemId'>systemId</a>;
attribute DOMString <a class='noxref' href='load-save.html#LS-LSOutput-encoding'>encoding</a>;
};
interface <a class='noxref' href='load-save.html#LS-LSProgressEvent'>LSProgressEvent</a> : events::Event {
readonly attribute <a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> <a class='noxref' href='load-save.html#LS-LSProgressEvent-input'>input</a>;
readonly attribute unsigned long <a class='noxref' href='load-save.html#LS-LSProgressEvent-position'>position</a>;
readonly attribute unsigned long <a class='noxref' href='load-save.html#LS-LSProgressEvent-totalSize'>totalSize</a>;
};
interface <a class='noxref' href='load-save.html#LS-LSLoadEvent'>LSLoadEvent</a> : events::Event {
readonly attribute Document <a class='noxref' href='load-save.html#LS-LSLoadEvent-document'>newDocument</a>;
readonly attribute <a class='noxref' href='load-save.html#LS-LSInput'>LSInput</a> <a class='noxref' href='load-save.html#LS-LSLoadEvent-input'>input</a>;
};
interface <a class='noxref' href='load-save.html#LS-LSSerializerFilter'>LSSerializerFilter</a> : traversal::NodeFilter {
readonly attribute unsigned long <a class='noxref' href='load-save.html#LS-LSSerializerFilter-whatToShow'>whatToShow</a>;
};
};
#endif // _LS_IDL_
</pre>
</div>
</div> <!-- div1 idl --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Document Object Model Load and Save' href='load-save.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Java Language Binding' href='java-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

171
java/external/xdocs/dom/ls/idl/ls.idl vendored Normal file
View File

@ -0,0 +1,171 @@
/*
* Copyright (c) 2004 World Wide Web Consortium,
*
* (Massachusetts Institute of Technology, European Research Consortium for
* Informatics and Mathematics, Keio University). All Rights Reserved. This
* work is distributed under the W3C(r) Software License [1] 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.
*
* [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
*/
// File: http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/ls.idl
#ifndef _LS_IDL_
#define _LS_IDL_
#include "dom.idl"
#include "events.idl"
#include "traversal.idl"
#pragma prefix "dom.w3c.org"
module ls
{
typedef Object LSInputStream;
typedef Object LSOutputStream;
typedef Object LSReader;
typedef Object LSWriter;
typedef dom::DOMString DOMString;
typedef dom::DOMConfiguration DOMConfiguration;
typedef dom::Node Node;
typedef dom::Document Document;
typedef dom::Element Element;
interface LSParser;
interface LSSerializer;
interface LSInput;
interface LSOutput;
interface LSParserFilter;
interface LSSerializerFilter;
exception LSException {
unsigned short code;
};
// LSExceptionCode
const unsigned short PARSE_ERR = 81;
const unsigned short SERIALIZE_ERR = 82;
interface DOMImplementationLS {
// DOMImplementationLSMode
const unsigned short MODE_SYNCHRONOUS = 1;
const unsigned short MODE_ASYNCHRONOUS = 2;
LSParser createLSParser(in unsigned short mode,
in DOMString schemaType)
raises(dom::DOMException);
LSSerializer createLSSerializer();
LSInput createLSInput();
LSOutput createLSOutput();
};
interface LSParser {
readonly attribute DOMConfiguration domConfig;
attribute LSParserFilter filter;
readonly attribute boolean async;
readonly attribute boolean busy;
Document parse(in LSInput input)
raises(dom::DOMException,
LSException);
Document parseURI(in DOMString uri)
raises(dom::DOMException,
LSException);
// ACTION_TYPES
const unsigned short ACTION_APPEND_AS_CHILDREN = 1;
const unsigned short ACTION_REPLACE_CHILDREN = 2;
const unsigned short ACTION_INSERT_BEFORE = 3;
const unsigned short ACTION_INSERT_AFTER = 4;
const unsigned short ACTION_REPLACE = 5;
Node parseWithContext(in LSInput input,
in Node contextArg,
in unsigned short action)
raises(dom::DOMException,
LSException);
void abort();
};
interface LSInput {
// Depending on the language binding in use,
// this attribute may not be available.
attribute LSReader characterStream;
attribute LSInputStream byteStream;
attribute DOMString stringData;
attribute DOMString systemId;
attribute DOMString publicId;
attribute DOMString baseURI;
attribute DOMString encoding;
attribute boolean certifiedText;
};
interface LSResourceResolver {
LSInput resolveResource(in DOMString type,
in DOMString namespaceURI,
in DOMString publicId,
in DOMString systemId,
in DOMString baseURI);
};
interface LSParserFilter {
// Constants returned by startElement and acceptNode
const short FILTER_ACCEPT = 1;
const short FILTER_REJECT = 2;
const short FILTER_SKIP = 3;
const short FILTER_INTERRUPT = 4;
unsigned short startElement(in Element elementArg);
unsigned short acceptNode(in Node nodeArg);
readonly attribute unsigned long whatToShow;
};
interface LSSerializer {
readonly attribute DOMConfiguration domConfig;
attribute DOMString newLine;
attribute LSSerializerFilter filter;
boolean write(in Node nodeArg,
in LSOutput destination)
raises(LSException);
boolean writeToURI(in Node nodeArg,
in DOMString uri)
raises(LSException);
DOMString writeToString(in Node nodeArg)
raises(dom::DOMException,
LSException);
};
interface LSOutput {
// Depending on the language binding in use,
// this attribute may not be available.
attribute LSWriter characterStream;
attribute LSOutputStream byteStream;
attribute DOMString systemId;
attribute DOMString encoding;
};
interface LSProgressEvent : events::Event {
readonly attribute LSInput input;
readonly attribute unsigned long position;
readonly attribute unsigned long totalSize;
};
interface LSLoadEvent : events::Event {
readonly attribute Document newDocument;
readonly attribute LSInput input;
};
interface LSSerializerFilter : traversal::NodeFilter {
readonly attribute unsigned long whatToShow;
};
};
#endif // _LS_IDL_

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

View File

@ -0,0 +1,302 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:44 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Java Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='idl-definitions.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='IDL Definitions' accesskey='p' href='idl-definitions.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='ECMAScript Language Binding' accesskey='n' href='ecma-script-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='java-binding'></a>
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language Binding</h1>
<p class='first'>This appendix contains the complete Java [<cite><a class='noxref normative' href='references.html#Java'>Java</a></cite>] bindings for
the Level 3 Document Object Model Load and Save.</p><p>The Java files are also available as <a class='normative' href='java-binding.zip'>http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/java-binding.zip</a></p><h3 id='org.w3c.dom.ls.LSException'>org/w3c/dom/ls/LSException.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
public class LSException extends RuntimeException {
public LSException(short code, String message) {
super(message);
this.code = code;
}
public short code;
// LSExceptionCode
public static final short PARSE_ERR = 81;
public static final short SERIALIZE_ERR = 82;
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.DOMImplementationLS'>org/w3c/dom/ls/DOMImplementationLS.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.DOMException;
public interface DOMImplementationLS {
// DOMImplementationLSMode
public static final short MODE_SYNCHRONOUS = 1;
public static final short MODE_ASYNCHRONOUS = 2;
public LSParser createLSParser(short mode,
String schemaType)
throws DOMException;
public LSSerializer createLSSerializer();
public LSInput createLSInput();
public LSOutput createLSOutput();
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSParser'>org/w3c/dom/ls/LSParser.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.Document;
import org.w3c.dom.DOMConfiguration;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public interface LSParser {
public DOMConfiguration getDomConfig();
public LSParserFilter getFilter();
public void setFilter(LSParserFilter filter);
public boolean getAsync();
public boolean getBusy();
public Document parse(LSInput input)
throws DOMException, LSException;
public Document parseURI(String uri)
throws DOMException, LSException;
// ACTION_TYPES
public static final short ACTION_APPEND_AS_CHILDREN = 1;
public static final short ACTION_REPLACE_CHILDREN = 2;
public static final short ACTION_INSERT_BEFORE = 3;
public static final short ACTION_INSERT_AFTER = 4;
public static final short ACTION_REPLACE = 5;
public Node parseWithContext(LSInput input,
Node contextArg,
short action)
throws DOMException, LSException;
public void abort();
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSInput'>org/w3c/dom/ls/LSInput.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
public interface LSInput {
public java.io.Reader getCharacterStream();
public void setCharacterStream(java.io.Reader characterStream);
public java.io.InputStream getByteStream();
public void setByteStream(java.io.InputStream byteStream);
public String getStringData();
public void setStringData(String stringData);
public String getSystemId();
public void setSystemId(String systemId);
public String getPublicId();
public void setPublicId(String publicId);
public String getBaseURI();
public void setBaseURI(String baseURI);
public String getEncoding();
public void setEncoding(String encoding);
public boolean getCertifiedText();
public void setCertifiedText(boolean certifiedText);
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSResourceResolver'>org/w3c/dom/ls/LSResourceResolver.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
public interface LSResourceResolver {
public LSInput resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI);
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSParserFilter'>org/w3c/dom/ls/LSParserFilter.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
public interface LSParserFilter {
// Constants returned by startElement and acceptNode
public static final short FILTER_ACCEPT = 1;
public static final short FILTER_REJECT = 2;
public static final short FILTER_SKIP = 3;
public static final short FILTER_INTERRUPT = 4;
public short startElement(Element elementArg);
public short acceptNode(Node nodeArg);
public int getWhatToShow();
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSProgressEvent'>org/w3c/dom/ls/LSProgressEvent.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.events.Event;
public interface LSProgressEvent extends Event {
public LSInput getInput();
public int getPosition();
public int getTotalSize();
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSLoadEvent'>org/w3c/dom/ls/LSLoadEvent.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.Document;
import org.w3c.dom.events.Event;
public interface LSLoadEvent extends Event {
public Document getNewDocument();
public LSInput getInput();
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSSerializer'>org/w3c/dom/ls/LSSerializer.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.DOMConfiguration;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public interface LSSerializer {
public DOMConfiguration getDomConfig();
public String getNewLine();
public void setNewLine(String newLine);
public LSSerializerFilter getFilter();
public void setFilter(LSSerializerFilter filter);
public boolean write(Node nodeArg,
LSOutput destination)
throws LSException;
public boolean writeToURI(Node nodeArg,
String uri)
throws LSException;
public String writeToString(Node nodeArg)
throws DOMException, LSException;
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSOutput'>org/w3c/dom/ls/LSOutput.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
public interface LSOutput {
public java.io.Writer getCharacterStream();
public void setCharacterStream(java.io.Writer characterStream);
public java.io.OutputStream getByteStream();
public void setByteStream(java.io.OutputStream byteStream);
public String getSystemId();
public void setSystemId(String systemId);
public String getEncoding();
public void setEncoding(String encoding);
}
</pre>
</div>
<h3 id='org.w3c.dom.ls.LSSerializerFilter'>org/w3c/dom/ls/LSSerializerFilter.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.ls;
import org.w3c.dom.traversal.NodeFilter;
public interface LSSerializerFilter extends NodeFilter {
public int getWhatToShow();
}
</pre>
</div>
</div> <!-- div1 java-binding --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='IDL Definitions' href='idl-definitions.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='ECMAScript Language Binding' href='ecma-script-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

2747
java/external/xdocs/dom/ls/load-save.html vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,217 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Apr 05 15:05:49 EDT 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>References</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='glossary.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Glossary' accesskey='p' href='glossary.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Index' accesskey='n' href='def-index.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>07 April 2004</p>
</div>
<div class='div1'><a name='References'></a>
<h1 id='role-references' class='references'>
References</h1>
<p class='first'>
For the latest version of any W3C specification please consult the list of
<a class='normative' href='http://www.w3.org/TR'>W3C Technical Reports</a> available at
http://www.w3.org/TR.
</p>
<div class='div2'><a name='References-Normative'></a>
<h2 id='References-Normative-h2' class='adiv2'>F.1 Normative References</h2>
<dl><dt><b>[<a name='DOM2Core'>DOM Level 2 Core</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document Object Model Level 2 Core
Specification</a></cite>, A. Le Hors, et al., Editors. World
Wide Web Consortium, 13 November 2000. This version of the DOM
Level 2 Core Recommendation is http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-2-Core'>latest version of
DOM Level 2 Core</a> is available at
http://www.w3.org/TR/DOM-Level-2-Core.
</dd>
<dt><b>[<a name='DOMCore'>DOM Level 3 Core</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model Level 3 Core
Specification</a></cite>, A. Le Hors, et al., Editors. World
Wide Web Consortium, 7 April 2004. This version of the Document
Object Model Level 3 Core Recommendation is
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-3-Core'>latest version of
DOM Level 3 Core</a> is available at
http://www.w3.org/TR/DOM-Level-3-Core.
</dd>
<dt><b>[<a name='DOM2Traversal-Range'>DOM Level 2 Traversal and Range</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model Level 2 Traversal and Range
Specification</a></cite>, J. Kesselman, J. Robie, M.
Champion, P. Sharpe, V. Apparao, L. Wood,
Editors. World Wide Web Consortium, 13 November 2000. This
version of the Document Object Model Level 2 Traversal and Range
Recommendation is http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range'>latest
version of Document Object Model Level 2 Traversal and
Range</a> is available at
http://www.w3.org/TR/DOM-Level-2-Traversal-Range.
</dd>
<dt><b>[<a name='ECMAScript'>ECMAScript</a>]</b></dt><dd>
<cite>
ECMAScript Language Specification</cite>, Third
Edition. European Computer Manufacturers Association, Standard
ECMA-262, December 1999. This version of the ECMAScript
Language is available from http://www.ecma-international.org/.
</dd>
<dt><b>[<a name='IANA-CHARSETS'>IANA-CHARSETS</a>]</b></dt><dd>
<cite><a href='ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets'>Official Names for Character Sets</a></cite>,
K. Simonsen, et al., Editors. Internet Assigned Numbers
Authority. Available at
ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets.
</dd>
<dt><b>[<a name='ISO10646'>ISO/IEC 10646</a>]</b></dt><dd>
<cite>
ISO/IEC 10646-2000 (E). Information technology -
Universal Multiple-Octet Coded Character Set (UCS) - Part 1:
Architecture and Basic Multilingual Plane</cite>, as, from
time to time, amended, replaced by a new edition or expanded by
the addition of new parts. [Geneva]: International Organization
for Standardization, 2000. See also <a class='normative' href='http://www.iso.ch'>International Organization for
Standardization</a>, available at http://www.iso.ch, for the
latest version.
</dd>
<dt><b>[<a name='Java'>Java</a>]</b></dt><dd>
<cite><a href='http://java.sun.com/docs/books/jls'>The Java Language Specification</a></cite>, J.
Gosling, B. Joy, and G. Steele, Authors. Addison-Wesley,
September 1996. Available at http://java.sun.com/docs/books/jls
</dd>
<dt><b>[<a name='OMGIDL'>OMG IDL</a>]</b></dt><dd>
<cite>"OMG IDL Syntax and Semantics"</cite> defined in
<cite><a href='http://www.omg.org/technology/documents/formal/corba_2.htm'>The Common Object Request Broker: Architecture and
Specification, version 2</a></cite>, Object Management
Group. The latest version of CORBA version 2.0 is available at
http://www.omg.org/technology/documents/formal/corba_2.htm.
</dd>
<dt><b>[<a name='URIRef'>IETF RFC 2396</a>]</b></dt><dd>
<cite><a href='http://www.ietf.org/rfc/rfc2396.txt'>Uniform Resource Identifiers (URI): Generic Syntax</a></cite>, T. Berners-Lee,
R. Fielding, L. Masinter, Authors. Internet Engineering Task Force, August 1998. Available at
http://www.ietf.org/rfc/rfc2396.txt.
</dd>
<dt><b>[<a name='RFC3023'>IETF RFC 3023</a>]</b></dt><dd>
<cite><a href='http://www.ietf.org/rfc/rfc3023.txt'>XML Media Types</a></cite>, M. Murata, S. St.Laurent,
and D. Kohn, Editors. Internet Engineering Task Force, January
2001. Available at http://www.ietf.org/rfc/rfc3023.txt.
</dd>
<dt><b>[<a name='SAX'>SAX</a>]</b></dt><dd>
<cite><a href='http://www.saxproject.org/'>Simple API for XML</a></cite>, D. Megginson and
D. Brownell, Maintainers. Available at
http://www.saxproject.org/.
</dd>
<dt><b>[<a name='Unicode'>Unicode</a>]</b></dt><dd>
<cite>
The Unicode Standard, Version 4</cite>, ISBN
0-321-18578-1, as updated from time to time by the publication
of new versions. The Unicode Consortium, 2000. See also <a class='normative' href='http://www.unicode.org/unicode/standard/versions'>Versions
of the Unicode Standard</a>, available at
http://www.unicode.org/unicode/standard/versions, for latest
version and additional information on versions of the standard
and of the Unicode Character Database.
</dd>
<dt><b>[<a name='XML'>XML 1.0</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml-20040204'>Extensible Markup Language (XML) 1.0 (Third
Edition)</a></cite>, T. Bray, J. Paoli, C. M. Sperberg-McQueen,
E. Maler, and F. Yergeau, Editors. World Wide Web Consortium, 4
February 2004, revised 10 February 1998 and 6 October 2000. This
version of the XML 1.0 Recommendation is http://www.w3.org/TR/2004/REC-xml-20040204. The <a class='normative' href='http://www.w3.org/TR/REC-xml'>latest version of XML
1.0</a> is available at http://www.w3.org/TR/REC-xml.
</dd>
<dt><b>[<a name='XML11'>XML 1.1</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml11-20040204/'>XML 1.1</a></cite>, T. Bray, and al., Editors. World
Wide Web Consortium, 4 February 2004. This version of the XML 1.1
Recommendation is http://www.w3.org/TR/2004/REC-xml11-20040204. The <a class='normative' href='http://www.w3.org/TR/xml11/'>latest version of XML
1.1</a> is available at http://www.w3.org/TR/xml11.
</dd>
<dt><b>[<a name='InfoSet'>XML Information Set</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/'>XML Information Set (Second Edition)</a></cite>,
J. Cowan and R. Tobin, Editors. World Wide Web Consortium, 4
February 2004, revised 24 October 2001. This version of the XML
Information Set Recommendation is http://www.w3.org/TR/2004/REC-xml-infoset-20040204. The <a class='normative' href='http://www.w3.org/TR/xml-infoset/'>latest version of XML
Information Set</a> is available at
http://www.w3.org/TR/xml-infoset.
</dd>
<dt><b>[<a name='Namespaces'>XML Namespaces</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>Namespaces in XML</a></cite>, T. Bray, D. Hollander,
and A. Layman, Editors. World Wide Web Consortium, 14 January
1999. This version of the Namespaces in XML Recommendation is
http://www.w3.org/TR/1999/REC-xml-names-19990114. The <a class='normative' href='http://www.w3.org/TR/REC-xml-names/'>latest version of
Namespaces in XML</a> is available at
http://www.w3.org/TR/REC-xml-names.
</dd>
<dt><b>[<a name='Namespaces11'>XML Namespaces 1.1</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml-names11-20040204/'>Namespaces in XML 1.1</a></cite>, T. Bray, D.
Hollander, A. Layman, and R. Tobin, Editors. World Wide Web
Consortium, 4 February 2004. This version of the Namespaces in
XML 1.1 Recommendation is
http://www.w3.org/TR/2004/REC-xml-names11-20040204. The <a class='normative' href='http://www.w3.org/TR/xml-names11/'>latest version of
Namespaces in XML 1.1</a> is available at
http://www.w3.org/TR/xml-names11/.
</dd>
</dl></div> <!-- div2 References-Normative -->
<div class='div2'><a name='References-Informative'></a>
<h2 id='References-Informative-h2' class='adiv2'>F.2 Informative References</h2>
<dl><dt><b>[<a name='c14n'>Canonical XML</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2001/REC-xml-c14n-20010315'>Canonical XML Version 1.0</a></cite>, J. Boyer,
Editor. World Wide Web Consortium, 15 March 2001. This version
of the Canonical XML Recommendation is
http://www.w3.org/TR/2001/REC-xml-c14n-20010315. The <a class='normative' href='http://www.w3.org/TR/xml-c14n'>latest version of Canonical
XML</a> is available at http://www.w3.org/TR/xml-c14n.
</dd>
<dt><b>[<a name='DOMEvents'>DOM Level 3 Events</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107'>Document Object Model Level 3 Events
Specification</a></cite>, P. Le H&#xe9;garet, T. Pixley,
Editors. World Wide Web Consortium, November 2003. This version of
the Document Object Model Level 3 Events specification is
http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-3-Events'>latest version of
Document Object Model Level 3 Events</a> is available at
http://www.w3.org/TR/DOM-Level-3-Events.
</dd>
<dt><b>[<a name='JAXP'>JAXP</a>]</b></dt><dd>
<cite><a href='http://java.sun.com/xml/jaxp/'>Java API for XML Processing (JAXP)</a></cite>. Sun
Microsystems. Available at
http://java.sun.com/xml/jaxp/.
</dd>
<dt><b>[<a name='RFC2616'>IETF RFC 2616</a>]</b></dt><dd>
<cite><a href='http://www.ietf.org/rfc/rfc2616.txt'>Hypertext Transfer Protocol -- HTTP/1.1</a></cite>,
R. Fielding, et al., Authors. Internet Engineering Task Force,
June 1999. Available at http://www.ietf.org/rfc/rfc2616.txt.
</dd>
<dt><b>[<a name='XMLSchema1'>XML Schema Part 1</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1: Structures</a></cite>, H. Thompson,
D. Beech, M. Maloney, and N. Mendelsohn, Editors. World Wide Web
Consortium, 2 May 2001. This version of the XML Part 1
Recommendation is http://www.w3.org/TR/2001/REC-xmlschema-1-20010502. The <a class='normative' href='http://www.w3.org/TR/xmlschema-1/'>latest version of XML
Schema Part 1</a> is available at
http://www.w3.org/TR/xmlschema-1.
</dd>
</dl></div> <!-- div2 References-Informative --></div> <!-- div1 References --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Glossary' href='glossary.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Index' href='def-index.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

88
java/external/xdocs/dom/ls/spec.css vendored Normal file
View File

@ -0,0 +1,88 @@
h4 {
text-align: left;
font-family: sans-serif;
font-weight: normal;
color: #005A9C;
}
.idl-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.idl-code a {
font-family: monospace;
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;
padding: 0.5em;
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 }
/* default alignment for tables */
table {
margin-bottom: 1em;
}
p.first:first-letter {
font-size: 200%;
}