org.geotools.feature.collection |
package org.geotools.feature.collection
Helper classes for implementing FeatureCollections.
References
The following links will be of interest:
@author Jody Garnett, Refractions Research
@since GeoTools 2.2.
|
Java Source File Name | Type | Comment |
AbstractFeatureCollection.java | Class | Implement a feature collection just based on provision of iterator. |
AbstractFeatureList.java | Class | Implementation of FeatureList to get you started. |
AbstractResourceCollection.java | Class | Collection supporting close( Iterator ).
This implementation is a port of java.util.Collection with support for
the use of close( Iterator ). |
AbstractResourceList.java | Class | Starter for resource based list implementations.
Same deal as ResouceCollections - iterators that need to be closed. |
BaseFeatureState.java | Class | This is *not* a Feature - it is a Delegate used by FeatureCollection
implementations as "mix-in", provides implementation of featureCollection
events, featureType, and attribute access. |
DelegateFeatureIterator.java | Class | A feature iterator that completely delegates to a normal
Iterator, simply allowing Java 1.4 code to escape the caste (sic)
system.
This implementation is not suitable for use with collections
that make use of system resources. |
FeatureIteratorImpl.java | Class | A convenience class for dealing with FeatureCollection Iterators. |
FeatureState.java | Class | This is *not* a Feature - it is a Delegate used by FeatureCollection
implementations as "mix-in", provides implementation of featureCollection
events, featureType, and attribute access. |
FilteredIterator.java | Class | Provides an implementation of Iterator that will filter
contents using the provided filter.
This is a *Generic* iterator not limited to Feature, this
will become more interesting as Filter is able to evaulate
itself with more things then just Features.
This also explains the use of Collection (where you may
have expected a FeatureCollection). |
RandomFeatureAccess.java | Interface | Access Feature content using Feature "Id".
Many FeatureCollection classes will make use of this
API to avoid unnecessary caching of content. |
SubFeatureCollection.java | Class | Used as a reasonable default implementation for subCollection. |
SubFeatureList.java | Class | |
SubFeatureState.java | Class | This is *not* a Feature - it is a Delegate used by FeatureCollection
implementations as "mix-in", provides implementation of featureCollection
events, featureType, and attribute access backed by an origional
FeatureCollection. |
SubResourceList.java | Class | Simple SubList based on from, to index. |