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

Resolves an external entity using SAX1 metadata.

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