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

java.lang.Object
  extended by es.unex.sextante.core.OutputFactory
      extended by org.deegree.services.wps.provider.sextante.OutputFactoryExt

public class OutputFactoryExt
extends es.unex.sextante.core.OutputFactory

This class can used from a SEXTANTE GeoAlgorithm, to create output objects like IVectorLayer, IRasterLayer or ITable.

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

Constructor Summary
OutputFactoryExt()
           
 
Method Summary
 Object getDefaultCRS()
           
 es.unex.sextante.dataObjects.IRasterLayer getNewRasterLayer(String sName, int iDataType, es.unex.sextante.rasterWrappers.GridExtent extent, int iBands, es.unex.sextante.outputs.IOutputChannel channel, Object crs)
           
 es.unex.sextante.dataObjects.ITable getNewTable(String sName, Class[] types, String[] sFields, es.unex.sextante.outputs.IOutputChannel channe)
           
 es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(String iName, int iShapeType, Class[] types, String[] sFields, es.unex.sextante.outputs.IOutputChannel channel, Object crs)
           
 es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(String iName, int iShapeType, Class[] types, String[] sFields, es.unex.sextante.outputs.IOutputChannel channel, Object crs, int[] fieldSize)
           
 String[] getRasterLayerOutputExtensions()
           
 String[] getTableOutputExtensions()
           
 es.unex.sextante.core.ITaskMonitor getTaskMonitor(String sTitle, boolean bDeterminate, JDialog parent)
           
protected  String getTempFolder()
           
 String[] getVectorLayerOutputExtensions()
           
 
Methods inherited from class es.unex.sextante.core.OutputFactory
getNewRasterLayer, getTempFilename, getTempFilenameWithoutExtension, getTempFoldername, getTempRasterLayerFilename, getTempTableFilename, getTempVectorLayerFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFactoryExt

public OutputFactoryExt()
Method Detail

getDefaultCRS

public Object getDefaultCRS()
Specified by:
getDefaultCRS in class es.unex.sextante.core.OutputFactory

getNewRasterLayer

public es.unex.sextante.dataObjects.IRasterLayer getNewRasterLayer(String sName,
                                                                   int iDataType,
                                                                   es.unex.sextante.rasterWrappers.GridExtent extent,
                                                                   int iBands,
                                                                   es.unex.sextante.outputs.IOutputChannel channel,
                                                                   Object crs)
                                                            throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
Specified by:
getNewRasterLayer in class es.unex.sextante.core.OutputFactory
Throws:
es.unex.sextante.exceptions.UnsupportedOutputChannelException

getNewTable

public es.unex.sextante.dataObjects.ITable getNewTable(String sName,
                                                       Class[] types,
                                                       String[] sFields,
                                                       es.unex.sextante.outputs.IOutputChannel channe)
                                                throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
Specified by:
getNewTable in class es.unex.sextante.core.OutputFactory
Throws:
es.unex.sextante.exceptions.UnsupportedOutputChannelException

getNewVectorLayer

public es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(String iName,
                                                                   int iShapeType,
                                                                   Class[] types,
                                                                   String[] sFields,
                                                                   es.unex.sextante.outputs.IOutputChannel channel,
                                                                   Object crs)
                                                            throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
Specified by:
getNewVectorLayer in class es.unex.sextante.core.OutputFactory
Throws:
es.unex.sextante.exceptions.UnsupportedOutputChannelException

getNewVectorLayer

public es.unex.sextante.dataObjects.IVectorLayer getNewVectorLayer(String iName,
                                                                   int iShapeType,
                                                                   Class[] types,
                                                                   String[] sFields,
                                                                   es.unex.sextante.outputs.IOutputChannel channel,
                                                                   Object crs,
                                                                   int[] fieldSize)
                                                            throws es.unex.sextante.exceptions.UnsupportedOutputChannelException
Specified by:
getNewVectorLayer in class es.unex.sextante.core.OutputFactory
Throws:
es.unex.sextante.exceptions.UnsupportedOutputChannelException

getRasterLayerOutputExtensions

public String[] getRasterLayerOutputExtensions()
Specified by:
getRasterLayerOutputExtensions in class es.unex.sextante.core.OutputFactory

getTableOutputExtensions

public String[] getTableOutputExtensions()
Specified by:
getTableOutputExtensions in class es.unex.sextante.core.OutputFactory

getTaskMonitor

public es.unex.sextante.core.ITaskMonitor getTaskMonitor(String sTitle,
                                                         boolean bDeterminate,
                                                         JDialog parent)
Specified by:
getTaskMonitor in class es.unex.sextante.core.OutputFactory

getTempFolder

protected String getTempFolder()
Specified by:
getTempFolder in class es.unex.sextante.core.OutputFactory

getVectorLayerOutputExtensions

public String[] getVectorLayerOutputExtensions()
Specified by:
getVectorLayerOutputExtensions in class es.unex.sextante.core.OutputFactory


Copyright © 2011. All Rights Reserved.