deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wcts.operation
Class TransformResponse

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

public class TransformResponse
extends java.lang.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 java.lang.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:
java.lang.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.5 (2011/06/29 09:44 build-8-official)

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