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

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

public class SextanteFeatureCollectionStreamWriter
extends Object

This class can be use to write a FeatureCollection, Feature for Feature on a Stream.

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

Constructor Summary
SextanteFeatureCollectionStreamWriter(String identifier, ProcessletOutputs out)
           
 
Method Summary
 void close()
          Closes the feature collection.
 void writeFeature(Feature f)
          Writes a Feature into a FeatureCollection on stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SextanteFeatureCollectionStreamWriter

public SextanteFeatureCollectionStreamWriter(String identifier,
                                             ProcessletOutputs out)
                                      throws XMLStreamException
Throws:
XMLStreamException
Method Detail

writeFeature

public void writeFeature(Feature f)
                  throws XMLStreamException,
                         UnknownCRSException,
                         TransformationException
Writes a Feature into a FeatureCollection on stream.

Parameters:
f - Feature.
Throws:
XMLStreamException
UnknownCRSException
TransformationException

close

public void close()
           throws XMLStreamException
Closes the feature collection.

Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.