|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.catalog.AbstractGeoResource
org.geotools.catalog.wfs.WFSGeoResource
Access a feature type in a wfs.
| Nested Class Summary |
| Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
| Constructor Summary | |
WFSGeoResource(WFSService parent,
java.lang.String typename)
Construct WFSGeoResourceImpl. |
|
| 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. |
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, parent, removeListener, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WFSGeoResource(WFSService parent,
java.lang.String typename)
WFSGeoResourceImpl.
parent - typename - | Method Detail |
public java.net.URI getIdentifier()
Resolve
public Resolve.Status getStatus()
Resolve
Resolve.Status.BROKEN,Resolve.Status.CONNECTED, or
Resolve.Status.NOTCONNECTED.public java.lang.Throwable getMessage()
ResolveResolve.getStatus() returns Resolve.Status.BROKEN, otherwise it
return null.
Resolve.Status
public java.lang.Object resolve(java.lang.Class adaptee,
ProgressListener monitor)
throws java.io.IOException
GeoResourceRequired 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 GeoResourceInfo getInfo(ProgressListener monitor)
throws java.io.IOException
GeoResourceAs 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)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||