public class WMSProtocolHandler1_3_0 extends WMSProtocolHandler
Describes the handler to comunicate to a WMS 1.3.0
encoding, layers, rootLayer, serviceInfodownloader, 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,
java.lang.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(java.io.File f)
parses the data retrieved by the Capabilities XML document
|
protected java.lang.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, parseRequestTagaddOperationByAttribute, fileToBytes, getHost, getPort, getSymbol, getVersion, parseHTTPTag, parserDcpType, setHost, setName, setPort, setVersionpublic void getCapabilities(WMSStatus status, boolean override, ICancellable cancel)
WMSProtocolHandlerBuilds 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 WMSProtocolHandlerprotected void processLayer(WMSLayer layer)
layer - public boolean parseCapabilities(java.io.File f)
OGCProtocolHandlerparseCapabilities in class OGCProtocolHandlerprotected java.lang.String parseException(byte[] data)
parseException in class WMSProtocolHandlerprotected WMSGetFeatureInfoRequest createGetFeatureInfoRequest(WMSStatus status, int x, int y)
createGetFeatureInfoRequest in class WMSProtocolHandlerprotected WMSGetMapRequest createGetMapRequest(WMSStatus status)
createGetMapRequest in class WMSProtocolHandlerstatus - The WMS statusprotected WMSGetLegendGraphicRequest createGetLegendGraphicRequest(WMSStatus status, java.lang.String layerName)
createGetLegendGraphicRequest in class WMSProtocolHandlerprotected WMSGetCapabilitiesRequest createGetCapabilitiesRequest(WMSStatus status)
createGetCapabilitiesRequest in class WMSProtocolHandler