public interface XMLResolver
Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
publicID -公众的外部实体引用的标识符,如果提供的是无或空。
systemID -外部实体引用标识系统。
baseURI -绝对的基URI与systemid。
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.