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

org.deegree.ogcwebservices.wcts.operation
Class TransformResponse

java.lang.Object
  extended by org.deegree.ogcwebservices.wcts.operation.TransformResponse

public class TransformResponse
extends Object

TransformResponse wraps the requested inputdata (e.g. the metadata) and the transformed feature collections.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$

Constructor Summary
TransformResponse(CoordinateSystem sourceCRS, CoordinateSystem targetCRS, int dataPresentation, boolean store, Manifest inputData, TransformableData<?> transformableData)
           
 
Method Summary
 int getDataPresentation()
           
 Manifest getInputData()
           
 CoordinateSystem getSourceCRS()
           
 CoordinateSystem getTargetCRS()
           
 TransformableData<?> getTransformableData()
           
 boolean shouldStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformResponse

public TransformResponse(CoordinateSystem sourceCRS,
                         CoordinateSystem targetCRS,
                         int dataPresentation,
                         boolean store,
                         Manifest inputData,
                         TransformableData<?> transformableData)
                  throws IllegalArgumentException
Parameters:
sourceCRS - defining the source crs of the transformable data.
targetCRS - defining the target crs of the transformable data.
dataPresentation - a flag signaling the way the data was presented to the wcts. Valid values are Transform.INLINE and Transform.MULTIPART. If another value is given, Transform.MULTIPART is assumed.
store - true if the transformableData should be stored, false otherwise.
inputData - may be null. Meaning the request did not provide any inputdata or it was a kvp request.
transformableData - the transformed data.
Throws:
IllegalArgumentException - if the transformableData object is null.
Method Detail

shouldStore

public final boolean shouldStore()
Returns:
true if the data should be stored.

getInputData

public final Manifest getInputData()
Returns:
the inputData, may be null

getTransformableData

public final TransformableData<?> getTransformableData()
Returns:
the transformableData, will never be null

getDataPresentation

public final int getDataPresentation()
Returns:
a flag signaling the way the data was presented to the wcts. Valid values are Transform.INLINE and Transform.MULTIPART.

getSourceCRS

public final CoordinateSystem getSourceCRS()
Returns:
the sourceCRS

getTargetCRS

public final CoordinateSystem getTargetCRS()
Returns:
the targetCRS

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