public interface XMLResolver
Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
publicID
- 引用的外部实体的公共标识符,如果没有提供,则为null。
systemID
- 被引用的外部实体的系统标识符。
baseURI
- 与systemId
baseURI
绝对基本URI。
namespace
- 要解析的实体的命名空间。
XMLStreamException
- 如果尝试解析资源时出现故障。
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.