org.geotools.feature
Class DefaultFeatureCollections

Object
  extended by FeatureCollections
      extended by 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  SimpleFeatureCollection createCollection()
          Creates a new DefaultFeatureCollection.
protected  SimpleFeatureCollection createCollection(String id)
          Subclasses must implement this to return a new SimpleFeatureCollection object with a particular id.
protected  SimpleFeatureCollection createCollection(String id, SimpleFeatureType ft)
           
 
Methods inherited from class FeatureCollections
getImplementationHints, newCollection, newCollection
 
Methods inherited from class 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 SimpleFeatureCollection createCollection()
Creates a new DefaultFeatureCollection.

Specified by:
createCollection in class FeatureCollections
Returns:
A new, empty DefaultFeatureCollection.

createCollection

protected SimpleFeatureCollection createCollection(String id)
Description copied from class: FeatureCollections
Subclasses must implement this to return a new SimpleFeatureCollection object with a particular id.

Specified by:
createCollection in class FeatureCollections
Parameters:
id - The identification of the feature collection.
Returns:
A new SimpleFeatureCollection with the specified id.

createCollection

protected SimpleFeatureCollection createCollection(String id,
                                                   SimpleFeatureType ft)


Copyright © 1996-2014 Geotools. All Rights Reserved.