Class TLcdSLDStyledLayerDescriptor

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.wms.sld.model.TLcdSLDStyledLayerDescriptor
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDStyledLayerDescriptor extends TLcdDataObject
A Styled Layer Descriptor contains a set of layers, which can be named or user-defined and can have additional styling information.
Since:
6.1
  • Constructor Details Link icon

    • TLcdSLDStyledLayerDescriptor Link icon

      public TLcdSLDStyledLayerDescriptor()
      Creates a new TLcdSLDStyledLayerDescriptor instance. The version will be set to the default version used by LuciadLightspeed which is currently 1.1.0. If a specific, fixed version is needed, it should be set explicitly.
    • TLcdSLDStyledLayerDescriptor Link icon

      public TLcdSLDStyledLayerDescriptor(String aName, TLcdSLDDescription aDescription, String aVersion, ALcdSLDLayer[] aLayers)
      Creates a new TLcdSLDStyledLayerDescriptor instance with a given name, description, version and layer(s).
      Parameters:
      aName - The name of the Styled Layer Descriptor.
      aDescription - The description of the Styled Layer Descriptor.
      aVersion - The version of the Styled Layer Descriptor. This should be 1.1.0 or 1.0.0.
      aLayers - The layer(s) of the Styled Layer Descriptor.
    • TLcdSLDStyledLayerDescriptor Link icon

      public TLcdSLDStyledLayerDescriptor(TLcdDataType aDataType)
      Creates a new TLcdSLDStyledLayerDescriptor instance. The version will be set to the default version used by LuciadLightspeed which is currently 1.1.0. If a specific, fixed version is needed, it should be set explicitly.
  • Method Details Link icon

    • getLayerCount Link icon

      public int getLayerCount()
      Returns the number of layers within this Styled Layer Descriptor.
      Returns:
      the number of layers within this Styled Layer Descriptor.
    • getLayer Link icon

      public ALcdSLDLayer getLayer(int aIndex)
      Returns the layer at the given index.
      Parameters:
      aIndex - The index of the layer to be retrieved.
      Returns:
      the layer at the given index.
    • addLayer Link icon

      public void addLayer(ALcdSLDLayer aSLDLayer)
      Adds a layer to this Styled Layer Descriptor.
      Parameters:
      aSLDLayer - the layer to be added.
    • removeLayer Link icon

      public void removeLayer(ALcdSLDLayer aSLDLayer)
      Removes a layer from this Styled Layer Descriptor.
      Parameters:
      aSLDLayer - the layer to be removed.
    • getVersion Link icon

      public String getVersion()
      Returns the value of the property that maps to the version attribute.
      Returns:
      the value of the VERSION_PROPERTY property.
    • setVersion Link icon

      public void setVersion(String aValue)
      Sets the value of the property that maps to the version attribute.
      Parameters:
      aValue - the value to set for the VERSION_PROPERTY property.
    • getName Link icon

      public String getName()
      Returns the value of the property that maps to the Name element.
      Returns:
      the value of the NAME_PROPERTY property.
    • setName Link icon

      public void setName(String aValue)
      Sets the value of the property that maps to the Name element.
      Parameters:
      aValue - the value to set for the NAME_PROPERTY property.
    • getDescription Link icon

      public TLcdSLDDescription getDescription()
      Returns the value of the property that maps to the Description element.

      A "Description" gives human-readable descriptive information for the object it is included within.

      Returns:
      the value of the DESCRIPTION_PROPERTY property.
    • setDescription Link icon

      public void setDescription(TLcdSLDDescription aValue)
      Sets the value of the property that maps to the Description element.

      A "Description" gives human-readable descriptive information for the object it is included within.

      Parameters:
      aValue - the value to set for the DESCRIPTION_PROPERTY property.
    • getLayer Link icon

      public List<ALcdSLDLayer> getLayer()
      Returns the value of the property that maps to the choice between the NamedLayer and UserLayer elements.

      The possible values for this property are instances of java.util.List with elements of class

      Returns:
      the value of the LAYER_PROPERTY property.