org.geotools.process.feature
Class BufferFeatureCollectionFactory

java.lang.Object
  extended by org.geotools.process.impl.SingleProcessFactory
      extended by org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
          extended by org.geotools.process.feature.FeatureToFeatureProcessFactory
              extended by org.geotools.process.feature.BufferFeatureCollectionFactory
All Implemented Interfaces:
Factory, OptionalFactory, ProcessFactory

public class BufferFeatureCollectionFactory
extends FeatureToFeatureProcessFactory

Factory for process which buffers an entire feature collection.

Since:
2.6
Author:
Justin Deoliveira, OpenGEO

Field Summary
 
Fields inherited from class org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
FEATURES
 
Constructor Summary
BufferFeatureCollectionFactory()
           
 
Method Summary
protected  void addParameters(java.util.Map<java.lang.String,Parameter<?>> parameters)
          Method for subclasses to add parameter descriptors for the process.
 BufferFeatureCollectionProcess create()
           
 org.opengis.util.InternationalString getDescription()
           
 org.opengis.util.InternationalString getTitle()
          Name suitable for display to end user.
 
Methods inherited from class org.geotools.process.feature.FeatureToFeatureProcessFactory
getResultInfo, getVersion, supportsProgress
 
Methods inherited from class org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
getParameterInfo
 
Methods inherited from class org.geotools.process.impl.SingleProcessFactory
create, getDescription, getImplementationHints, getNames, getParameterInfo, getResultInfo, getTitle, getVersion, isAvailable, supportsProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferFeatureCollectionFactory

public BufferFeatureCollectionFactory()
Method Detail

getTitle

public org.opengis.util.InternationalString getTitle()
Description copied from class: SingleProcessFactory
Name suitable for display to end user.

Specified by:
getTitle in interface ProcessFactory
Overrides:
getTitle in class SingleProcessFactory
Returns:
A short name suitable for display in a user interface.

getDescription

public org.opengis.util.InternationalString getDescription()
Specified by:
getDescription in class SingleProcessFactory

addParameters

protected void addParameters(java.util.Map<java.lang.String,Parameter<?>> parameters)
Description copied from class: AbstractFeatureCollectionProcessFactory
Method for subclasses to add parameter descriptors for the process.

Subclasses should not add a parameter for the input feature collection as this is done by the case class. Example implementation for a simple buffer example:

 protected void addParameters(Map> parameters) {
    parameters.put(BUFFER.key, BUFFER);
 }
 

Specified by:
addParameters in class AbstractFeatureCollectionProcessFactory

create

public BufferFeatureCollectionProcess create()
                                      throws java.lang.IllegalArgumentException
Specified by:
create in class SingleProcessFactory
Throws:
java.lang.IllegalArgumentException


Copyright © 1996-2010 Geotools. All Rights Reserved.