134 lines
5.2 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 javax.swing.text.html.parser</h1>
<div class="docSummary">
<div class="block">
提供默认的HTML解析器以及支持类。
</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="../../../../../javax/swing/text/html/parser/DTDConstants.html" title="interface in javax.swing.text.html.parser">DTDConstants</a></td>
<td class="colLast">
<div class="block">
在DTD中使用的SGML常量。
</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="../../../../../javax/swing/text/html/parser/AttributeList.html" title="class in javax.swing.text.html.parser">AttributeList</a></td>
<td class="colLast">
<div class="block">
该类使用ATTLIST构造在DTD中描述了SGML元素的属性。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/ContentModel.html" title="class in javax.swing.text.html.parser">ContentModel</a></td>
<td class="colLast">
<div class="block">
内容模型的表示。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/DocumentParser.html" title="class in javax.swing.text.html.parser">DocumentParser</a></td>
<td class="colLast">
<div class="block">
HTML文档的解析器实际上您可以指定一个DTD但您应该只使用html dtd的这个类
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/DTD.html" title="class in javax.swing.text.html.parser">DTD</a></td>
<td class="colLast">
<div class="block">
SGML DTD的表示。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></td>
<td class="colLast">
<div class="block">
使用ELEMENT构造在DTD中描述的元素。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/Entity.html" title="class in javax.swing.text.html.parser">Entity</a></td>
<td class="colLast">
<div class="block">
使用ENTITY构造在DTD中描述实体。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/Parser.html" title="class in javax.swing.text.html.parser">Parser</a></td>
<td class="colLast">
<div class="block">
一个简单的DTD驱动的HTML解析器。
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/ParserDelegator.html" title="class in javax.swing.text.html.parser">ParserDelegator</a></td>
<td class="colLast">
<div class="block">
每次调用它的解析方法时负责启动一个新的DocumentParser。
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../javax/swing/text/html/parser/TagElement.html" title="class in javax.swing.text.html.parser">TagElement</a></td>
<td class="colLast">
<div class="block">
通用的HTML TagElement类。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<a name="package.description">
<!-- --> </a>
<h2 title="Package javax.swing.text.html.parser Description">Package javax.swing.text.html.parser Description</h2>
<div class="block">
<span>提供默认的HTML解析器以及支持类。</span>
<span>当流被解析时,解析器通知委托人,哪个必须实现<code>HTMLEditorKit.ParserCallback</code>接口。</span>
<p> <span><strong>注意:</strong>大多数Swing API <em>不是</em>线程安全的。</span> <span>有关详细信息,请参阅<a href="http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html" target="_top">Threads and Swing</a> ,在部分<em><a href="http://java.sun.com/docs/books/tutorial/" target="_top">The Java Tutorial</a></em></span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.2
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../../../javax/swing/text/html/HTMLEditorKit.ParserCallback.html" title="class in javax.swing.text.html"><code>HTMLEditorKit.ParserCallback</code></a>
</dd>
</dl>
</div>