| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 DocumentHandler 的软件包 | |
|---|---|
| org.xml.sax | 此包提供了核心 SAX API。 | 
| org.xml.sax.helpers | 此包包含“帮助器”类,其中包括对引导基于 SAX 的应用程序的支持。 | 
| org.xml.sax 中 DocumentHandler 的使用 | 
|---|
| 实现 DocumentHandler 的 org.xml.sax 中的类 | |
|---|---|
|  class | HandlerBase已过时。 此类可可以与不推荐使用的 DocumentHandler接口一起工作。它已经被 SAX2DefaultHandler类所取代。 | 
| 参数类型为 DocumentHandler 的 org.xml.sax 中的方法 | |
|---|---|
|  void | Parser.setDocumentHandler(DocumentHandler handler)已过时。 允许应用程序注册文档事件处理程序。 | 
| org.xml.sax.helpers 中 DocumentHandler 的使用 | 
|---|
| 实现 DocumentHandler 的 org.xml.sax.helpers 中的类 | |
|---|---|
|  class | ParserAdapter将 SAX1 Parser 适配为 SAX2 XMLReader。 | 
| 参数类型为 DocumentHandler 的 org.xml.sax.helpers 中的方法 | |
|---|---|
|  void | XMLReaderAdapter.setDocumentHandler(DocumentHandler handler)注册 SAX1 文档事件处理程序。 | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。