deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wps.execute.processes
Class Buffer

java.lang.Object
  extended by org.deegree.ogcwebservices.wps.execute.Process
      extended by 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
           
 
Fields inherited from class org.deegree.ogcwebservices.wps.execute.Process
processDescription
 
Constructor Summary
Buffer(ProcessDescription processDescription)
           
 
Method Summary
 ExecuteResponse.ProcessOutputs execute(Map<String,IOValue> inputs, OutputDefinitions outputDefinitions)
          (non-Javadoc)
 
Methods inherited from class org.deegree.ogcwebservices.wps.execute.Process
getProcessDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

static int id
Constructor Detail

Buffer

public Buffer(ProcessDescription processDescription)
Parameters:
processDescription -
Method Detail

execute

public ExecuteResponse.ProcessOutputs execute(Map<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.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org