|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Nested Class Summary |
Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
Method Summary | |
void |
add(Service service)
Adds the specified entry to this catalog. |
java.util.List |
find(java.net.URI id,
ProgressListener monitor)
Find resources matching this id directly from this Catalog. |
java.util.List |
findService(java.net.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(java.net.URI id,
Service service)
Replaces the specified entry in this catalog. |
java.lang.Object |
resolve(java.lang.Class adaptee,
ProgressListener monitor)
Will attempt to morph into the adaptee, and return that object. |
java.util.List |
search(java.lang.String pattern,
com.vividsolutions.jts.geom.Envelope bbox,
ProgressListener monitor)
Performs a search on this catalog based on the specified inputs. |
Methods inherited from interface org.geotools.catalog.Resolve |
addListener, canResolve, fire, getIdentifier, getMessage, getStatus, members, parent, removeListener |
Method Detail |
public java.lang.Object resolve(java.lang.Class adaptee, ProgressListener monitor) throws java.io.IOException
resolve
in interface Resolve
adaptee
- monitor
- May Be Null
java.io.IOException
- in the result of an I/O error.CatalogInfo
,
IService
public void add(Service service) throws java.lang.UnsupportedOperationException
An IService may belong to more than one Catalog.
java.lang.UnsupportedOperationException
public void remove(Service service) throws java.lang.UnsupportedOperationException
service
-
java.lang.UnsupportedOperationException
public void replace(java.net.URI id, Service service) throws java.lang.UnsupportedOperationException
id
- service
-
java.lang.UnsupportedOperationException
public java.util.List find(java.net.URI id, ProgressListener monitor)
id
- used to match resolvesmonitor
- used to show the progress of the find.
public java.util.List findService(java.net.URI query, ProgressListener monitor)
monitor
- monitor used to watch progress
public java.util.List search(java.lang.String pattern, com.vividsolutions.jts.geom.Envelope bbox, ProgressListener monitor) throws java.io.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
java.io.IOException
public CatalogInfo getInfo(ProgressListener monitor) throws java.io.IOException
This is functionally equivalent to:
java.io.IOException
resolve(Class, ProgressListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |