org.deegree_impl.services.wcts.protocol
Class DescribeTransformationResponse_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceResponse_Impl
      extended byorg.deegree_impl.services.wcts.protocol.DescribeTransformationResponse_Impl
All Implemented Interfaces:
DescribeTransformationResponse, OGCWebServiceResponse

public class DescribeTransformationResponse_Impl
extends OGCWebServiceResponse_Impl
implements DescribeTransformationResponse

As an answer to a DescribeTransformationRequest the service answers with one list including all single transformations which can be accomplished, in order to convert a coordinate from a sourcecoordinatensystem into a target system. As the attribute the number of necessary transformations is returned. If the transformation described is not possible, no transformation is returned and the numberOfTransformations is ' 0 '. Reasons for the missing possibility to perform a transformation can be that the service does not know/implement the necessary transformation steps, or that a transformation not is not possible in principle (e.g. 3d to 2d systems). An exception is returned only if an error aroses during processing the request .

----------------------------------------------------------------------

Version:
2002-07-10
Author:
Andreas Poth

Field Summary
private  int numberOfTransformations
           
private  java.util.ArrayList parameterizedTransformation
           
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceResponse_Impl
 
Constructor Summary
(package private) DescribeTransformationResponse_Impl(OGCWebServiceRequest request, org.w3c.dom.Document exception, CT_MathTransform[] parameterizedTransformation, int numberOfTransformations)
          constructor initializing the class
 
Method Summary
 void addParameterizedTransformation(CT_MathTransform parameterizedTransformation)
          adds the ParameterizedTransformation;
 java.lang.String exportAsXML()
          creates the DescribeTransformationResponse as XML
 int getNumberOfTransformations()
          gets the NumberOfTransformations
 CT_MathTransform[] getParameterizedTransformation()
          gets the ParameterizedTransformation
 void setNumberOfTransformations(int numberOfTransformations)
          sets the NumberOfTransformations
 void setParameterizedTransformation(CT_MathTransform[] parameterizedTransformation)
          sets the <VendorSpecificCapabilities>
 
Methods inherited from class org.deegree_impl.services.OGCWebServiceResponse_Impl
getException, getRequest, setException, setRequest, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.OGCWebServiceResponse
getException, getRequest, setException, setRequest
 

Field Detail

parameterizedTransformation

private java.util.ArrayList parameterizedTransformation

numberOfTransformations

private int numberOfTransformations
Constructor Detail

DescribeTransformationResponse_Impl

DescribeTransformationResponse_Impl(OGCWebServiceRequest request,
                                    org.w3c.dom.Document exception,
                                    CT_MathTransform[] parameterizedTransformation,
                                    int numberOfTransformations)
constructor initializing the class

Method Detail

getParameterizedTransformation

public CT_MathTransform[] getParameterizedTransformation()
gets the ParameterizedTransformation

Specified by:
getParameterizedTransformation in interface DescribeTransformationResponse

addParameterizedTransformation

public void addParameterizedTransformation(CT_MathTransform parameterizedTransformation)
adds the ParameterizedTransformation;


setParameterizedTransformation

public void setParameterizedTransformation(CT_MathTransform[] parameterizedTransformation)
sets the <VendorSpecificCapabilities>


getNumberOfTransformations

public int getNumberOfTransformations()
gets the NumberOfTransformations

Specified by:
getNumberOfTransformations in interface DescribeTransformationResponse

setNumberOfTransformations

public void setNumberOfTransformations(int numberOfTransformations)
sets the NumberOfTransformations


exportAsXML

public java.lang.String exportAsXML()
creates the DescribeTransformationResponse as XML