org.deegree.services.wps.provider.sextante
Class SextanteFeatureCollectionStreamer

java.lang.Object
  extended by org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamer

public class SextanteFeatureCollectionStreamer
extends Object

This class allows to steam a FeatureCollection for execute a process.

Version:
$Revision: $, $Date: $
Author:
Jens Pabel, last edited by: $Author: pabel $

Field Summary
static boolean ENABLED
           
 
Constructor Summary
SextanteFeatureCollectionStreamer(es.unex.sextante.core.GeoAlgorithm alg, ProcessletInputs in, ProcessletOutputs out)
           
 
Method Summary
 boolean containFeatureCollectionInput()
          Returns, if the input data contains a FeatureCollection.
 boolean containFeatureCollectionOutput()
          Returns, if the output data contains a FeatureCollection.
 void execute()
          Streams input and output FeatureCollection and execute the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLED

public static final boolean ENABLED
See Also:
Constant Field Values
Constructor Detail

SextanteFeatureCollectionStreamer

public SextanteFeatureCollectionStreamer(es.unex.sextante.core.GeoAlgorithm alg,
                                         ProcessletInputs in,
                                         ProcessletOutputs out)
Method Detail

containFeatureCollectionInput

public boolean containFeatureCollectionInput()
Returns, if the input data contains a FeatureCollection.

Returns:
true = FeatureCollection, false = no FeatureCollection.

containFeatureCollectionOutput

public boolean containFeatureCollectionOutput()
Returns, if the output data contains a FeatureCollection.

Returns:
true = FeatureCollection, false = no FeatureCollection.

execute

public void execute()
             throws ProcessletException,
                    es.unex.sextante.exceptions.WrongParameterTypeException,
                    es.unex.sextante.exceptions.NullParameterValueException,
                    ClassNotFoundException
Streams input and output FeatureCollection and execute the process.

Throws:
ProcessletException
ClassNotFoundException
es.unex.sextante.exceptions.NullParameterValueException
es.unex.sextante.exceptions.WrongParameterTypeException


Copyright © 2011. All Rights Reserved.