This method searches the Catalog and returns the system identifier specified for the given system or public identifiers. If no appropriate PUBLIC or SYSTEM entry is found in the Catalog, null is returned.
Note that a system or public identifier in the current catalog (or subordinate catalogs) will be used in preference to an external resolver. Further, if a systemId is present, the external resolver(s) will be queried for that before the publicId.
@param publicId The public identifier to locate in the catalog.Public identifiers are normalized before comparison. @param systemId The nominal system identifier for the entityin question (as provided in the source document). @throws MalformedURLException The formal system identifier of asubordinate catalog cannot be turned into a valid URL. @throws IOException Error reading subordinate catalog file. @return The system identifier to use.Note that the nominal system identifier is not returned if a match is not found in the catalog, instead null is returned to indicate that no match was found.
|
|