org.apache.commons.configuration.resolver
public static class CatalogResolver.Catalog extends 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 and Description |
---|
CatalogResolver.Catalog() |
Modifier and Type | Method and Description |
---|---|
void |
loadSystemCatalogs()
Load the catalogs.
|
protected java.lang.String |
normalizeURI(java.lang.String uriref)
Perform character normalization on a URI reference.
|
void |
parseCatalog(java.lang.String baseDir,
java.lang.String fileName)
Parse the specified catalog file.
|
addDelegate, addEntry, addReader, copyReaders, encodedByte, fixSlashes, getCatalogManager, getCurrentBase, getDefaultOverride, getPublicIDs, makeAbsolute, newCatalog, parseAllCatalogs, parseCatalog, parseCatalog, parseCatalog, parseCatalogFile, parsePendingCatalogs, resolveDoctype, resolveDocument, resolveEntity, resolveLocalPublic, resolveLocalSystem, resolveLocalURI, resolveNotation, resolvePublic, resolveSubordinateCatalogs, resolveSystem, resolveURI, setCatalogManager, setupReaders, unknownEntry
public void loadSystemCatalogs() throws java.io.IOException
loadSystemCatalogs
in class org.apache.xml.resolver.Catalog
java.io.IOException
- if an error occurs.public void parseCatalog(java.lang.String baseDir, java.lang.String fileName) throws java.io.IOException
baseDir
- The base directory, if not included in the file name.fileName
- The catalog file. May be a full URI String.java.io.IOException
- If an error occurs.protected java.lang.String normalizeURI(java.lang.String uriref)
normalizeURI
in class org.apache.xml.resolver.Catalog
uriref
- The URI referenceCopyright © 2001-2014. All Rights Reserved.