The Catalog API defines a standard solution for resolving external resources referenced by XML documents. It is fully supported by the XML Processors allowing application developers to configure a catalog through an XML processor or system property or the configuration file to take advantage of the feature.
The XML Catalog API defines the following interfaces:
Catalog -- The Catalog interface represents an entity
catalog as defined by the Catalog standard. A Catalog object
is immutable. Once created, it can be used to find matches in a
system, public or uri entry.
A custom resolver implementation may find it useful for locating local
resources through a catalog.
CatalogFeatures -- The CatalogFeatures class holds all
of the features and properties the Catalog API supports, including
javax.xml.catalog.files, javax.xml.catalog.defer,
javax.xml.catalog.prefer, and javax.xml.catalog.resolve.
CatalogManager -- The CatalogManager class manages the
creation of XML catalogs and catalog resolvers.
CatalogResolver -- The CatalogResolver class is a
Catalog resolver that implements org.xml.sax.EntityResolver ,
javax.xml.stream.XMLResolver , org.w3c.dom.ls.LSResourceResolver ,
and javax.xml.transform.URIResolver , and resolves external
references using catalogs.
Unless otherwise noted, passing a null argument to
a constructor or method in any class or interface in this package will
cause a NullPointerException to be thrown.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Catalog
The Catalog class represents an entity Catalog as defined by XML Catalogs, OASIS Standard V1.1, 7 October 2005. |
| public interface | CatalogResolver
A Catalog Resolver that implements SAX |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | AltCatalog
Represents an alternative catalog entry. |
| pack-priv abstract class | BaseEntry
Represents a general Catalog entry. |
| pack-priv class | CatalogEntry
Represents the catalog element or entry of a catalog file |
| public class | CatalogException
The exception class handles errors that may happen while processing or using a catalog. |
| public class | CatalogFeatures
The CatalogFeatures holds a collection of features and properties. |
| pack-priv class | CatalogImpl
Implementation of the Catalog. |
| public class | CatalogManager
The Catalog Manager manages the creation of XML Catalogs and Catalog Resolvers. |
| pack-priv class | CatalogMessages
Catalog Error messages |
| pack-priv class | CatalogReader
CatalogReader handles SAX events while parsing through a catalog file to create a catalog object. |
| pack-priv class | CatalogResolverImpl
Implements CatalogResolver. |
| pack-priv class | DelegatePublic
Represents a delegatePublic entry. |
| pack-priv class | DelegateSystem
Represents a delegateSystem entry. |
| pack-priv class | DelegateUri
Represents a delegateURI entry. |
| pack-priv class | GroupEntry
Represents a group entry. |
| pack-priv class | NextCatalog
Represents a nextCatalog entry. |
| pack-priv class | Normalizer
The Normalizer is responsible for normalizing Public and System Identifiers as specified in section 6.2, 6.3 and 6.4 of the specification XML Catalogs, OASIS Standard V1.1, 7 October 2005. |
| pack-priv class | PublicEntry
Represents a public entry. |
| pack-priv class | RewriteSystem
Represents a rewriteSystem entry. |
| pack-priv class | RewriteUri
Represents a rewriteURI entry. |
| pack-priv class | SystemEntry
Represents a system entry. |
| pack-priv class | SystemSuffix
Represents a systemSuffix entry. |
| pack-priv class | UriEntry
Represents a uri entry. |
| pack-priv class | UriSuffix
Represents a uriSuffix entry. |
| pack-priv class |