Package org.xmlresolver.loaders
Class CatalogLoaderResolver
java.lang.Object
org.xmlresolver.loaders.CatalogLoaderResolver
- All Implemented Interfaces:
EntityResolver
An entity resolver for the catalog loader
The only entities that this resolver needs to resolve are the DTDs for the catalogs. (It isn't practical to use the CatalogResolver for these because it would create an infinite loop.)
This resolver handles the OASIS Open 1.0 and 1.1 catalog public and system identifiers. If you have a custom DTD for your catalogs, you'll have to make sure that it will resolve correctly at runtime or replace this resolver with one that handles your custom DTD(s).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CatalogLoaderResolver
public CatalogLoaderResolver()
-
-
Method Details
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-