com.supermap.services.components.spi.ogc
类 WMSQueryParameter
- java.lang.Object
 - 
- com.supermap.services.components.spi.ogc.WMSMapParameter
 - 
- com.supermap.services.components.spi.ogc.WMSQueryParameter
 
 
 
- 
- 所有已实现的接口:
 - java.io.Serializable
 
public class WMSQueryParameter extends WMSMapParameter
WMS 查询参数。
在 WMS 的规范中,当请求 GetFeatureInfo 操作时,需要设置查询参数。在调用 SuperMap iServer 提供的
WMS接口的WMS.getFeatureInfo(String,WMSQueryParameter)方法时,需要传入 WMS 查询参数。- 另请参阅:
 - 序列化表格
 
 
- 
- 
字段概要
字段 限定符和类型 字段和说明 java.util.Map<?,?>customParameters用户自定义参数信息。intfeatureCount要返回信息的要素的数量。java.lang.StringinfoFormat要素信息的返回格式。java.lang.String[]queryLayers待查询的图层列表。intx以像素表示的要素 X 坐标。inty以像素表示的要素 Y 坐标。- 
从类继承的字段 com.supermap.services.components.spi.ogc.WMSMapParameter
bgcolor, bounds, center, crs, entireBounds, exceptions, format, height, layerDefs, layers, mapName, rule, sldBody, sqlFilter, srs, styles, transparent, width 
 - 
 
- 
构造器概要
构造器 构造器和说明 WMSQueryParameter()构造函数。WMSQueryParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)根据一个 Map 映射构造一个 WMSQueryParameter。WMSQueryParameter(WMSQueryParameter wmsqueryParameter)构造函数 
- 
方法概要
方法 限定符和类型 方法和说明 booleanequals(java.lang.Object obj)inthashCode()- 
从类继承的方法 com.supermap.services.components.spi.ogc.WMSMapParameter
splitString 
 - 
 
 - 
 
- 
- 
字段详细资料
- 
queryLayers
public java.lang.String[] queryLayers
待查询的图层列表。
 
- 
infoFormat
public java.lang.String infoFormat
要素信息的返回格式。
默认格式是 application/vnd.ogc.wms_xml。
 
- 
featureCount
public int featureCount
要返回信息的要素的数量。
默认值为 1。
 
- 
x
public int x
以像素表示的要素 X 坐标。
最左侧为0,向右递增。
 
- 
y
public int y
以像素表示的要素 Y 坐标。
最上侧为0,向下递增。
 
- 
customParameters
public java.util.Map<?,?> customParameters
用户自定义参数信息。
 
 - 
 
- 
构造器详细资料
- 
WMSQueryParameter
public WMSQueryParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)
根据一个 Map 映射构造一个 WMSQueryParameter。该 Map 映射存储了 WMS 服务常量信息。- 参数:
 paramMap- Map 映射,存储了 WMS 服务常量信息。- 另请参阅:
 Constants
 
- 
WMSQueryParameter
public WMSQueryParameter(WMSQueryParameter wmsqueryParameter)
构造函数- 参数:
 wmsqueryParameter-
 
- 
WMSQueryParameter
public WMSQueryParameter()
构造函数。 
 - 
 
- 
方法详细资料
- 
hashCode
public int hashCode()
- 覆盖:
 hashCode在类中WMSMapParameter
 
- 
equals
public boolean equals(java.lang.Object obj)
- 覆盖:
 equals在类中WMSMapParameter
 
 - 
 
 -