org.deegree_impl.services
Class OGCWebServiceResponse_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceResponse_Impl
All Implemented Interfaces:
OGCWebServiceResponse
Direct Known Subclasses:
CASDescribeRecordTypeResponse_Impl, CASGetCapabilitiesResponse_Impl, CASGetRecordResponse_Impl, CASTransactionResponse_Impl, DescribeTransformationResponse_Impl, GetCapabilitiesResponse_Impl, IsTransformableResponse_Impl, TransformResponse_Impl, WCSGetCoverageResponse_Impl, WFSBasicResponse_Impl, WFSGGetCapabilitiesResponse_Impl, WMSDescribeLayerResponse_Impl, WMSGetCapabilitiesResponse_Impl, WMSGetFeatureInfoResponse_Impl, WMSGetLegendGraphicResponse_Impl, WMSGetMapResponse_Impl, WMSGetScaleBarResponse_Impl, WTSGetCapabilitiesResponse_Impl, WTSGetViewResponse_Impl

public class OGCWebServiceResponse_Impl
extends java.lang.Object
implements OGCWebServiceResponse

This is the base interface for all responses to OGC Web Services (OWS) requests. Each class that capsulates a response within an OWS has to implement this interface.

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

Version:
2002-03-01
Author:
Katharina Lupp

Field Summary
private  org.w3c.dom.Document exception
           
private  OGCWebServiceRequest request
           
 
Constructor Summary
OGCWebServiceResponse_Impl(OGCWebServiceRequest request, org.w3c.dom.Document exception)
          constructor initializing the class with the
 
Method Summary
 org.w3c.dom.Document getException()
          returns an XML encoding of the exception that raised.
 OGCWebServiceRequest getRequest()
          returns the request that causes the response.
 void setException(org.w3c.dom.Document exception)
          sets an XML encoding of the exception that raised.
 void setRequest(OGCWebServiceRequest request)
          sets the request that causes the response.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

request

private OGCWebServiceRequest request

exception

private org.w3c.dom.Document exception
Constructor Detail

OGCWebServiceResponse_Impl

public OGCWebServiceResponse_Impl(OGCWebServiceRequest request,
                                  org.w3c.dom.Document exception)
constructor initializing the class with the

Method Detail

getRequest

public OGCWebServiceRequest getRequest()
returns the request that causes the response.

Specified by:
getRequest in interface OGCWebServiceResponse

setRequest

public void setRequest(OGCWebServiceRequest request)
sets the request that causes the response.

Specified by:
setRequest in interface OGCWebServiceResponse

getException

public org.w3c.dom.Document getException()
returns an XML encoding of the exception that raised. If no exception raised null will be returned.

Specified by:
getException in interface OGCWebServiceResponse

setException

public void setException(org.w3c.dom.Document exception)
sets an XML encoding of the exception that raised. If no exception raised null will be returned.

Specified by:
setException in interface OGCWebServiceResponse

toString

public java.lang.String toString()