org.deegree.ogcwebservices.wcts.operation
Class IsTransformable
java.lang.Object
org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
org.deegree.ogcwebservices.wcts.operation.WCTSRequestBase
org.deegree.ogcwebservices.wcts.operation.IsTransformable
- All Implemented Interfaces:
- java.io.Serializable, OGCWebServiceRequest
public class IsTransformable
- extends WCTSRequestBase
IsTransformable
encapsulates the bean representation of the xml-dom or kvp encoded IsTransformable
request of the wcts 0.4.0
- Version:
- $Revision:$, $Date:$
- Author:
- Rutger Bezema, last edited by: $Author:$
- See Also:
- Serialized Form
Constructor Summary |
IsTransformable(java.lang.String version,
java.lang.String requestID,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.util.List<java.lang.String> geometryTypes)
|
IsTransformable(java.lang.String version,
java.lang.String id,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String transformation,
java.lang.String method,
java.util.List<Pair<java.lang.String,java.lang.String>> geometryTypes,
java.util.List<Pair<java.lang.String,java.lang.String>> coverageTypes,
java.util.List<Pair<java.lang.String,java.lang.String>> interpolationTypes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IsTransformable
public IsTransformable(java.lang.String version,
java.lang.String id,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.lang.String transformation,
java.lang.String method,
java.util.List<Pair<java.lang.String,java.lang.String>> geometryTypes,
java.util.List<Pair<java.lang.String,java.lang.String>> coverageTypes,
java.util.List<Pair<java.lang.String,java.lang.String>> interpolationTypes)
- Parameters:
version
- id
- sourceCRS
- if null
it is assumed that the sourceCRS is not supported.targetCRS
- if null
it is assumed that the targetCRS is not supported.transformation
- method
- geometryTypes
- coverageTypes
- interpolationTypes
-
IsTransformable
public IsTransformable(java.lang.String version,
java.lang.String requestID,
CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
java.util.List<java.lang.String> geometryTypes)
- Parameters:
version
- requestID
- sourceCRS
- if null
it is assumed that the sourceCRS is not supported.targetCRS
- if null
it is assumed that the targetCRS is not supported.geometryTypes
- a list of simple geometry representations.
getSourceCRS
public final CoordinateSystem getSourceCRS()
- Returns:
- the sourceCRS, if
null
it can be assumed that the sourceCRS is not supported.
getTargetCRS
public final CoordinateSystem getTargetCRS()
- Returns:
- the targetCRS, if
null
it can be assumed that the targetCRS is not supported.
getTransformation
public final java.lang.String getTransformation()
- Returns:
- the transformation currently
null
getMethod
public final java.lang.String getMethod()
- Returns:
- the method currently
null
getGeometryTypes
public final java.util.List<Pair<java.lang.String,java.lang.String>> getGeometryTypes()
- Returns:
- the geometryTypes as a list of < value, codeSpace > pairs. May be
null
, if so, check
getSimpleGeometryTypes()
to see if the request defined geometryTypes by KVP.
getSimpleGeometryTypes
public final java.util.List<java.lang.String> getSimpleGeometryTypes()
- Returns:
- the simpleGeometryTypes. Maybe
null
, if so check getGeometryTypes()
to see if
xml encoded geometryTypes were supplied.
getCoverageTypes
public final java.util.List<Pair<java.lang.String,java.lang.String>> getCoverageTypes()
- Returns:
- the coverageTypes currently
null
.
getInterpolationTypes
public final java.util.List<Pair<java.lang.String,java.lang.String>> getInterpolationTypes()
- Returns:
- the interpolationTypes currently
null
.
create
public static IsTransformable create(java.lang.String requestID,
java.util.Map<java.lang.String,java.lang.String> map)
throws OGCWebServiceException
- Create a
IsTransformable
-request by extracting the values from the map, and calling the constructor with
these values.
- Parameters:
requestID
- service internal id for this request.map
- to extract requested values from.
- Returns:
- the bean representation
- Throws:
OGCWebServiceException
- if the map is null
or has size==0, or the service,request parameters have none
accepted values.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org