Package com.luciad.wms.server.model
Class TLcdWMSLayerStyle
java.lang.Object
com.luciad.wms.server.model.ALcdWMSLayerStyle
com.luciad.wms.server.model.TLcdWMSLayerStyle
Default implementation of
ALcdWMSLayerStyle
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLegendURL
(TLcdWMSURL aLegendURL) Adds a newTLcdWMSURL
representing a LegendURL to this layer style.Returns an abstract for this layer style.getLegendURL
(int aIndex) Returns theTLcdWMSURL
representing a LegendURL at the given index.int
Returns the number ofTLcdWMSURL
objects representing LegendURLs.getName()
Returns the name of the layer style (required to be not null).Returns theTLcdWMSURL
representing a StyleSheetURL.Returns theTLcdWMSURL
representing a StyleURL.getTitle()
Returns the title of the layer style.void
setAbstract
(String aAbstract) Sets the abstract of the layer style.void
Sets the name of the layer style.void
setStyleSheetURL
(TLcdWMSURL aStyleSheetURL) Sets theTLcdWMSURL
representing a StyleSheetURL for this layer style.void
setStyleURL
(TLcdWMSURL aStyleURL) Sets theTLcdWMSURL
representing a StyleURL for this layer style.void
Sets the title of the layer style.toString()
-
Constructor Details
-
TLcdWMSLayerStyle
public TLcdWMSLayerStyle()
-
-
Method Details
-
getName
Description copied from class:ALcdWMSLayerStyle
Returns the name of the layer style (required to be not null).- Specified by:
getName
in classALcdWMSLayerStyle
- Returns:
- the name of the layer style (required to be not null).
-
getTitle
Description copied from class:ALcdWMSLayerStyle
Returns the title of the layer style.- Specified by:
getTitle
in classALcdWMSLayerStyle
- Returns:
- the title of the layer style.
-
getAbstract
Description copied from class:ALcdWMSLayerStyle
Returns an abstract for this layer style.- Specified by:
getAbstract
in classALcdWMSLayerStyle
- Returns:
- an abstract for this layer style. Value may be null if no abstract is available.
-
setName
Sets the name of the layer style.- Parameters:
aName
- the name of the layer style.- See Also:
-
setTitle
Sets the title of the layer style.- Parameters:
aTitle
- the title of the layer style.- See Also:
-
setAbstract
Sets the abstract of the layer style.- Parameters:
aAbstract
- the title of the layer style.- See Also:
-
getLegendURLCount
public int getLegendURLCount()Description copied from class:ALcdWMSLayerStyle
Returns the number ofTLcdWMSURL
objects representing LegendURLs. By default, 0 is returned.- Overrides:
getLegendURLCount
in classALcdWMSLayerStyle
- Returns:
- the number of
TLcdWMSURL
objects representing LegendURLs.
-
getLegendURL
Description copied from class:ALcdWMSLayerStyle
Returns theTLcdWMSURL
representing a LegendURL at the given index. By default, no LegendURLs are available and anIndexOutOfBoundsException
will be thrown.- Overrides:
getLegendURL
in classALcdWMSLayerStyle
- Parameters:
aIndex
- the index of theTLcdWMSURL
representing a LegendURL.- Returns:
- the
TLcdWMSURL
representing a LegendURL at the given index. - Throws:
IndexOutOfBoundsException
- if the index value is invalid.
-
addLegendURL
Adds a newTLcdWMSURL
representing a LegendURL to this layer style.- Parameters:
aLegendURL
- theTLcdWMSURL
representing a LegendURL to add.
-
getStyleSheetURL
Description copied from class:ALcdWMSLayerStyle
Returns theTLcdWMSURL
representing a StyleSheetURL. By default, no StyleSheetURL is available andnull
is returned.- Overrides:
getStyleSheetURL
in classALcdWMSLayerStyle
- Returns:
- the
TLcdWMSURL
representing a StyleSheetURL.
-
setStyleSheetURL
Sets theTLcdWMSURL
representing a StyleSheetURL for this layer style.- Parameters:
aStyleSheetURL
- theTLcdWMSURL
representing a StyleSheetURL for this layer style.
-
getStyleURL
Description copied from class:ALcdWMSLayerStyle
Returns theTLcdWMSURL
representing a StyleURL. By default, no StyleURL is available andnull
is returned.- Overrides:
getStyleURL
in classALcdWMSLayerStyle
- Returns:
- the
TLcdWMSURL
representing a StyleURL.
-
setStyleURL
Sets theTLcdWMSURL
representing a StyleURL for this layer style.- Parameters:
aStyleURL
- theTLcdWMSURL
representing a StyleURL for this layer style.
-
toString
-