org.deegree_impl.services.wcts.protocol
Class TransformResponse_Impl

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

public class TransformResponse_Impl
extends OGCWebServiceResponse_Impl
implements TransformResponse

The TransformResponse-schema describes the format of the answer of the transform-request that is fired by the coordinate-transformation-web-service. the root-element (TransformResponse) inludes in the case of a error-free request-handling the transformed data. If am error occures during the processing, an Exception is included in the the TransformResponse-element. The format of the returned transformed data is defined in the request. In addition to the GML-coded geometries a coding as "Well Known Text" (WKT) is possible. A WKT-geometry is transported as String.

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

Version:
2002-07-19
Author:
Andreas Poth

Field Summary
private  java.util.ArrayList data
           
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceResponse_Impl
 
Constructor Summary
(package private) TransformResponse_Impl(OGCWebServiceRequest request, org.w3c.dom.Document exception, GMLGeometry[] data)
          Creates a new TransformResponse_Impl object.
 
Method Summary
 void addGeometry(GMLGeometry data)
           
 org.w3c.dom.Document exportAsXML()
          creates the TransformResponse
 GMLGeometry[] getGeometries()
          gets the Data.
 void setGeometries(GMLGeometry[] data)
           
 
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

data

private java.util.ArrayList data
Constructor Detail

TransformResponse_Impl

TransformResponse_Impl(OGCWebServiceRequest request,
                       org.w3c.dom.Document exception,
                       GMLGeometry[] data)
Creates a new TransformResponse_Impl object.

Parameters:
request -
exception -
data -
Method Detail

getGeometries

public GMLGeometry[] getGeometries()
gets the Data. The Format of the data is defined in the request.

Specified by:
getGeometries in interface TransformResponse

addGeometry

public void addGeometry(GMLGeometry data)
See Also:
getGeometries()

setGeometries

public void setGeometries(GMLGeometry[] data)
See Also:
getGeometries()

exportAsXML

public org.w3c.dom.Document exportAsXML()
                                 throws java.lang.Exception
creates the TransformResponse

Throws:
java.lang.Exception