Package org.geotools.process.feature
Class FeatureToFeatureProcess
Object
AbstractProcess
AbstractFeatureCollectionProcess
FeatureToFeatureProcess
- All Implemented Interfaces:
Process
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 as necessary.
- Since:
- 2.6
- Author:
- Justin Deoliveira, OpenGEO
- See Also:
-
Field Summary
Fields inherited from class AbstractProcess
factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(Map<String, Object> input, ProgressListener monitor) Execute this process with the provided inputs.protected SimpleFeatureType
getTargetSchema
(SimpleFeatureType sourceSchema, Map<String, Object> input) Subclasses should override if the target schema is different that then original schema (mind, if the number of attributes changes it's better to roll your own class instead of using this one)Methods inherited from class AbstractFeatureCollectionProcess
processFeature
-
Constructor Details
-
FeatureToFeatureProcess
Constructor
-
-
Method Details
-
execute
Description copied from interface:Process
Execute this process with the provided inputs.- Parameters:
input
- Input parameters for this processmonitor
- listener for handling the progress of the process- Returns:
- Map of results, (@see ProcessFactory for details), or null if canceled
-
getTargetSchema
protected SimpleFeatureType getTargetSchema(SimpleFeatureType sourceSchema, Map<String, Object> input) Subclasses should override if the target schema is different that then original schema (mind, if the number of attributes changes it's better to roll your own class instead of using this one)
-