org.geotools.feature
Class FeatureCollections

java.lang.Object
  extended byorg.geotools.feature.FeatureCollections
All Implemented Interfaces:
Factory
Direct Known Subclasses:
DefaultFeatureCollections

public abstract class FeatureCollections
extends java.lang.Object
implements Factory

A utility class for working with FeatureCollections. Provides a mechanism for obtaining a FeatureCollection instance.

Author:
Ian Schneider

Constructor Summary
FeatureCollections()
           
 
Method Summary
protected abstract  FeatureCollection createCollection()
          Subclasses must implement this to return a new FeatureCollection object.
 java.util.Map getImplementationHints()
          Returns the implementation hints.
static FeatureCollection newCollection()
          create a new FeatureCollection using the current default factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureCollections

public FeatureCollections()
Method Detail

newCollection

public static FeatureCollection newCollection()
create a new FeatureCollection using the current default factory.

Returns:
A FeatureCollection instance.

createCollection

protected abstract FeatureCollection createCollection()
Subclasses must implement this to return a new FeatureCollection object.

Returns:
A new FeatureCollection

getImplementationHints

public java.util.Map getImplementationHints()
Returns the implementation hints. The default implementation returns en empty map.

Specified by:
getImplementationHints in interface Factory
Returns:
The map of hints, or an empty map if none.


Copyright © GeoTools. All Rights Reserved.