|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a handle to a spatial resource.
The resource is not guaranteed to exist, nor do we guarantee that we can connect with the resource. Some/All potions of this handle may be loaded as required. This resource handle may also be the result a metadata service query.
Nested Class Summary |
Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
Method Summary | |
GeoResourceInfo |
getInfo(ProgressListener monitor)
Blocking operation to describe this service. |
java.lang.Object |
resolve(java.lang.Class adaptee,
ProgressListener monitor)
Blocking operation to resolve into the adaptee, if available. |
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
Required adaptions:
Example (no casting required):
IGeoResourceInfo info = resovle(IGeoResourceInfo.class);
Recommendated adaptions:
resolve
in interface Resolve
adaptee
- monitor
-
java.io.IOException
- DOCUMENT ME!GeoResourceInfo
,
IService
,
IResolve#resolve(Class, ProgressListener)
public GeoResourceInfo getInfo(ProgressListener monitor) throws java.io.IOException
As an example this method is used by LabelDecorators to aquire title, and icon.
monitor
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!resolve(Class, ProgressListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |