EntityResolver
This handler interface is used to allow the application to control how external entities are loaded. This can be used to support the use of an application-level cache or use one or more of the techniques for mapping public identifiers to system identifiers.
resolveEntity(
publicId, systemId
)
The parser calls this method to convert the
identifiers for an external entity into a system identifier to
load. The systemId
parameter is the
URL provided in an entity declaration, and
publicId
is the public identifier, or
None
if there isn’t one. This
method should return a string giving a new system identifier as
a string or an object that supports the InputSource
interface.
3.144.222.185