|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.SampleDataAccessFeatureSource
public class SampleDataAccessFeatureSource
FeatureSource
for SampleDataAccess
.
Constructor Summary | |
---|---|
SampleDataAccessFeatureSource()
|
Method Summary | |
---|---|
void |
addFeatureListener(FeatureListener listener)
Unsupported operation. |
ReferencedEnvelope |
getBounds()
Not yet implemented. |
ReferencedEnvelope |
getBounds(Query query)
Not yet implemented. |
int |
getCount(Query query)
Not yet implemented. |
DataAccess<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> |
getDataStore()
Not yet implemented. |
FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> |
getFeatures()
Return a FeatureCollection containing the sample features. |
FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> |
getFeatures(org.opengis.filter.Filter filter)
Not yet implemented. |
FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> |
getFeatures(Query query)
Not yet implemented. |
ResourceInfo |
getInfo()
Not yet implemented. |
org.opengis.feature.type.Name |
getName()
Not yet implemented. |
QueryCapabilities |
getQueryCapabilities()
Not yet implemented. |
org.opengis.feature.type.FeatureType |
getSchema()
Return feature type. |
java.util.Set<java.awt.RenderingHints.Key> |
getSupportedHints()
Return an empty list of no hints. |
void |
removeFeatureListener(FeatureListener listener)
Unsupported operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleDataAccessFeatureSource()
Method Detail |
---|
public void addFeatureListener(FeatureListener listener)
addFeatureListener
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
listener
- FeatureListenerFeatureSource.addFeatureListener(org.geotools.data.FeatureListener)
public ReferencedEnvelope getBounds() throws java.io.IOException
getBounds
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
java.io.IOException
- if there are errors getting the bounding box.FeatureSource.getBounds()
public ReferencedEnvelope getBounds(Query query) throws java.io.IOException
getBounds
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
query
- Contains the Filter, and optionally MaxFeatures and StartIndex to
find the bounds for.
java.io.IOException
- DOCUMENT ME!FeatureSource.getBounds(org.geotools.data.Query)
public int getCount(Query query) throws java.io.IOException
getCount
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
query
- Contains the Filter, and optionally MaxFeatures and StartIndex to
find the count for.
-1
if count is too expensive to calculate or any errors or occur.
java.io.IOException
- if there are errors getting the countFeatureSource.getCount(org.geotools.data.Query)
public DataAccess<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> getDataStore()
getDataStore
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
FeatureSource.getDataStore()
public FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> getFeatures() throws java.io.IOException
FeatureCollection
containing the sample features.
getFeatures
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
java.io.IOException
- For all data source errors.FeatureSource.getFeatures()
public FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> getFeatures(org.opengis.filter.Filter filter) throws java.io.IOException
getFeatures
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
filter
- An OpenGIS filter; specifies which features to retrieve.
null is not allowed, use Filter.INCLUDE instead.
java.io.IOException
- For all data source errors.FeatureSource.getFeatures(org.opengis.filter.Filter)
public FeatureCollection<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature> getFeatures(Query query) throws java.io.IOException
getFeatures
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
query
- a datasource query object. It encapsulates requested
information, such as typeName, maxFeatures and filter.
java.io.IOException
- For all data source errors.FeatureSource.getFeatures(org.geotools.data.Query)
public ResourceInfo getInfo()
getInfo
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
FeatureSource.getInfo()
public org.opengis.feature.type.Name getName()
getName
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
FeatureSource.getName()
public QueryCapabilities getQueryCapabilities()
getQueryCapabilities
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
FeatureSource.getQueryCapabilities()
public org.opengis.feature.type.FeatureType getSchema()
getSchema
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
FeatureSource.getSchema()
public java.util.Set<java.awt.RenderingHints.Key> getSupportedHints()
getSupportedHints
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
RenderingHints#Key
objects (eventually empty, never null).FeatureSource.getSupportedHints()
public void removeFeatureListener(FeatureListener listener)
removeFeatureListener
in interface FeatureSource<org.opengis.feature.type.FeatureType,org.opengis.feature.Feature>
listener
- FeatureListenerFeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |