org.deegree.ogcwebservices.wcts.operation
Class TransformResponse
java.lang.Object
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:$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
.
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org