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
ParameterDescription
publicIdPublic identifier, or null.
systemIdSystem 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)