|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Catalog
Extension of Resolve which represents a local catalog or web registry service.
Conceptually provides a searchable Catalog of "Spatial Data Sources". Metadata search is abitrary.
trunk/modules/unsupported (gt-unsupported.jar) (Maven report) (SVN head)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface Resolve |
|---|
Resolve.Status |
| Method Summary | |
|---|---|
void |
add(Service service)
Adds the specified entry to this catalog. |
List |
find(URI id,
ProgressListener monitor)
Find resources matching this id directly from this Catalog. |
List |
findService(URI query,
ProgressListener monitor)
Find Service matching this id directly from this Catalog. |
CatalogInfo |
getInfo(ProgressListener monitor)
Aquire info on this Catalog. |
void |
remove(Service service)
Removes the specified entry to this catalog. |
void |
replace(URI id,
Service service)
Replaces the specified entry in this catalog. |
Object |
resolve(Class adaptee,
ProgressListener monitor)
Will attempt to morph into the adaptee, and return that object. |
List |
search(String pattern,
Envelope bbox,
ProgressListener monitor)
Performs a search on this catalog based on the specified inputs. |
| Methods inherited from interface Resolve |
|---|
addListener, canResolve, fire, getIdentifier, getMessage, getStatus, members, parent, removeListener |
| Method Detail |
|---|
Object resolve(Class adaptee,
ProgressListener monitor)
throws IOException
resolve in interface Resolveadaptee - monitor - May Be Null
IOException - in the result of an I/O error.CatalogInfo,
IService
void add(Service service)
throws UnsupportedOperationException
An IService may belong to more than one Catalog.
service - the Service to add to the catalog
UnsupportedOperationException
void remove(Service service)
throws UnsupportedOperationException
service -
UnsupportedOperationException
void replace(URI id,
Service service)
throws UnsupportedOperationException
id - service -
UnsupportedOperationException
List find(URI id,
ProgressListener monitor)
id - used to match resolvesmonitor - used to show the progress of the find.
List findService(URI query,
ProgressListener monitor)
query - a URI used to match resolvesmonitor - monitor used to watch progress
List search(String pattern,
Envelope bbox,
ProgressListener monitor)
throws IOException
The pattern uses the following conventions:
pattern - Search pattern (see above)bbox - The bbox in Lat-Long (ESPG 4269), or nullmonitor - for progress, or null if monitoring is not desired
IOException
CatalogInfo getInfo(ProgressListener monitor)
throws IOException
This is functionally equivalent to:
IOExceptionresolve(Class, ProgressListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||