All Implemented Interfaces:
public static class
The entity resolver that tries to first load a DTD file locally, and if
it is not found, looks for it on the Internet using the DTD file's
system ID. The DTD file, as well as its version, is uniquely identified
by its public ID.
Since: Ptolemy II 4.0
Version: $Id: XMLParser.java 70398 2014-10-22 23:44:32Z cxh $
Author: Thomas Feng
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
java.lang.String systemId) resolveEntity
Resolve an entity (a DTD file) by first looking for it locally.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
Resolve an entity (a DTD file) by first looking for it locally. If
it is not found locally, this resolver tries to grab it from the
Internet using its systemId.
resolveEntity in interface
publicId - The public ID of the entity, for example,
"-//UC Berkeley//DTD MoML 1//EN" for Ptolemy MoML 1.0.
systemId - The system ID of the entity, for example,
Returns: The input source that contains the content of the DTD, or
null if it cannot be loaded either locally or from the Internet.