Package com.luciad.wms.client.model
Class ALcdWMSNamedLayerStyle
java.lang.Object
com.luciad.wms.client.model.ALcdWMSNamedLayerStyle
A style object for a named layer.
It is uniquely identified by a name and has a human readable title and an abstract.
This class corresponds to the WMS Style concept from [WMS 1.1.1], pages 24-31.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLegendURL
(int aIndex) Returns theTLcdOGCWMSURL
representing a LegendURL at the given index.int
Returns the number ofTLcdOGCWMSURL
objects representing LegendURLs.abstract String
Returns an abstract of this named layer style.abstract String
Returns the name of this named layer style.Returns theTLcdOGCWMSURL
representing a StyleSheetURL.abstract String
Returns the title of this named layer style.Returns theTLcdOGCWMSURL
representing a StyleURL.
-
Constructor Details
-
ALcdWMSNamedLayerStyle
public ALcdWMSNamedLayerStyle()
-
-
Method Details
-
getStyleName
Returns the name of this named layer style. The name is a unique identifier for the named layer style.- Returns:
- the name of this named layer style.
-
getStyleTitle
Returns the title of this named layer style. It is a human readable string representation for use in a menu.- Returns:
- the title of this named layer style.
-
getStyleAbstract
Returns an abstract of this named layer style. It provides a narrative description of what this layer style represents. As this is optional null may be returned.- Returns:
- an abstract of this named layer style.
-
getLegendURLCount
public int getLegendURLCount()Returns the number ofTLcdOGCWMSURL
objects representing LegendURLs. By default, 0 is returned.- Returns:
- the number of
TLcdOGCWMSURL
objects representing LegendURLs.
-
getLegendURL
Returns theTLcdOGCWMSURL
representing a LegendURL at the given index. By default, no LegendURLs are available and anIndexOutOfBoundsException
will be thrown.- Parameters:
aIndex
- the index of theTLcdOGCWMSURL
representing a LegendURL.- Returns:
- the
TLcdOGCWMSURL
representing a LegendURL at the given index. - Throws:
IndexOutOfBoundsException
- if the index value is invalid.
-
getStyleSheetURL
Returns theTLcdOGCWMSURL
representing a StyleSheetURL. By default, no StyleSheetURL is available andnull
is returned.- Returns:
- the
TLcdOGCWMSURL
representing a StyleSheetURL.
-
getStyleURL
Returns theTLcdOGCWMSURL
representing a StyleURL. By default, no StyleURL is available andnull
is returned.- Returns:
- the
TLcdOGCWMSURL
representing a StyleURL.
-