public class DescribeFeatureTypeResponseFactory extends Object implements WFSResponseFactory
| Constructor and Description |
|---|
DescribeFeatureTypeResponseFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(WFSOperationType operation) |
boolean |
canProcess(WFSRequest originatingRequest,
String contentType)
Indicates whether this factory is able to produce a parser that deals with the possible
responses of the given WFS request.
|
WFSResponse |
createResponse(WFSRequest request,
HTTPResponse response)
Creates a response parser for the given WFS response.
|
List<String> |
getSupportedOutputFormats() |
boolean |
isAvailable()
Indicates whether the factory instance is able to create parser instances.
|
public boolean isAvailable()
WFSResponseFactoryisAvailable in interface WFSResponseFactorytrue if there's nothing preventing the creation of the parsers this factory
should producepublic boolean canProcess(WFSRequest originatingRequest, String contentType)
WFSResponseFactoryThe decision may usually be made depending on the request type, ouput format, etc
canProcess in interface WFSResponseFactorytrue if this factory can create a parser for the responses of the given
requestpublic boolean canProcess(WFSOperationType operation)
canProcess in interface WFSResponseFactorypublic List<String> getSupportedOutputFormats()
getSupportedOutputFormats in interface WFSResponseFactorypublic WFSResponse createResponse(WFSRequest request, HTTPResponse response) throws IOException
WFSResponseFactorycreateResponse in interface WFSResponseFactoryresponse - the handle to the response contents the WFS sentWFSResponseParser that can deal with the given WFS responseIOExceptionCopyright © 1996–2021 Geotools. All rights reserved.