|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAdaptingResolve
AdaptingCatalog
public class AdaptingCatalog
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface Resolve |
|---|
Resolve.Status |
| Field Summary |
|---|
| Fields inherited from class AdaptingResolve |
|---|
finder, resolve |
| Constructor Summary | |
|---|---|
protected |
AdaptingCatalog(Catalog catalog,
ResolveAdapterFactoryFinder adapter)
|
| Method Summary | |
|---|---|
void |
add(Service service)
Adds the specified entry to this catalog. |
protected Catalog |
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. |
List |
search(String pattern,
Envelope bbox,
ProgressListener monitor)
Performs a search on this catalog based on the specified inputs. |
| Methods inherited from class AdaptingResolve |
|---|
addListener, canResolve, fire, getIdentifier, getMessage, getResolveAdapterFactoryFinder, getStatus, members, parent, removeListener, resolve, wrap, wrap |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Catalog |
|---|
resolve |
| Methods inherited from interface Resolve |
|---|
addListener, canResolve, fire, getIdentifier, getMessage, getStatus, members, parent, removeListener |
| Constructor Detail |
|---|
protected AdaptingCatalog(Catalog catalog,
ResolveAdapterFactoryFinder adapter)
| Method Detail |
|---|
protected Catalog catalog()
public void add(Service service)
throws UnsupportedOperationException
CatalogAn IService may belong to more than one Catalog.
add in interface Catalogservice - the Service to add to the catalog
UnsupportedOperationException
public void remove(Service service)
throws UnsupportedOperationException
Catalog
remove in interface CatalogUnsupportedOperationException
public void replace(URI id,
Service service)
throws UnsupportedOperationException
Catalog
replace in interface CatalogUnsupportedOperationException
public List find(URI id,
ProgressListener monitor)
Catalog
find in interface Catalogid - used to match resolvesmonitor - used to show the progress of the find.
public List findService(URI query,
ProgressListener monitor)
Catalog
findService in interface Catalogquery - a URI used to match resolvesmonitor - monitor used to watch progress
public List search(String pattern,
Envelope bbox,
ProgressListener monitor)
throws IOException
CatalogThe pattern uses the following conventions:
search in interface Catalogpattern - Search pattern (see above)bbox - The bbox in Lat-Long (ESPG 4269), or nullmonitor - for progress, or null if monitoring is not desired
IOException
public CatalogInfo getInfo(ProgressListener monitor)
throws IOException
Catalog
This is functionally equivalent to:
getInfo in interface CatalogIOExceptionCatalog.resolve(Class, ProgressListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||