01: package net.refractions.udig.catalog.util;
02:
03: import java.util.List;
04:
05: import org.eclipse.core.runtime.IProgressMonitor;
06:
07: import net.refractions.udig.catalog.IResolve;
08:
09: /**
10: * Used to allow peer GeoSpatial resources to associate with each other.
11: * <p>
12: * This interface is used (by the local catalog) to determine associated IResolve
13: * handles to the one provided.
14: * <p>
15: * In the wild associations are captured in the following manner:
16: * <ul>
17: * <li>informally: as with GeoServer and MapServer URL based pattern matching
18: * <li>formally: with a CSW 2.0 assoication model (a plugin will need to implement this interface allowing uDig to make the correct queriest to the association model)
19: * <li>formally: with OWS metadata, as with WMS Layer resource URL pointing to a WFS service
20: * </ul>
21: * @author Jody Garnett
22: */
23: public abstract class IFriend {
24:
25: /** List of known peers for the provided resource. */
26: public abstract List<IResolve> friendly(IResolve handle,
27: IProgressMonitor monitor);
28: }
|