com.esri.wms.client
Interface FeatureInfo2

All Superinterfaces:
FeatureInfo, Serializable

public interface FeatureInfo2
extends FeatureInfo

Defines the response of the GetFeatureInfo operation. WMS doesn't specify the format of GetFeatureInfo response. The FeatureInfo2 extends the general FeatureInfo interface to support the ArcGIS WMS servers GetFeatureInfo response.

See Also:
FeatureInfo

Method Summary
 Map<String,Feature[]> getFeatures()
          Gets the layer/features information on supported servers.
 Feature[] getFeatures(String layerName)
          Gets the features information for the given layer on supported servers.
 
Methods inherited from interface com.esri.wms.client.FeatureInfo
getFeatureInfo, getInfoString
 

Method Detail

getFeatures

Map<String,Feature[]> getFeatures()
Gets the layer/features information on supported servers. ArcGIS WMS server supports this format since 10.0.

Returns:
the layer and the features pairs.

getFeatures

Feature[] getFeatures(String layerName)
Gets the features information for the given layer on supported servers. ArcGIS WMS server supports this format since 10.0.

Parameters:
layerName - the layer name to retrieve features.
Returns:
the features on the given layer.