|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.GeoAlgorithm
es.unex.sextante.wps.WPSGeoAlgorithm
public class WPSGeoAlgorithm
This class wraps a WPS process, so it can be used as a SEXTANTE geoalgorithm.
Constructor Summary | |
---|---|
WPSGeoAlgorithm()
|
Method Summary | |
---|---|
void |
defineCharacteristics()
This method should be overridden and used to specify the parameters needed by the GeoAlgorithm, using the corresponding methods of the ParametersSet object. |
java.lang.String[] |
getAlgorithmAsCommandLineSentences()
Returns the command line expression that would create this instance of the algorithm |
java.lang.String |
getCommandLineHelp()
Returns a string containing the command line usage of the algorithm |
java.lang.String |
getIdentifier()
|
GeoAlgorithm |
getNewInstance()
|
java.lang.String |
getXML()
|
void |
initialize(java.lang.String url,
net.opengis.wps.x100.ProcessDescriptionType pdt)
initializes the geoalgorithm from a WPS process |
boolean |
isDeterminatedProcess()
|
boolean |
processAlgorithm()
This method should implement the algorithm itself, using the values of the parameters and processing them. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WPSGeoAlgorithm()
Method Detail |
---|
public void initialize(java.lang.String url, net.opengis.wps.x100.ProcessDescriptionType pdt) throws UnwrappableWPSProcessException
url
- the url of the WPS serverpdt
- The description of the WPS process
UnwrappableWPSProcessException
public boolean processAlgorithm() throws GeoAlgorithmExecutionException
GeoAlgorithm
processAlgorithm
in class GeoAlgorithm
GeoAlgorithmExecutionException
- if there were problems
during algorithm executionpublic void defineCharacteristics()
GeoAlgorithm
GeoAlgorithm.addOutputRasterLayer(java.lang.String, java.lang.String, int, es.unex.sextante.outputs.IOutputChannel, es.unex.sextante.dataObjects.IRasterLayer)
, GeoAlgorithm.addOutputVectorLayer(java.lang.String, java.lang.String, int, es.unex.sextante.outputs.IOutputChannel, es.unex.sextante.dataObjects.IVectorLayer)
, etc.)
defineCharacteristics
in class GeoAlgorithm
public GeoAlgorithm getNewInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException
getNewInstance
in class GeoAlgorithm
java.lang.InstantiationException
java.lang.IllegalAccessException
public boolean isDeterminatedProcess()
isDeterminatedProcess
in class GeoAlgorithm
public java.lang.String getXML()
public java.lang.String getIdentifier()
public java.lang.String[] getAlgorithmAsCommandLineSentences()
GeoAlgorithm
getAlgorithmAsCommandLineSentences
in class GeoAlgorithm
public java.lang.String getCommandLineHelp()
GeoAlgorithm
getCommandLineHelp
in class GeoAlgorithm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |