org.deegree.ogcwebservices.wps.execute.processes
Class Buffer
java.lang.Object
org.deegree.ogcwebservices.wps.execute.Process
org.deegree.ogcwebservices.wps.execute.processes.Buffer
public class Buffer
- extends Process
Buffer.java
Created on 09.03.2006. 23:42:39h
This class describes an exemplary Process Implementation. The corresponding configuration document is '\WEB-INF\conf\wps\processConfigs.xml'.
Process configuration is described further inside the configuration document.
The process implementor has to ensure, that the process implemented extends the abstract super class Process.
This example process IS NOT intended to describe a best practice approach. In some cases simplifying assumptions have
been made for sake of simplicity.
- Since:
- 2.0
- Version:
- 1.0.
- Author:
- Christian Kiehle, Christian Heier
Field Summary |
(package private) static int |
id
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
static int id
Buffer
public Buffer(ProcessDescription processDescription)
- Parameters:
processDescription
-
execute
public ExecuteResponse.ProcessOutputs execute(java.util.Map<java.lang.String,IOValue> inputs,
OutputDefinitions outputDefinitions)
throws OGCWebServiceException
- (non-Javadoc)
- Specified by:
execute
in class Process
- Returns:
- the result of the process
- Throws:
OGCWebServiceException
- See Also:
This is the central method for implementing a process. A Map
serves as an input
object. Each String represents the key (e.g. BufferDistance) which holds an IOValue as value (e.g. an object
representing a complete element with all corresponding sub-elements). The process implementation is
responsible for retrieving all specified values according to the process configuration document.
The method returns a ProcessOutputs
object, which encapsulates the result of the process's
operation.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org