com.esri.wms.client
Class NamedStyle

java.lang.Object
  extended by com.esri.wms.client.NamedStyle
All Implemented Interfaces:
Serializable

public class NamedStyle
extends Object
implements Serializable

Defines the STYLE of layers.

See Also:
Serialized Form

Field Summary
protected  String abstractInfo
          Provides a narrative description.
protected  ArrayList<ImageURL> legendURLs
          LegendURL contains the location of an image of a map legend appropriate to the enclosing style.
protected  ResourceURL m_styleURL
          style URL of the style.
protected  String name
          The style's Name is used in the Map request STYLES parameter.
protected  ResourceURL styleSheetURL
          style sheet URL of the style.
protected  String title
          The style's Name is used in the Map request STYLES parameter.
 
Constructor Summary
NamedStyle(String name)
          Instantiates an object of NamedStyle with the given name.
 
Method Summary
 boolean equals(Object obj)
          Compares the specified object with this instance for equality.
 String getAbstract()
          Gets the abstract information of the style.
 List<ImageURL> getLegendURLs()
          Gets the legend URLs of the style.
 String getName()
          Gets the name of the style.
 ResourceURL getStyleSheetURL()
          Gets the styleSheetURL of the NameStyle.
 ResourceURL getStyleURL()
          Gets the style URL of the NameStyle.
 String getTitle()
          Gets the title of the NameStyle.
 int hashCode()
          Returns the hash code of the request object.
 void setName(String name)
          Sets the name of the style.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name
The style's Name is used in the Map request STYLES parameter. The Title is a human-readable string.


title

protected String title
The style's Name is used in the Map request STYLES parameter. The Title is a human-readable string.


abstractInfo

protected String abstractInfo
Provides a narrative description.


legendURLs

protected ArrayList<ImageURL> legendURLs
LegendURL contains the location of an image of a map legend appropriate to the enclosing style.


styleSheetURL

protected ResourceURL styleSheetURL
style sheet URL of the style.


m_styleURL

protected ResourceURL m_styleURL
style URL of the style.

Constructor Detail

NamedStyle

public NamedStyle(String name)
Instantiates an object of NamedStyle with the given name.

Method Detail

getAbstract

public String getAbstract()
Gets the abstract information of the style.

Returns:
Returns the abstractInfo.

getLegendURLs

public List<ImageURL> getLegendURLs()
Gets the legend URLs of the style. A legend URL contains the location of an image of a map legend appropriate to the enclosing style.

Returns:
Returns the legendURLs.

getStyleURL

public ResourceURL getStyleURL()
Gets the style URL of the NameStyle.

Returns:
Returns the styleURL.

getName

public String getName()
Gets the name of the style.

Returns:
Returns the name.

setName

public void setName(String name)
Sets the name of the style.

Parameters:
name - The name to set.

getStyleSheetURL

public ResourceURL getStyleSheetURL()
Gets the styleSheetURL of the NameStyle.

Returns:
Returns the styleSheetURL.

getTitle

public String getTitle()
Gets the title of the NameStyle.

Returns:
Returns the title.

hashCode

public int hashCode()
Returns the hash code of the request object.

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Compares the specified object with this instance for equality. Returns true if all fields of the two Objects are equal.

Overrides:
equals in class Object
Parameters:
obj - object to be compared for equality with this instance.
Returns:
Returns true if the specified object is equal to this instance.