org.geotools.feature
Class DefaultFeatureCollections
java.lang.Object
org.geotools.feature.FeatureCollections
org.geotools.feature.DefaultFeatureCollections
- All Implemented Interfaces:
- Factory
public class DefaultFeatureCollections
- extends FeatureCollections
Concrete extension to FeatureCollections to create
DefaultFeatureCollections.
- Author:
- Ian Schneider
Method Summary |
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
createCollection()
Creates a new DefaultFeatureCollection. |
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
createCollection(java.lang.String id)
Subclasses must implement this to return a new FeatureCollection object
with a particular id. |
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
createCollection(java.lang.String id,
org.opengis.feature.simple.SimpleFeatureType ft)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFeatureCollections
public DefaultFeatureCollections()
- Creates a new instance of DefaultFeatureCollections
createCollection
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> createCollection()
- Creates a new DefaultFeatureCollection.
- Specified by:
createCollection
in class FeatureCollections
- Returns:
- A new, empty DefaultFeatureCollection.
createCollection
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> createCollection(java.lang.String id)
- Description copied from class:
FeatureCollections
- Subclasses must implement this to return a new FeatureCollection object
with a particular id.
- Specified by:
createCollection
in class FeatureCollections
- Parameters:
id
- The identification of the feature collection.
- Returns:
- A new FeatureCollection with the specified id.
createCollection
protected FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> createCollection(java.lang.String id,
org.opengis.feature.simple.SimpleFeatureType ft)
Copyright © 1996-2010 Geotools. All Rights Reserved.