Class TLcdWMSLayerStyle

java.lang.Object
com.luciad.wms.server.model.ALcdWMSLayerStyle
com.luciad.wms.server.model.TLcdWMSLayerStyle

public class TLcdWMSLayerStyle extends ALcdWMSLayerStyle
Default implementation of ALcdWMSLayerStyle.
  • Constructor Details

    • TLcdWMSLayerStyle

      public TLcdWMSLayerStyle()
  • Method Details

    • getName

      public String getName()
      Description copied from class: ALcdWMSLayerStyle
      Returns the name of the layer style (required to be not null).
      Specified by:
      getName in class ALcdWMSLayerStyle
      Returns:
      the name of the layer style (required to be not null).
    • getTitle

      public String getTitle()
      Description copied from class: ALcdWMSLayerStyle
      Returns the title of the layer style.
      Specified by:
      getTitle in class ALcdWMSLayerStyle
      Returns:
      the title of the layer style.
    • getAbstract

      public String getAbstract()
      Description copied from class: ALcdWMSLayerStyle
      Returns an abstract for this layer style.
      Specified by:
      getAbstract in class ALcdWMSLayerStyle
      Returns:
      an abstract for this layer style. Value may be null if no abstract is available.
    • setName

      public void setName(String aName)
      Sets the name of the layer style.
      Parameters:
      aName - the name of the layer style.
      See Also:
    • setTitle

      public void setTitle(String aTitle)
      Sets the title of the layer style.
      Parameters:
      aTitle - the title of the layer style.
      See Also:
    • setAbstract

      public void setAbstract(String aAbstract)
      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 of TLcdWMSURL objects representing LegendURLs.

      By default, 0 is returned.

      Overrides:
      getLegendURLCount in class ALcdWMSLayerStyle
      Returns:
      the number of TLcdWMSURL objects representing LegendURLs.
    • getLegendURL

      public TLcdWMSURL getLegendURL(int aIndex) throws IndexOutOfBoundsException
      Description copied from class: ALcdWMSLayerStyle
      Returns the TLcdWMSURL representing a LegendURL at the given index.

      By default, no LegendURLs are available and an IndexOutOfBoundsException will be thrown.

      Overrides:
      getLegendURL in class ALcdWMSLayerStyle
      Parameters:
      aIndex - the index of the TLcdWMSURL representing a LegendURL.
      Returns:
      the TLcdWMSURL representing a LegendURL at the given index.
      Throws:
      IndexOutOfBoundsException - if the index value is invalid.
    • addLegendURL

      public void addLegendURL(TLcdWMSURL aLegendURL)
      Adds a new TLcdWMSURL representing a LegendURL to this layer style.
      Parameters:
      aLegendURL - the TLcdWMSURL representing a LegendURL to add.
    • getStyleSheetURL

      public TLcdWMSURL getStyleSheetURL()
      Description copied from class: ALcdWMSLayerStyle
      Returns the TLcdWMSURL representing a StyleSheetURL.

      By default, no StyleSheetURL is available and null is returned.

      Overrides:
      getStyleSheetURL in class ALcdWMSLayerStyle
      Returns:
      the TLcdWMSURL representing a StyleSheetURL.
    • setStyleSheetURL

      public void setStyleSheetURL(TLcdWMSURL aStyleSheetURL)
      Sets the TLcdWMSURL representing a StyleSheetURL for this layer style.
      Parameters:
      aStyleSheetURL - the TLcdWMSURL representing a StyleSheetURL for this layer style.
    • getStyleURL

      public TLcdWMSURL getStyleURL()
      Description copied from class: ALcdWMSLayerStyle
      Returns the TLcdWMSURL representing a StyleURL.

      By default, no StyleURL is available and null is returned.

      Overrides:
      getStyleURL in class ALcdWMSLayerStyle
      Returns:
      the TLcdWMSURL representing a StyleURL.
    • setStyleURL

      public void setStyleURL(TLcdWMSURL aStyleURL)
      Sets the TLcdWMSURL representing a StyleURL for this layer style.
      Parameters:
      aStyleURL - the TLcdWMSURL representing a StyleURL for this layer style.
    • toString

      public String toString()
      Overrides:
      toString in class Object