Class DescribeFeatureTypeResponseFactory
Object
DescribeFeatureTypeResponseFactory
- All Implemented Interfaces:
WFSResponseFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.createResponse
(WFSRequest request, HTTPResponse response) Creates a response for the given WFS request.boolean
Indicates whether the factory instance is able to create parser instances.
-
Constructor Details
-
DescribeFeatureTypeResponseFactory
public DescribeFeatureTypeResponseFactory()
-
-
Method Details
-
isAvailable
public boolean isAvailable()Description copied from interface:WFSResponseFactory
Indicates whether the factory instance is able to create parser instances.- Specified by:
isAvailable
in interfaceWFSResponseFactory
- Returns:
true
if there's nothing preventing the creation of the parsers this factory should produce
-
canProcess
Description copied from interface:WFSResponseFactory
Indicates whether this factory is able to produce a parser that deals with the possible responses of the given WFS request.The decision may usually be made depending on the request type, ouput format, etc
- Specified by:
canProcess
in interfaceWFSResponseFactory
- Returns:
true
if this factory can create a parser for the responses of the given request
-
canProcess
- Specified by:
canProcess
in interfaceWFSResponseFactory
-
getSupportedOutputFormats
- Specified by:
getSupportedOutputFormats
in interfaceWFSResponseFactory
-
createResponse
Description copied from interface:WFSResponseFactory
Creates a response for the given WFS request.- Specified by:
createResponse
in interfaceWFSResponseFactory
response
- the handle to the response contents the WFS sent- Returns:
- a
WFSResponse
that can deal with the given request and response - Throws:
IOException
-