com.esri.map
Class WmsLayerInfo

java.lang.Object
  extended by com.esri.map.LayerInfo
      extended by com.esri.map.WmsLayerInfo
All Implemented Interfaces:
Serializable

public class WmsLayerInfo
extends LayerInfo

This class represents a layer in a WMS map service.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.map.LayerInfo
_id, _name
 
Method Summary
 boolean equals(Object obj)
           
 Envelope getExtent()
          Returns the extent of the layer.
 String getLegendURL()
          Returns legend URL in string.
 String getName()
          Gets the name of the layer.
 SpatialReference getSpatialReference()
          Returns default spatial reference of the layer.
 List<WmsLayerInfo> getSubLayers()
          Returns the immediate sub-layers.
 String getTitle()
          Gets the title of the layer.
 int hashCode()
           
 
Methods inherited from class com.esri.map.LayerInfo
addLayer, addPropertyChangeListener, firePropertyChanged, getChildLayer, getChildLayerIndex, getDisplayName, getId, getParent, getSubLayerInfos, isVisible, removePropertyChangeListener, resumeEvents, setParent, setVisible, suspendEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSubLayers

public List<WmsLayerInfo> getSubLayers()
Returns the immediate sub-layers.

Returns:
Returns the layers.

getExtent

public Envelope getExtent()
Returns the extent of the layer.

Returns:
the extent of the layer.

getSpatialReference

public SpatialReference getSpatialReference()
Returns default spatial reference of the layer.

Returns:
default spatial reference.

getName

public String getName()
Gets the name of the layer. If, and only if, a layer has a Name, then it is a map layer that can be requested by using that Name in the LAYERS parameter of a GetMap request. A Layer that contains a Name element is referred to as a "named layer" in this International Standard. If the layer has a Title but no Name, then that layer is only a category title for all the layers nested within.

Overrides:
getName in class LayerInfo
Returns:
the name of the layer.

getTitle

public String getTitle()
Gets the title of the layer. A Title is mandatory for all layers; it is a human-readable string for presentation in a menu. The Title is not inherited by child Layers.

Returns:
the title of the layer.

getLegendURL

public String getLegendURL()
Returns legend URL in string. Null if legend URL does not exist.

Returns:
legend URL.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.