Class CatalogResolver.Catalog
java.lang.Object
org.apache.xml.resolver.Catalog
org.apache.commons.configuration.resolver.CatalogResolver.Catalog
- Enclosing class:
CatalogResolver
Overrides the Catalog implementation to use the underlying FileSystem.
- Since:
- 1.7
- Version:
- $Id: CatalogResolver.java 1301991 2012-03-17 20:18:02Z sebb $
- Author:
- Commons Configuration team
-
Field Summary
Fields inherited from class org.apache.xml.resolver.Catalog
base, BASE, CATALOG, catalogCwd, catalogEntries, catalogFiles, catalogManager, catalogs, default_override, DELEGATE_PUBLIC, DELEGATE_SYSTEM, DELEGATE_URI, DOCTYPE, DOCUMENT, DTDDECL, ENTITY, LINKTYPE, localCatalogFiles, localDelegate, NOTATION, OVERRIDE, PUBLIC, readerArr, readerMap, REWRITE_SYSTEM, REWRITE_URI, SGMLDECL, SYSTEM, SYSTEM_SUFFIX, URI, URI_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLoad the catalogs.protected StringnormalizeURI(String uriref) Perform character normalization on a URI reference.voidparseCatalog(String baseDir, String fileName) Parse the specified catalog file.Methods inherited from class org.apache.xml.resolver.Catalog
addDelegate, addEntry, addReader, copyReaders, encodedByte, fixSlashes, getCatalogManager, getCurrentBase, getDefaultOverride, makeAbsolute, newCatalog, parseAllCatalogs, parseCatalog, parseCatalog, parseCatalog, parseCatalogFile, parsePendingCatalogs, resolveDoctype, resolveDocument, resolveEntity, resolveLocalPublic, resolveLocalSystem, resolveLocalURI, resolveNotation, resolvePublic, resolveSubordinateCatalogs, resolveSystem, resolveURI, setCatalogManager, setupReaders, unknownEntry
-
Constructor Details
-
Catalog
public Catalog()
-
-
Method Details
-
loadSystemCatalogs
Load the catalogs.- Overrides:
loadSystemCatalogsin classorg.apache.xml.resolver.Catalog- Throws:
IOException- if an error occurs.
-
parseCatalog
Parse the specified catalog file.- Parameters:
baseDir- The base directory, if not included in the file name.fileName- The catalog file. May be a full URI String.- Throws:
IOException- If an error occurs.
-
normalizeURI
Perform character normalization on a URI reference.- Overrides:
normalizeURIin classorg.apache.xml.resolver.Catalog- Parameters:
uriref- The URI reference- Returns:
- The normalized URI reference.
-