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 jaxp.properties file to take advantage of the feature.
The XML Catalog API defines the following interfaces:
Cataloginterface represents an entity catalog as defined by the Catalog standard. A
Catalogobject is immutable. Once created, it can be used to find matches in a
urientry. A custom resolver implementation may find it useful for locating local resources through a catalog.
CatalogFeaturesclass holds all of the features and properties the Catalog API supports, including
CatalogManagerclass manages the creation of XML catalogs and catalog resolvers.
CatalogResolverclass is a
Catalogresolver that implements
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
NullPointerException to be thrown.
Interface Summary Interface Description CatalogThe Catalog class represents an entity Catalog as defined by XML Catalogs, OASIS Standard V1.1, 7 October 2005. CatalogResolver
Class Summary Class Description CatalogFeaturesThe CatalogFeatures holds a collection of features and properties. CatalogFeatures.BuilderThe Builder class for building the CatalogFeatures object. CatalogManagerThe Catalog Manager manages the creation of XML Catalogs and Catalog Resolvers.
Enum Summary Enum Description CatalogFeatures.FeatureA Feature type as defined in the Catalog Features table.
Exception Summary Exception Description CatalogExceptionThe exception class handles errors that may happen while processing or using a catalog.