com.supermap.services.components.spi.ogc

Class WMSMapParameter

  • java.lang.Object
    • com.supermap.services.components.spi.ogc.WMSMapParameter
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    WMSQueryParameter


    public class WMSMapParameter
    extends java.lang.Object
    implements java.io.Serializable
    

    ${services_components_spi_ogc_WMSMapParameter_Title}

    ${services_components_spi_ogc_WMSMapParameter_Description}

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String bgcolor
      ${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Title}
      Rectangle2D bounds
      ${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Title}
      Point2D center
      ${services_components_spi_ogc_WMSMapParameter_attribute_center_Title}
      java.lang.String crs
      Coordinate reference system</>
      Rectangle2D entireBounds
      ${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Title}
      java.lang.String exceptions
      ${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Title}
      java.lang.String format
      ${services_components_spi_ogc_WMSMapParameter_attribute_format_Title}
      int height
      ${services_components_spi_ogc_WMSMapParameter_attribute_height_Title}
      java.lang.String[] layers
      Map layer name list.
      java.lang.String mapName
      ${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Title}
      java.lang.String sldBody
      SLD_BODY
      java.lang.String srs
      ${services_components_spi_ogc_WMSMapParameter_attribute_srs_Title}
      java.lang.String[] styles
      Request a list of style names for the layer.
      boolean transparent
      ${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Title}
      int width
      ${services_components_spi_ogc_WMSMapParameter_attribute_width_Title}
    • Constructor Summary

      Constructors 
      Constructor and Description
      WMSMapParameter()
      ${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Title}
      WMSMapParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)
      Constructs a WMSQueryParameter from a Map mapping.
      WMSMapParameter(WMSMapParameter wmsmapParameter)
      Constructor
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      protected java.lang.String[] splitString(java.lang.String strToSplit, java.lang.String splitReg)
      Divide the string into an array of strings.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mapName

        public java.lang.String mapName
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Description}

      • width

        public int width
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_width_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_width_Description}

      • height

        public int height
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_height_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_height_Description}

      • layers

        public java.lang.String[] layers
        

        Map layer name list.

      • center

        public Point2D center
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_center_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_center_Description}

      • entireBounds

        public Rectangle2D entireBounds
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Description}

      • bounds

        public Rectangle2D bounds
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Description}

      • styles

        public java.lang.String[] styles
        

        Request a list of style names for the layer.

        The value of the element in the list corresponds to the value of the & lt; Style & gt; element of the & lt; Layer & gt; element in the service metadata acquired by the GetCapabilities operation of the WMS. # styles attribute array is one-to-one with the # layers attribute array, which identifies the display style for each layer.

        If the style that requested does not exist, the server will return a service exception (code = StyleNotDefined).

      • srs

        public java.lang.String srs
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_srs_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_srs_Description}

      • transparent

        public boolean transparent
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Description}

      • bgcolor

        public java.lang.String bgcolor
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Description}

      • sldBody

        public java.lang.String sldBody
        
        SLD_BODY
      • exceptions

        public java.lang.String exceptions
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Description}

      • format

        public java.lang.String format
        

        ${services_components_spi_ogc_WMSMapParameter_attribute_format_Title}

        ${services_components_spi_ogc_WMSMapParameter_attribute_format_Description}

      • crs

        public java.lang.String crs
        

        Coordinate reference system</>

        Used in WMS1.3.0

    • Constructor Detail

      • WMSMapParameter

        public WMSMapParameter()
        

        ${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Title}

        ${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Description}

      • WMSMapParameter

        public WMSMapParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)
        
        Constructs a WMSQueryParameter from a Map mapping. The Map mapping stores WMS service constant information.
        Parameters:
        paramMap - Map mapping, storing WMS service constant information.
        See Also:
        Constants
      • WMSMapParameter

        public WMSMapParameter(WMSMapParameter wmsmapParameter)
        
        Constructor
        Parameters:
        mapParameter -
    • Method Detail

      • splitString

        protected final java.lang.String[] splitString(java.lang.String strToSplit,
                                     java.lang.String splitReg)
        
        Divide the string into an array of strings.
        Parameters:
        strToSplit - The original string will be split with splitReg.
        splitReg - The string used to separate strToSplit.
        Returns:
        The array of strings have been split.
      • hashCode

        public int hashCode()
        
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        
        Overrides:
        equals in class java.lang.Object