org.xml.sax.EntityResolver.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.
Returns

Alternative input source, or null to use default resolution.

Throws
  • SAXException if entity resolution fails.
  • IOException if an I/O resource cannot be opened.
Example
source = resolver.resolveEntity(publicId, systemId)