Package org.geotools.data.wfs.internal
Class ComplexGetFeatureResponse
- Object
-
- Response
-
- WFSResponse
-
- ComplexGetFeatureResponse
-
public class ComplexGetFeatureResponse extends WFSResponse
GetFeature response for feature's that isn't treated as SimpleFeatureType.Created when calling
WFSClient.issueComplexRequest(GetFeatureRequest)
.- Author:
- Roar Brænden
-
-
Field Summary
-
Fields inherited from class Response
httpResponse
-
-
Constructor Summary
Constructors Constructor Description ComplexGetFeatureResponse(WFSRequest originatingRequest, HTTPResponse httpResponse, XmlComplexFeatureParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureIterator<Feature>
features()
Should only be called once.XmlComplexFeatureParser
getParser()
The parser that will be used to extract features from the http response.-
Methods inherited from class WFSResponse
getCharacterEncoding, getContentType, getOriginatingRequest, getQueryType, getRemoteTypeName, setQueryType, setRemoteTypeName, toString
-
Methods inherited from class Response
dispose, getInputStream, parseException
-
-
-
-
Constructor Detail
-
ComplexGetFeatureResponse
public ComplexGetFeatureResponse(WFSRequest originatingRequest, HTTPResponse httpResponse, XmlComplexFeatureParser parser) throws ServiceException, IOException
- Throws:
ServiceException
IOException
-
-
Method Detail
-
getParser
public XmlComplexFeatureParser getParser()
The parser that will be used to extract features from the http response.Should only be called before calling
features()
-
features
public FeatureIterator<Feature> features()
Should only be called once. CallFeatureIterator.close()
after use.
-
-