Class DescribeFeatureTypeResponseFactory
- Object
-
- DescribeFeatureTypeResponseFactory
-
- All Implemented Interfaces:
WFSResponseFactory
public class DescribeFeatureTypeResponseFactory extends Object implements WFSResponseFactory
-
-
Constructor Summary
Constructors Constructor Description DescribeFeatureTypeResponseFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 for the given WFS request.List<String>
getSupportedOutputFormats()
boolean
isAvailable()
Indicates whether the factory instance is able to create parser instances.
-
-
-
Method Detail
-
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
public boolean canProcess(WFSRequest originatingRequest, String contentType)
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
public boolean canProcess(WFSOperationType operation)
- Specified by:
canProcess
in interfaceWFSResponseFactory
-
getSupportedOutputFormats
public List<String> getSupportedOutputFormats()
- Specified by:
getSupportedOutputFormats
in interfaceWFSResponseFactory
-
createResponse
public WFSResponse createResponse(WFSRequest request, HTTPResponse response) throws IOException
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
-
-