|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSampleDataAccessFeatureSource
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<FeatureType,Feature> |
getDataStore()
Not yet implemented. |
FeatureCollection<FeatureType,Feature> |
getFeatures()
Return a FeatureCollection containing the sample features. |
FeatureCollection<FeatureType,Feature> |
getFeatures(Filter filter)
Not yet implemented. |
FeatureCollection<FeatureType,Feature> |
getFeatures(Query query)
Not yet implemented. |
ResourceInfo |
getInfo()
Not yet implemented. |
Name |
getName()
Not yet implemented. |
QueryCapabilities |
getQueryCapabilities()
Not yet implemented. |
FeatureType |
getSchema()
Return feature type. |
Set<RenderingHints.Key> |
getSupportedHints()
Return an empty list of no hints. |
void |
removeFeatureListener(FeatureListener listener)
Unsupported operation. |
Methods inherited from class 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<FeatureType,Feature>
listener
- the new listenerFeatureSource.addFeatureListener(org.geotools.data.FeatureListener)
public ReferencedEnvelope getBounds() throws IOException
getBounds
in interface FeatureSource<FeatureType,Feature>
null
if the bounds are unknown or too costly to calculate.
IOException
- on any errors calculating the boundsFeatureSource.getBounds()
public ReferencedEnvelope getBounds(Query query) throws IOException
getBounds
in interface FeatureSource<FeatureType,Feature>
query
- the query to select features
null
if the bounds are unknown or too costly to calculate.
IOException
- on any errors calculating the boundsFeatureSource.getBounds(org.geotools.data.Query)
public int getCount(Query query) throws IOException
getCount
in interface FeatureSource<FeatureType,Feature>
query
- the query to select features
Query
;
or -1
if this cannot be calculated.
IOException
- if there are errors getting the countFeatureSource.getCount(org.geotools.data.Query)
public DataAccess<FeatureType,Feature> getDataStore()
getDataStore
in interface FeatureSource<FeatureType,Feature>
FeatureSource
FeatureSource.getDataStore()
public FeatureCollection<FeatureType,Feature> getFeatures() throws IOException
FeatureCollection
containing the sample features.
getFeatures
in interface FeatureSource<FeatureType,Feature>
Query
IOException
- if the underlying data source cannot be accessed.FeatureSource.getFeatures()
public FeatureCollection<FeatureType,Feature> getFeatures(Filter filter) throws IOException
getFeatures
in interface FeatureSource<FeatureType,Feature>
filter
- the filter to select features; must not be null
(use Filter.INCLUDE instead)
Filter
IOException
- if the underlying data source cannot be accessed.FeatureSource.getFeatures(org.opengis.filter.Filter)
public FeatureCollection<FeatureType,Feature> getFeatures(Query query) throws IOException
getFeatures
in interface FeatureSource<FeatureType,Feature>
query
- DataAccess query for requested information, such as typeName,
maxFeatures and filter.
Query
IOException
- if the underlying data source cannot be accessed.FeatureSource.getFeatures(org.geotools.data.Query)
public ResourceInfo getInfo()
getInfo
in interface FeatureSource<FeatureType,Feature>
FeatureSource.getInfo()
public Name getName()
getName
in interface FeatureSource<FeatureType,Feature>
FeatureSource
FeatureSource.getName()
public QueryCapabilities getQueryCapabilities()
getQueryCapabilities
in interface FeatureSource<FeatureType,Feature>
FeatureSource
FeatureSource.getQueryCapabilities()
public FeatureType getSchema()
getSchema
in interface FeatureSource<FeatureType,Feature>
FeatureSource
FeatureSource.getSchema()
public Set<RenderingHints.Key> getSupportedHints()
getSupportedHints
in interface FeatureSource<FeatureType,Feature>
RenderingHints#Key
objects; may be empty but never null
FeatureSource.getSupportedHints()
public void removeFeatureListener(FeatureListener listener)
removeFeatureListener
in interface FeatureSource<FeatureType,Feature>
listener
- the listener to removeFeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |