public class WMSProtocolHandler1_3_0 extends WMSProtocolHandler
Describes the handler to comunicate to a WMS 1.3.0
encoding, layers, rootLayer, serviceInfo
downloader, host, name, port, version
Constructor and Description |
---|
WMSProtocolHandler1_3_0() |
Modifier and Type | Method and Description |
---|---|
protected WMSGetCapabilitiesRequest |
createGetCapabilitiesRequest(WMSStatus status) |
protected WMSGetFeatureInfoRequest |
createGetFeatureInfoRequest(WMSStatus status,
int x,
int y) |
protected WMSGetLegendGraphicRequest |
createGetLegendGraphicRequest(WMSStatus status,
String layerName) |
protected WMSGetMapRequest |
createGetMapRequest(WMSStatus status) |
void |
getCapabilities(WMSStatus status,
boolean override,
ICancellable cancel)
Builds a GetCapabilities request that is sent to the WMS
the response will be parse to extract the data needed by the
WMS client
|
boolean |
parseCapabilities(File f)
parses the data retrieved by the Capabilities XML document
|
protected String |
parseException(byte[] data) |
protected void |
processLayer(WMSLayer layer)
WMSLayer parser gets no information about the user preferences regarding
axis order, so the bboxes should be should be post-processed here,
where we get the information from at the
protocol hanlder
|
_getMap, buildCapabilitiesSuitableVersionRequest, close, getExceptionMessage, getFeatureInfo, getLegendGraphic_old, getLegendGraphic, getMap, getMapURL, getName, getServiceInformation, parseGetFeatureInfoTag, parseGetLegendGraphicTag, parseGetMapTag, parseRequestTag
addOperationByAttribute, fileToBytes, getHost, getPort, getSymbol, getVersion, parseHTTPTag, parserDcpType, setHost, setName, setPort, setVersion
public void getCapabilities(WMSStatus status, boolean override, ICancellable cancel)
WMSProtocolHandler
Builds a GetCapabilities request that is sent to the WMS the response will be parse to extract the data needed by the WMS client
getCapabilities
in class WMSProtocolHandler
protected void processLayer(WMSLayer layer)
layer
- public boolean parseCapabilities(File f)
OGCProtocolHandler
parseCapabilities
in class OGCProtocolHandler
protected String parseException(byte[] data)
parseException
in class WMSProtocolHandler
protected WMSGetFeatureInfoRequest createGetFeatureInfoRequest(WMSStatus status, int x, int y)
createGetFeatureInfoRequest
in class WMSProtocolHandler
protected WMSGetMapRequest createGetMapRequest(WMSStatus status)
createGetMapRequest
in class WMSProtocolHandler
status
- The WMS statusprotected WMSGetLegendGraphicRequest createGetLegendGraphicRequest(WMSStatus status, String layerName)
createGetLegendGraphicRequest
in class WMSProtocolHandler
protected WMSGetCapabilitiesRequest createGetCapabilitiesRequest(WMSStatus status)
createGetCapabilitiesRequest
in class WMSProtocolHandler