uTools-Manuals/docs/java/org/xml/sax/ext/package-summary.html

114 lines
5.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<h1 class="title" title="Package">Package org.xml.sax.ext</h1>
<div class="docSummary">
<div class="block">
该软件包包含与SAX2设备的接口符合SAX驱动程序不一定支持。
</div>
</div>
<p>See: <a href="#package.description">描述</a></p>
</div><div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Interface Summary table, listing interfaces, and an explanation">
<caption>
<span>接口摘要</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">接口</th>
<th class="colLast" scope="col">描述</th>
</tr>
</tbody>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/Attributes2.html" title="interface in org.xml.sax.ext">Attributes2</a></td>
<td class="colLast">
<div class="block">
<span>SAX2扩展以扩充<code>Attributes</code>所提供的每个<a href="../../../../org/xml/sax/Attributes.html" title="org.xml.sax中的接口">属性信息</a></span>
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/DeclHandler.html" title="interface in org.xml.sax.ext">DeclHandler</a></td>
<td class="colLast">
<div class="block">
用于DTD声明事件的SAX2扩展处理程序。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/EntityResolver2.html" title="interface in org.xml.sax.ext">EntityResolver2</a></td>
<td class="colLast">
<div class="block">
用于将外部实体引用映射到输入源的扩展接口,或提供缺少的外部子集。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/LexicalHandler.html" title="interface in org.xml.sax.ext">LexicalHandler</a></td>
<td class="colLast">
<div class="block">
用于词汇事件的SAX2扩展处理程序。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/Locator2.html" title="interface in org.xml.sax.ext">Locator2</a></td>
<td class="colLast">
<div class="block">
<span>SAX2扩展增加了通过<code>Locator</code>提供的实体<a href="../../../../org/xml/sax/Locator.html" title="org.xml.sax中的接口">信息</a></span>
</div> </td>
</tr>
</tbody>
</table> </li>
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" class="typeSummary" summary="Class Summary table, listing classes, and an explanation">
<caption>
<span>类摘要</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col"></th>
<th class="colLast" scope="col">描述</th>
</tr>
</tbody>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/Attributes2Impl.html" title="class in org.xml.sax.ext">Attributes2Impl</a></td>
<td class="colLast">
<div class="block">
<span>SAX2扩展助手附加属性信息实现<a href="../../../../org/xml/sax/ext/Attributes2.html" title="org.xml.sax.ext中的接口"><code>Attributes2</code></a>接口。</span>
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/DefaultHandler2.html" title="class in org.xml.sax.ext">DefaultHandler2</a></td>
<td class="colLast">
<div class="block">
<span>此类扩展SAX2基本处理程序类以支持SAX2 <a href="../../../../org/xml/sax/ext/LexicalHandler.html" title="org.xml.sax.ext中的接口"><code>LexicalHandler</code></a> <a href="../../../../org/xml/sax/ext/DeclHandler.html" title="org.xml.sax.ext中的接口"><code>DeclHandler</code></a><a href="../../../../org/xml/sax/ext/EntityResolver2.html" title="org.xml.sax.ext中的接口"><code>EntityResolver2</code></a>扩展。</span>
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../org/xml/sax/ext/Locator2Impl.html" title="class in org.xml.sax.ext">Locator2Impl</a></td>
<td class="colLast">
<div class="block">
<span>SAX2扩展助手用于保存附加实体信息实现<a href="../../../../org/xml/sax/ext/Locator2.html" title="org.xml.sax.ext中的接口"><code>Locator2</code></a>接口。</span>
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<a name="package.description">
<!-- --> </a>
<h2 title="Package org.xml.sax.ext Description">Package org.xml.sax.ext Description</h2>
<div class="block">
<p> <span>该软件包包含与SAX2设备的接口符合SAX驱动程序不一定支持。</span> </p>
<p> <span>有关SAX的更多信息请参阅<a href="http://www.saxproject.org" target="_top">http://www.saxproject.org</a></span> </p>
<p> <span>该软件包独立于SAX2内核尽管暴露的功能通常需要在解析器内核中实现。</span> <span>这种独立有几个后果:</span> </p>
<ul>
<li> <span>SAX2驱动程序<em>无需</em>识别这些处理程序。</span> </li>
<li> <span>您不能假定每个SAX2安装中都存在类文件。</span> </li>
<li> <span>该包可以独立于SAX2进行更新可以添加新的处理程序和类而不更新SAX2本身</span> </li>
<li> <span>新的处理程序不由SAX2 <code>org.xml.sax.helpers.DefaultHandler</code><code>org.xml.sax.helpers.XMLFilterImpl</code>类实现。</span> <span>如果您需要这样的行为,或者使用这里找到的助手类,您可以将这些子类化。</span> </li>
<li> <span>处理程序需要注册与核心SAX2处理程序不同。</span> </li>
</ul>
<p> <span>该封装SAX2-ext是SAX2的标准扩展。</span> <span>它旨在允许SAX解析器将某些类型的信息传递给应用程序并作为其他SAX2解析器扩展包的简单模型。</span> <span>然而,并不是所有这样的扩展包都需要被解析器直接识别。</span> <span>例如大多数验证系统可以在支持标准化SAX2接口的解析器之上进行干净分层。</span> </p>
</div>
</div>