uk.org.ogsadai.client.toolkit
Interface Response


public interface Response

The response returned by a data service after it has processed a request.

The response is an XML document that contains the status and possibly the output of each activity in the request. If the request was an ActivityRequest object then the status and output of each activity can be obtained from the individual Activity objects.

Author:
The OGSA-DAI Project Team

Method Summary
 java.lang.String getAsString()
          Gets the response XML document as a String.
 org.w3c.dom.Document getDocument()
          Gets the response XML document as a DOM document.
 

Method Detail

getDocument

public org.w3c.dom.Document getDocument()
Gets the response XML document as a DOM document.

Returns:
The response document

getAsString

public java.lang.String getAsString()
Gets the response XML document as a String.

Returns:
The response document