org.inria.ns.reflex.processor.catalog
Class LookupStrategy.Impl

java.lang.Object
  extended by org.inria.ns.reflex.processor.catalog.LookupStrategy.Impl
All Implemented Interfaces:
LookupStrategy
Direct Known Subclasses:
CatalogFinder, ExternalIdentifierFinder, FilterFinder, ModuleFinder, SchemaFinder, URIReferenceFinder
Enclosing interface:
LookupStrategy

public abstract static class LookupStrategy.Impl
extends Object
implements LookupStrategy

A skeletal implementation of the LookupStrategy interface.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.catalog.LookupStrategy
LookupStrategy.Impl
 
Method Summary
 Iterator lookup(GlobalCatalog globalCatalog, CatalogKey key, BuilderFactory builderFactory)
          Lookup for a key within a global catalog according to this strategy.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

lookup

public final Iterator lookup(GlobalCatalog globalCatalog,
                             CatalogKey key,
                             BuilderFactory builderFactory)
Lookup for a key within a global catalog according to this strategy.

Specified by:
lookup in interface LookupStrategy
Parameters:
globalCatalog - The global catalog to look inside.
key - The key to look for.
builderFactory - The factory that can create a specific context-dependant builder.
Returns:
A non-null iterator on some builders.
See Also:
Builder