deegree-services-3.0-pre-nightly (2010/03/05 00:04) - official

org.deegree.services.wps.ap.wcts
Class TransformCoordinates

java.lang.Object
  extended by org.deegree.services.wps.ap.wcts.TransformCoordinates
All Implemented Interfaces:
ExceptionAwareProcesslet, Processlet

public class TransformCoordinates
extends Object
implements ExceptionAwareProcesslet

The TransformCoordinates class TODO add class documentation here.

Version:
$Revision: 22837 $, $Date: 2010-03-03 18:00:04 +0100 (Mi, 03 Mrz 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Field Summary
(package private) static String IN_INPUTDATA
           
(package private) static String IN_SCRS
           
(package private) static String IN_TCRS
           
(package private) static String IN_TEST_TRANSFORM
           
(package private) static String IN_TRANSFORM
           
(package private) static String OUT_DATA
           
 
Constructor Summary
TransformCoordinates()
           
 
Method Summary
 void destroy()
          Called by the WPService to indicate to a Processlet that it is being taken out of service.
 ExceptionCustomizer getExceptionCustomizer()
          Called by the WPService if an exception occurred while parsing and/or validating an incoming request.
 void init()
          Called by the WPService to indicate to a Processlet that it is being placed into service.
 void process(ProcessletInputs in, ProcessletOutputs out, ProcessletExecutionInfo info)
          Called by the WPService to perform the execution of this Processlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_INPUTDATA

static final String IN_INPUTDATA
See Also:
Constant Field Values

IN_TEST_TRANSFORM

static final String IN_TEST_TRANSFORM
See Also:
Constant Field Values

IN_TRANSFORM

static final String IN_TRANSFORM
See Also:
Constant Field Values

IN_SCRS

static final String IN_SCRS
See Also:
Constant Field Values

IN_TCRS

static final String IN_TCRS
See Also:
Constant Field Values

OUT_DATA

static final String OUT_DATA
See Also:
Constant Field Values
Constructor Detail

TransformCoordinates

public TransformCoordinates()
Method Detail

destroy

public void destroy()
Description copied from interface: Processlet
Called by the WPService to indicate to a Processlet that it is being taken out of service.

This method gives the Processlet an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the Processlet's current state in memory.

Specified by:
destroy in interface Processlet

init

public void init()
Description copied from interface: Processlet
Called by the WPService to indicate to a Processlet that it is being placed into service.

Specified by:
init in interface Processlet

process

public void process(ProcessletInputs in,
                    ProcessletOutputs out,
                    ProcessletExecutionInfo info)
             throws ProcessletException
Description copied from interface: Processlet
Called by the WPService to perform the execution of this Processlet.

The typical workflow is:

  1. Get inputs from in parameter
  2. Parse inputs into the required format (e.g. GML)
  3. Do computation.
  4. Transform computational results into required format (e.g. GML)
  5. Write results to out parameter
Please consider ParameterDemoProcesslet as best practice.

Specified by:
process in interface Processlet
Parameters:
in - input arguments to be processed, never null
out - used to store the process outputs, never null
info - can be used to provide execution information, i.e. percentage completed and start/success messages that it wants to make known to clients, never null
Throws:
ProcessletException - may be thrown by the processlet to indicate a processing exception

getExceptionCustomizer

public ExceptionCustomizer getExceptionCustomizer()
Description copied from interface: ExceptionAwareProcesslet
Called by the WPService if an exception occurred while parsing and/or validating an incoming request.

Implementations may supply an ExceptionCustomizer which will create an OWSException appropriate for a number of exceptional events. If an implementations wants the WPService to generate a 'standard' exception null should be returned.

Specified by:
getExceptionCustomizer in interface ExceptionAwareProcesslet
Returns:
an ExceptionCustomizer or null if the Processlet prefers standard exception handling.

deegree-services-3.0-pre-nightly (2010/03/05 00:04) - official

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

]]>