org.geotools.process.feature
Class FeatureToFeatureProcess

java.lang.Object
  extended by org.geotools.process.impl.AbstractProcess
      extended by org.geotools.process.feature.AbstractFeatureCollectionProcess
          extended by org.geotools.process.feature.FeatureToFeatureProcess
All Implemented Interfaces:
Process
Direct Known Subclasses:
BufferFeatureCollectionProcess

public abstract class FeatureToFeatureProcess
extends AbstractFeatureCollectionProcess

Abstract implementation of Process for feature collections.

Subclasses need to implement AbstractFeatureCollectionProcess.processFeature(SimpleFeature, Map). This method should perform the operation on the feature, changing any attributes on the feature in as necessary.

Since:
2.6
Author:
Justin Deoliveira, OpenGEO
See Also:
FeatureToFeatureProcessFactory

Field Summary
 
Fields inherited from class org.geotools.process.impl.AbstractProcess
factory
 
Constructor Summary
FeatureToFeatureProcess(FeatureToFeatureProcessFactory factory)
          Constructor
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> execute(java.util.Map<java.lang.String,java.lang.Object> input, org.opengis.util.ProgressListener monitor)
          Execute this process with the provided inputs.
 
Methods inherited from class org.geotools.process.feature.AbstractFeatureCollectionProcess
processFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureToFeatureProcess

public FeatureToFeatureProcess(FeatureToFeatureProcessFactory factory)
Constructor

Parameters:
factory -
Method Detail

execute

public final java.util.Map<java.lang.String,java.lang.Object> execute(java.util.Map<java.lang.String,java.lang.Object> input,
                                                                      org.opengis.util.ProgressListener monitor)
Description copied from interface: Process
Execute this process with the provided inputs.

Parameters:
input - Input parameters for this process
monitor - listener for handling the progress of the process
Returns:
Map of results, (@see ProcessFactory for details), or null if canceled


Copyright © 1996-2010 Geotools. All Rights Reserved.