|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.AbstractFeatureSource org.geotools.data.wfs.WFSFeatureSource
DOCUMENT ME!
Nested Class Summary | |
static class |
WFSFeatureSource.WFSFeatureResults
|
Field Summary | |
protected WFSDataStore |
ds
|
protected java.lang.String |
fname
|
Constructor Summary | |
protected |
WFSFeatureSource(WFSDataStore ds,
java.lang.String fname)
|
Method Summary | |
void |
addFeatureListener(FeatureListener listener)
Adds a listener to the list that's notified each time a change to the FeatureStore occurs. |
com.vividsolutions.jts.geom.Envelope |
getBounds()
Retrieve Bounds of all Features. |
com.vividsolutions.jts.geom.Envelope |
getBounds(Query query)
Retrieve Bounds of Query results. |
DataStore |
getDataStore()
Access to the DataStore implementing this FeatureStore. |
FeatureCollection |
getFeatures()
Retrieve all Features. |
FeatureCollection |
getFeatures(Filter filter)
Retrieve all Feature matching the Filter. |
FeatureCollection |
getFeatures(Query query)
Provides an interface to for the Resutls of a Query. |
FeatureType |
getSchema()
Retrieves the featureType that features extracted from this datasource will be created with. |
Transaction |
getTransaction()
Retrieve the Transaction this FeatureSource is opperating against. |
void |
removeFeatureListener(FeatureListener listener)
Removes a listener from the list that's notified each time a change to the FeatureStore occurs. |
Methods inherited from class org.geotools.data.AbstractFeatureSource |
getCount, namedQuery |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WFSDataStore ds
protected java.lang.String fname
Constructor Detail |
protected WFSFeatureSource(WFSDataStore ds, java.lang.String fname)
Method Detail |
public DataStore getDataStore()
FeatureSource
You may use this to access such as namespace
provided by
DataStore.
FeatureSource.getDataStore()
public void addFeatureListener(FeatureListener listener)
FeatureSource
listener
- FeatureListenerFeatureSource.addFeatureListener(org.geotools.data.FeatureListener)
public void removeFeatureListener(FeatureListener listener)
FeatureSource
listener
- FeatureListenerFeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)
public FeatureType getSchema()
FeatureSource
The schema returned is the LCD supported by all available Features. In the common case of shapfiles and database table this schema will match that of every feature available. In the degenerate GML case this will simply reflect the gml:AbstractFeatureType.
FeatureSource.getSchema()
public com.vividsolutions.jts.geom.Envelope getBounds() throws java.io.IOException
AbstractFeatureSource
Currently returns null, consider getFeatures().getBounds() instead.
Subclasses may override this method to perform the appropriate optimization for this result.
getBounds
in interface FeatureSource
getBounds
in class AbstractFeatureSource
java.io.IOException
- DOCUMENT ME!FeatureSource.getBounds()
public com.vividsolutions.jts.geom.Envelope getBounds(Query query) throws java.io.IOException
AbstractFeatureSource
Currently returns null, consider getFeatures( query ).getBounds() instead.
Subclasses may override this method to perform the appropriate optimization for this result.
getBounds
in interface FeatureSource
getBounds
in class AbstractFeatureSource
query
- Query we are requesting the bounds of
java.io.IOException
- DOCUMENT ME!FeatureSource.getBounds(org.geotools.data.Query)
public FeatureCollection getFeatures()
AbstractFeatureSource
getFeatures
in interface FeatureSource
getFeatures
in class AbstractFeatureSource
FeatureSource.getFeatures()
public FeatureCollection getFeatures(Filter filter)
AbstractFeatureSource
getFeatures
in interface FeatureSource
getFeatures
in class AbstractFeatureSource
filter
- Indicates features to retrieve
FeatureSource.getFeatures(org.geotools.filter.Filter)
public FeatureCollection getFeatures(Query query)
AbstractFeatureSource
Various queries can be made against the results, the most basic being to retrieve Features.
getFeatures
in interface FeatureSource
getFeatures
in class AbstractFeatureSource
query
-
FeatureSource.getFeatures(org.geotools.data.Query)
public Transaction getTransaction()
AbstractFeatureSource
For a plain FeatureSource that cannot modify this will always be Transaction.AUTO_COMMIT.
getTransaction
in class AbstractFeatureSource
AbstractFeatureSource.getTransaction()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |