|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.catalog.AbstractGeoResource org.geotools.catalog.wms.WMSGeoResource
FeatureType provided by WFS.
Nested Class Summary |
Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
Constructor Summary | |
WMSGeoResource(WMSService parent,
Layer layer)
Construct WMSGeoResourceImpl . |
Method Summary | |
boolean |
canResolve(java.lang.Class adaptee)
Non blocking method which is used to determine if a resolve into an instance of a particular class is supported. |
java.net.URI |
getIdentifier()
Returns a URI which uniqley identifies the Resolve. |
GeoResourceInfo |
getInfo(ProgressListener monitor)
Blocking operation to describe this service. |
java.lang.Throwable |
getMessage()
In the event that an error occurs during a resolve, that error can be reported back with this method. |
Resolve.Status |
getStatus()
Status of the resolve. |
Resolve |
parent(ProgressListener monitor)
This method is shorthand for
return (Service) resolve(Service.class, monitor);
|
java.lang.Object |
resolve(java.lang.Class adaptee,
ProgressListener monitor)
Blocking operation to resolve into the adaptee, if available. |
Methods inherited from class org.geotools.catalog.AbstractGeoResource |
addListener, equals, fire, hashCode, members, removeListener, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WMSGeoResource(WMSService parent, Layer layer)
WMSGeoResourceImpl
.
parent
- layer
- Method Detail |
public Resolve parent(ProgressListener monitor) throws java.io.IOException
AbstractGeoResource
return (Service) resolve(Service.class, monitor);
parent
in interface Resolve
parent
in class AbstractGeoResource
monitor
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!GeoResource.resolve(Class, ProgressListener)
public Resolve.Status getStatus()
Resolve
Resolve.Status.BROKEN
,Resolve.Status.CONNECTED
, or
Resolve.Status.NOTCONNECTED
.public GeoResourceInfo getInfo(ProgressListener monitor) throws java.io.IOException
GeoResource
As an example this method is used by LabelDecorators to aquire title, and icon.
monitor
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!GeoResource.resolve(Class, ProgressListener)
public java.net.URI getIdentifier()
Resolve
public java.lang.Object resolve(java.lang.Class adaptee, ProgressListener monitor) throws java.io.IOException
GeoResource
Required adaptions:
Example (no casting required):
IGeoResourceInfo info = resovle(IGeoResourceInfo.class);
Recommendated adaptions:
adaptee
- monitor
-
java.io.IOException
- DOCUMENT ME!GeoResourceInfo
,
IService
,
IResolve#resolve(Class, ProgressListener)
public boolean canResolve(java.lang.Class adaptee)
Resolve
adaptee
- Class of object to resolve into.
IResolve#resolve(Class,ProgressListener)
public java.lang.Throwable getMessage()
Resolve
Resolve.getStatus()
returns Resolve.Status.BROKEN
, otherwise it
return null.
Resolve.Status
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |