org.deegree.protocol.wfs.client
Class GetFeatureResponse<T>

java.lang.Object
  extended by org.deegree.protocol.wfs.client.GetFeatureResponse<T>

public class GetFeatureResponse<T>
extends Object

Encapsulates the response to a WFS GetFeature request.

NOTE: The receiver must call close() eventually, otherwise system resources (connections) may not be freed.

Version:
$Revision: 32012 $, $Date: 2011-09-26 16:06:20 +0200 (Mon, 26 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 void close()
           
 OWSResponse getAsRawResponse()
          Provides access to the raw response.
 WFSFeatureCollection<T> getAsWFSFeatureCollection()
          Provides access to the feature objects and WFS provided information in the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAsRawResponse

public OWSResponse getAsRawResponse()
Provides access to the raw response.

Returns:
the raw response, never null

getAsWFSFeatureCollection

public WFSFeatureCollection<T> getAsWFSFeatureCollection()
                                                  throws XMLParsingException,
                                                         XMLStreamException,
                                                         UnknownCRSException,
                                                         OWSExceptionReport
Provides access to the feature objects and WFS provided information in the response.

Returns:
WFS feature collection, never null
Throws:
OWSExceptionReport
UnknownCRSException
XMLStreamException
XMLParsingException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.