< prev index next >
src/java.xml/share/classes/org/xml/sax/package.html
Print this page
*** 22,39 ****
<code>http://xml.org/sax/features/</code> before an identifier such as
<code>validation</code>. Turn features on or off using
<em>setFeature</em>. Those standard identifiers are: </p>
! <table border="1" cellpadding="3" cellspacing="0" width="100%">
! <tr align="center" bgcolor="#ccccff">
<th>Feature ID</th>
<th>Access</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td>external-general-entities</td>
<td><em>read/write</em></td>
<td><em>unspecified</em></td>
<td> Reports whether this parser processes external
--- 22,43 ----
<code>http://xml.org/sax/features/</code> before an identifier such as
<code>validation</code>. Turn features on or off using
<em>setFeature</em>. Those standard identifiers are: </p>
! <table class="striped">
! <caption>SAX2 Standard Features </caption>
! <thead>
! <tr>
<th>Feature ID</th>
<th>Access</th>
<th>Default</th>
<th>Description</th>
</tr>
+ </thead>
+ <tbody>
<tr>
<td>external-general-entities</td>
<td><em>read/write</em></td>
<td><em>unspecified</em></td>
<td> Reports whether this parser processes external
*** 206,216 ****
<td>not applicable</td>
<td> Returns "true" if the parser supports both XML 1.1 and XML 1.0.
Returns "false" if the parser supports only XML 1.0.
</td>
</tr>
!
</table>
<p> Support for the default values of the
<em>namespaces</em> and <em>namespace-prefixes</em>
properties is required.
--- 210,220 ----
<td>not applicable</td>
<td> Returns "true" if the parser supports both XML 1.1 and XML 1.0.
Returns "false" if the parser supports only XML 1.0.
</td>
</tr>
! </tbody>
</table>
<p> Support for the default values of the
<em>namespaces</em> and <em>namespace-prefixes</em>
properties is required.
*** 234,248 ****
<code>http://xml.org/sax/properties/</code> before an identifier such as
<code>lexical-handler</code> or
<code>dom-node</code>. Manage those properties using
<em>setProperty()</em>. Those identifiers are: </p>
! <table border="1" cellpadding="3" cellspacing="0" width="100%">
! <tr align="center" bgcolor="#ccccff">
<th>Property ID</th>
<th>Description</th>
</tr>
<tr>
<td>declaration-handler</td>
<td> Used to see most DTD declarations except those treated
as lexical ("document element name is ...") or which are
--- 238,256 ----
<code>http://xml.org/sax/properties/</code> before an identifier such as
<code>lexical-handler</code> or
<code>dom-node</code>. Manage those properties using
<em>setProperty()</em>. Those identifiers are: </p>
! <table class="striped">
! <caption>SAX2 Standard Properties </caption>
! <thead>
! <tr>
<th>Property ID</th>
<th>Description</th>
</tr>
+ </thead>
+ <tbody>
<tr>
<td>declaration-handler</td>
<td> Used to see most DTD declarations except those treated
as lexical ("document element name is ...") or which are
*** 285,295 ****
<tr>
<td>xml-string</td>
<td> Readable only during a parser callback, this exposes a <b>TBS</b>
chunk of characters responsible for the current event. </td>
</tr>
!
</table>
<p> All of these standard properties are optional;
XMLReader implementations need not support them.
</p>
--- 293,303 ----
<tr>
<td>xml-string</td>
<td> Readable only during a parser callback, this exposes a <b>TBS</b>
chunk of characters responsible for the current event. </td>
</tr>
! </tbody>
</table>
<p> All of these standard properties are optional;
XMLReader implementations need not support them.
</p>
< prev index next >