org.geotools.process.feature
Class FeatureToFeatureProcessFactory

Object
  extended by SingleProcessFactory
      extended by AbstractFeatureCollectionProcessFactory
          extended by FeatureToFeatureProcessFactory
All Implemented Interfaces:
Factory, OptionalFactory, ProcessFactory

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
static Parameter<FeatureCollection> RESULT
          Result of the operation is a FeatureCollection.
 
Fields inherited from class AbstractFeatureCollectionProcessFactory
FEATURES
 
Constructor Summary
FeatureToFeatureProcessFactory()
           
 
Method Summary
 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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

FeatureToFeatureProcessFactory

public FeatureToFeatureProcessFactory()
Method Detail

getResultInfo

public final Map<String,Parameter<?>> getResultInfo(Map<String,Object> parameters)
                                             throws IllegalArgumentException
Specified by:
getResultInfo in class SingleProcessFactory
Throws:
IllegalArgumentException

supportsProgress

public final boolean supportsProgress()
Specified by:
supportsProgress in class SingleProcessFactory

getVersion

public String getVersion()
Specified by:
getVersion in class SingleProcessFactory


Copyright © 1996-2014 Geotools. All Rights Reserved.