Package org.inria.ns.reflex.processor.catalog

The Active Catalog implementation.

See:
          Description

Interface Summary
BuilderFactory A BuilderFactory can create a builder from a resolved reference, and can be notified that no resources were found.
Catalog A catalog translates URIs and external identifier to resolved URIs, and resource names to resolved instances.
CatalogEntry A CatalogEntry can test if a candidate catalog key matches it.
CatalogNames Names for elements, attributes, and values.
GlobalCatalog A GlobalCatalog is a set of hierarchized local catalogs.
LookupStrategy Embeds the lookup strategy and the caching policy to use when retrieving an entry in a catalog.
NoBuilder A marker that denotes that this builder is not for building an object but to notify that no object of the name given exists.
 

Class Summary
AbstractIdentifierAction A support to match a URI, a system ID, a public ID, or even a qualified name ; also deal with selectors.
Builder A Builder uses an input to deliver an instance of the object that the input represents.
CatalogAction The <oasis:catalog> and <cat:catalog> elements are the root elements of an Oasis Catalog or an Active Catalog.
CatalogBuilder Delivers Catalogs from various input : a file name an URI a file an input stream an XML document a ready-to-use catalog (Catalog) a class name A catalog is parsed only when expected.
CatalogFinder The lookup strategy for catalogs : top-down, all registries before, the first catalog list is ignored.
CatalogKey A catalog key is able to produce a set of properties that represent it on behalf of a target data set.
CatalogParser CatalogParser parses an input to a Catalog.
CatalogReader A CatalogReader fires SAX events from various input sources : XML OASIS Catalog, XML Active Catalog, non-XML Catalog (OASIS 9401:1997).
CatalogReader.PublicId Static methods for dealing with public identifiers.
ExternalIdentifierKey An ExternalIdentifierKey is either a public identifier, or a system identifier, or both.
GroupAction At runtime, the <cat:group> element wraps a set of actions.
LocalCatalog A LocalCatalog consist on a list of catalog references and a registry where to store objects.
LookupStrategy.Impl A skeletal implementation of the LookupStrategy interface.
NextCatalogAction The <cat:next-catalog> action.
PublicAction At runtime, the <cat:public> element is used to test if an identifier matches a public identifier.
Resource A Resource is a lookup result in a catalog.
ResourceAction At runtime, the <cat:resource> element is used to test if an identifier matches a resource identifier.
ResourceFound ResourceFound is a bubble message created when a resource has been found in a catalog.
ResourceKey Used to resolve resources.
SystemAction At runtime, the <cat:system> element is used to test if an identifier matches a system identifier.
URIAction At runtime, the <cat:uri> element is used to test if an identifier matches an URI.
URIKey Used to resolve URI references.
 

Exception Summary
BadCatalogFormatException A BadCatalogFormatException is thrown when a catalog can't be parsed or when its format is not supported.
 

Package org.inria.ns.reflex.processor.catalog Description

The Active Catalog implementation.

http://ns.inria.org/active-tags/active-catalog/active-catalog.html

An Active Catalog is also compliant with OASIS XML Catalog and OASIS TR 9407 Catalog.

Usage

A Catalog is wrapped in CatalogBuilder.

A Catalog can be registered to a GlobalCatalog.

To process a catalog, start with a GlobalCatalog and just invoke the static method CatalogsIterator.lookupResources() ; this method will iterate on the catalogs that will be built from their builders when necessary.

Resources

Since:
1.4