klyn.io.xml.sax.DefaultHandler.resolveEntity
method
public resolveEntity(publicId as String, systemId as String) as InputSource throws SAXException, IOException:
Description

Resolves an external entity.

Parameters
  • publicId Public identifier, or `null`.
  • systemId System identifier, or `null`.
Returns

Always null so the parser can use its default behavior.

Throws
  • SAXException if the SAX handler rejects the event or cannot process the reported XML structure.
  • IOException if the resource is closed, inaccessible, not a valid file, or the underlying I/O operation fails.
Example
source = handler.resolveEntity(null, "doc.dtd")