public resolveEntity(name as String, publicId as String, baseURI as String, systemId as String) as InputSource throws SAXException, IOException:
Resolves an external entity using SAX2 metadata.
| Parameter | Description |
|---|---|
name | Entity name, % parameter entity name, or [dtd]. |
publicId | Public identifier, or null. |
baseURI | Base URI, or null. |
systemId | System identifier, or null. |
Always null so the parser can use its default behavior.
source = handler.resolveEntity("[dtd]", null, "file:/tmp/doc.xml", "doc.dtd")