public interface XMLResolver
Modifier and Type | Method and Description |
---|---|
Object |
resolveEntity(String publicID,
String systemID,
String baseURI,
String namespace)
Retrieves a resource.
|
Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
publicID
- The public identifier of the external entity being referenced, or null if none was supplied.systemID
- The system identifier of the external entity being referenced.baseURI
- Absolute base URI associated with systemId.namespace
- The namespace of the entity to resolve.XMLStreamException
- if there was a failure attempting to resolve the resource. 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.