Package org.geotools.process.feature
Class FeatureToFeatureProcessFactory
- Object
-
- SingleProcessFactory
-
- AbstractFeatureCollectionProcessFactory
-
- FeatureToFeatureProcessFactory
-
- All Implemented Interfaces:
ProcessFactory
,Factory
,OptionalFactory
public abstract class FeatureToFeatureProcessFactory extends AbstractFeatureCollectionProcessFactory
Base class for process factories which perform an operation on each feature in a feature collection with the result being a feature collection (the original collection modified or a new collection).Note: This base class is intended to be used for processes which operate on each feature in a feature collection, resulting in a new feature collection which has the same schema as the original.
Subclasses must implement:
- Since:
- 2.6
- Author:
- Justin Deoliveira, OpenGEO
-
-
Field Summary
Fields Modifier and Type Field Description static Parameter<FeatureCollection>
RESULT
Result of the operation is a FeatureCollection.-
Fields inherited from class AbstractFeatureCollectionProcessFactory
FEATURES
-
-
Constructor Summary
Constructors Constructor Description FeatureToFeatureProcessFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Parameter<?>>
getResultInfo(Map<String,Object> parameters)
String
getVersion()
boolean
supportsProgress()
-
Methods inherited from class AbstractFeatureCollectionProcessFactory
addParameters, getParameterInfo
-
Methods inherited from class SingleProcessFactory
create, create, getDescription, getDescription, getImplementationHints, getNames, getParameterInfo, getResultInfo, getTitle, getTitle, getVersion, isAvailable, supportsProgress
-
-
-
-
Field Detail
-
RESULT
public static final Parameter<FeatureCollection> RESULT
Result of the operation is a FeatureCollection. This can be the input FeatureCollection, modified by the process or a new FeatureCollection.
-
-
Method Detail
-
getResultInfo
public final Map<String,Parameter<?>> getResultInfo(Map<String,Object> parameters) throws IllegalArgumentException
- Specified by:
getResultInfo
in classSingleProcessFactory
- Throws:
IllegalArgumentException
-
supportsProgress
public final boolean supportsProgress()
- Specified by:
supportsProgress
in classSingleProcessFactory
-
getVersion
public String getVersion()
- Specified by:
getVersion
in classSingleProcessFactory
-
-