org.gvsig.remoteclient.wms.wms_1_3_0
Class WMSProtocolHandler1_3_0

java.lang.Object
  extended by org.gvsig.remoteclient.ogc.OGCProtocolHandler
      extended by org.gvsig.remoteclient.wms.WMSProtocolHandler
          extended by org.gvsig.remoteclient.wms.wms_1_3_0.WMSProtocolHandler1_3_0

public class WMSProtocolHandler1_3_0
extends WMSProtocolHandler

Describes the handler to comunicate to a WMS 1.3.0


Field Summary
 
Fields inherited from class org.gvsig.remoteclient.wms.WMSProtocolHandler
encoding, layers, rootLayer, serviceInfo
 
Fields inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler
downloader, host, name, port, version
 
Constructor Summary
WMSProtocolHandler1_3_0()
           
 
Method Summary
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)
           
 boolean parseCapabilities(java.io.File f)
          parses the data retrieved by the Capabilities XML document
protected  java.lang.String parseException(byte[] data)
           
 
Methods inherited from class org.gvsig.remoteclient.wms.WMSProtocolHandler
_getMap, buildCapabilitiesSuitableVersionRequest, close, getCapabilities, getExceptionMessage, getFeatureInfo, getLegendGraphic_old, getLegendGraphic, getMap, getMapURL, getName, getServiceInformation, parseGetFeatureInfoTag, parseGetLegendGraphicTag, parseGetMapTag, parseRequestTag
 
Methods inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler
addOperationByAttribute, fileToBytes, getHost, getPort, getSymbol, getVersion, parseHTTPTag, parserDcpType, setHost, setName, setPort, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSProtocolHandler1_3_0

public WMSProtocolHandler1_3_0()
Method Detail

parseCapabilities

public boolean parseCapabilities(java.io.File f)
Description copied from class: OGCProtocolHandler
parses the data retrieved by the Capabilities XML document

Specified by:
parseCapabilities in class OGCProtocolHandler

parseException

protected java.lang.String parseException(byte[] data)
Overrides:
parseException in class WMSProtocolHandler

createGetFeatureInfoRequest

protected WMSGetFeatureInfoRequest createGetFeatureInfoRequest(WMSStatus status,
                                                               int x,
                                                               int y)
Specified by:
createGetFeatureInfoRequest in class WMSProtocolHandler

createGetMapRequest

protected WMSGetMapRequest createGetMapRequest(WMSStatus status)
Specified by:
createGetMapRequest in class WMSProtocolHandler
Parameters:
status - The WMS status
Returns:
an object to send the GetMap requests

createGetLegendGraphicRequest

protected WMSGetLegendGraphicRequest createGetLegendGraphicRequest(WMSStatus status,
                                                                   java.lang.String layerName)
Specified by:
createGetLegendGraphicRequest in class WMSProtocolHandler

createGetCapabilitiesRequest

protected WMSGetCapabilitiesRequest createGetCapabilitiesRequest(WMSStatus status)
Specified by:
createGetCapabilitiesRequest in class WMSProtocolHandler


Copyright © 2004-2013 gvSIG. All Rights Reserved.