public abstract class ALcdWMSLayerStyle extends Object
This class is a direct representation of the layer style concept introduced in the OGC WMS specification.
A layer style is identified by a name
and represents an available style for a layer.
To describe the style, a number of optional metadata properties are available such as title
,
and abstract
. A client can find this information in the XML capabilities and use the
style name to request the layer in the corresponding style.
To render the layer with the requested style is the responsibility of the layer factories available in the WMS,
represented by the interface ILcdWMSGXYLayerFactory
.
Constructor and Description |
---|
ALcdWMSLayerStyle() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAbstract()
Returns an abstract for this layer style.
|
TLcdWMSURL |
getLegendURL(int aIndex)
Returns the
TLcdWMSURL representing a LegendURL at the given index. |
int |
getLegendURLCount()
Returns the number of
TLcdWMSURL objects representing LegendURLs. |
abstract String |
getName()
Returns the name of the layer style (required to be not null).
|
TLcdWMSURL |
getStyleSheetURL()
Returns the
TLcdWMSURL representing a StyleSheetURL. |
TLcdWMSURL |
getStyleURL()
Returns the
TLcdWMSURL representing a StyleURL. |
abstract String |
getTitle()
Returns the title of the layer style.
|
public abstract String getName()
public abstract String getTitle()
public abstract String getAbstract()
public int getLegendURLCount()
TLcdWMSURL
objects representing LegendURLs.
By default, 0 is returned.TLcdWMSURL
objects representing LegendURLs.public TLcdWMSURL getLegendURL(int aIndex) throws IndexOutOfBoundsException
TLcdWMSURL
representing a LegendURL at the given index.
By default, no LegendURLs are available and an
IndexOutOfBoundsException
will be thrown.aIndex
- the index of the TLcdWMSURL
representing a LegendURL.TLcdWMSURL
representing a LegendURL at the given index.IndexOutOfBoundsException
- if the index value is invalid.public TLcdWMSURL getStyleSheetURL()
TLcdWMSURL
representing a StyleSheetURL.
By default, no StyleSheetURL is available and null
is returned.TLcdWMSURL
representing a StyleSheetURL.public TLcdWMSURL getStyleURL()
TLcdWMSURL
representing a StyleURL.
By default, no StyleURL is available and null
is returned.TLcdWMSURL
representing a StyleURL.