Class WMS1_1_1

  • Direct Known Subclasses:
    WMS1_3_0

    public class WMS1_1_1
    extends WMS1_1_0
    Provides support for the Web Map Server 1.1.1 Specificaiton.

    WMS1_1_1 provides both name and version information that may be checked against a GetCapabilities document during version negotiation.

    Author:
    Jody Garnett, Refractions Research, rgould
    • Constructor Detail

      • WMS1_1_1

        public WMS1_1_1()
    • Method Detail

      • getVersion

        public String getVersion()
        Expected version attribute for root element.
        Overrides:
        getVersion in class WMS1_1_0
        Returns:
        the expect version value for this specification
      • createGetCapabilitiesRequest

        public GetCapabilitiesRequest createGetCapabilitiesRequest​(URL server)
        Factory method to create WMS 1.1.1 GetCapabilities Request
        Overrides:
        createGetCapabilitiesRequest in class WMS1_1_0
        Parameters:
        server - a URL that points to the 1.0.0 server
        Returns:
        a AbstractGetCapabilitiesRequest object that can provide a valid request
        See Also:
        org.geotools.data.wms.Specification#createGetCapabilitiesRequest(java.net.URL)
      • createGetFeatureInfoRequest

        public GetFeatureInfoRequest createGetFeatureInfoRequest​(URL onlineResource,
                                                                 GetMapRequest getMapRequest)
        Description copied from class: WMSSpecification
        Creates a GetFeatureInfoRequest for this specification, populating it with valid values.
        Overrides:
        createGetFeatureInfoRequest in class WMS1_1_0
        Parameters:
        onlineResource - the URL to be executed against
        getMapRequest - a previously configured GetMapRequest
        Returns:
        a GetFeatureInfoRequest that can be configured and used
        See Also:
        WMS1_0_0#createGetFeatureInfoRequest(java.net.URL, org.geotools.ows.wms.request.GetMapRequest, java.util.Set, java.lang.String[])
      • createGetStylesRequest

        public GetStylesRequest createGetStylesRequest​(URL onlineResource)
                                                throws UnsupportedOperationException
        Description copied from class: WMSSpecification
        Creates a GetStylesRequest which can be used to retrieve styles from the WMS.
        Overrides:
        createGetStylesRequest in class WMS1_0_0
        Parameters:
        onlineResource - The location where the request can be made
        Returns:
        a configurable request object to be passed to a WMS
        Throws:
        UnsupportedOperationException - if the version of the specification doesn't support this request
        See Also:
        WMSSpecification.createGetStylesRequest(java.net.URL)
      • createPutStylesRequest

        public PutStylesRequest createPutStylesRequest​(URL onlineResource)
                                                throws UnsupportedOperationException
        Description copied from class: WMS1_0_0
        Note that WMS 1.0.0 does not support this method
        Overrides:
        createPutStylesRequest in class WMS1_0_0
        Parameters:
        onlineResource - the location where the request can be made
        Returns:
        a configureable request object to be passed to the WMS
        Throws:
        UnsupportedOperationException - if the version of the specification doesn't support this request
        See Also:
        WMS1_0_0.createPutStylesRequest(java.net.URL)