org.xml.sax.ext.EntityResolver2.getExternalSubset
method
public getExternalSubset(name as String, baseURI as String) as InputSource throws SAXException, IOException
Description

Provides an external subset when the document omits one.

Parameters
ParameterDescription
nameDocument element name, or null.
baseURIBase URI used to resolve relative identifiers.
Returns

Input source for the external subset, or null.

Throws
  • SAXException if entity resolution fails.
  • IOException if an I/O resource cannot be opened.
Example
subset = resolver.getExternalSubset("book", baseURI)