org.geotools.feature
Class DefaultFeatureCollections

java.lang.Object
  extended by org.geotools.feature.FeatureCollections
      extended by org.geotools.feature.DefaultFeatureCollections
All Implemented Interfaces:
Factory

public class DefaultFeatureCollections
extends FeatureCollections

Concrete extension to FeatureCollections to create DefaultFeatureCollections.

Author:
Ian Schneider

Constructor Summary
DefaultFeatureCollections()
          Creates a new instance of DefaultFeatureCollections
 
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 org.geotools.feature.FeatureCollections
getImplementationHints, newCollection, newCollection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureCollections

public DefaultFeatureCollections()
Creates a new instance of DefaultFeatureCollections

Method Detail

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.