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()
WFSResponseFactory
isAvailable
in interface WFSResponseFactory
true
if there's nothing preventing the creation of the parsers this factory
should producepublic boolean canProcess(WFSRequest originatingRequest, String contentType)
WFSResponseFactory
The decision may usually be made depending on the request type, ouput format, etc
canProcess
in interface WFSResponseFactory
true
if this factory can create a parser for the responses of the given
requestpublic boolean canProcess(WFSOperationType operation)
canProcess
in interface WFSResponseFactory
public List<String> getSupportedOutputFormats()
getSupportedOutputFormats
in interface WFSResponseFactory
public WFSResponse createResponse(WFSRequest request, HTTPResponse response) throws IOException
WFSResponseFactory
createResponse
in interface WFSResponseFactory
response
- the handle to the response contents the WFS sentWFSResponseParser
that can deal with the given WFS responseIOException
Copyright © 1996–2023 Geotools. All rights reserved.