软件包 | 描述 |
---|---|
javax.xml.parsers |
提供允许处理XML文档的类。
|
org.xml.sax |
这个包提供了核心的SAX。
|
org.xml.sax.ext |
此包包含接口SAX2设施符合SAX的司机不一定支持。
|
org.xml.sax.helpers |
这包含有“助手”类,包括引导SAX应用支持。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
DocumentBuilder.setEntityResolver(EntityResolver er)
指定
EntityResolver 用来解决当前的XML文档进行解析实体。
|
Modifier and Type | Class and Description |
---|---|
class |
HandlerBase
过时的。
这类作品与过时的
DocumentHandler 接口。它已被DefaultHandler SAX2类替换。
|
Modifier and Type | Method and Description |
---|---|
EntityResolver |
XMLReader.getEntityResolver()
返回当前实体解析器。
|
Modifier and Type | Method and Description |
---|---|
void |
XMLReader.setEntityResolver(EntityResolver resolver)
允许应用程序登记实体解析器。
|
void |
Parser.setEntityResolver(EntityResolver resolver)
过时的。
允许应用程序登记自定义实体解析器。
|
Modifier and Type | Interface and Description |
---|---|
interface |
EntityResolver2
映射外部实体引用到输入源的扩展接口,或提供丢失的外部子集。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHandler2
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHandler
SAX2事件处理程序的默认基类。
|
class |
XMLFilterImpl
导出XML筛选器的基类。
|
Modifier and Type | Method and Description |
---|---|
EntityResolver |
ParserAdapter.getEntityResolver()
返回当前实体解析器。
|
EntityResolver |
XMLFilterImpl.getEntityResolver()
获取当前实体解析器。
|
Modifier and Type | Method and Description |
---|---|
void |
ParserAdapter.setEntityResolver(EntityResolver resolver)
将实体分解器。
|
void |
XMLFilterImpl.setEntityResolver(EntityResolver resolver)
将实体分解器。
|
void |
XMLReaderAdapter.setEntityResolver(EntityResolver resolver)
登记的实体解析器。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.