public class XMLEntityResolver extends Object implements EntityResolver
This class implements the org.xml.sax.EntityResolver interface.
| Constructor and Description |
|---|
XMLEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Allows the application to resolve external entities.
|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverpublicId - the public identifier of the external entity being referenced, or null if none was suppliedsystemId - the system identifier of the external entity being referencedSAXException - if XML syntax contains invalid elementsIOException - an error occurred while creating a new InputStream or Reader for the InputSourceCopyright © 2016 WSO2. All rights reserved.