public abstract class ALcdSLDLayer extends TLcdDataObject
TLcdSLDUserLayer
or TLcdSLDNamedLayer
.Constructor and Description |
---|
ALcdSLDLayer(String aName,
ALcdSLDLayerStyle[] aSLDLayerStyles,
TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints,
TLcdDataType aType)
Constructs a new SLD Layer for the given parameter.
|
ALcdSLDLayer(TLcdDataType aType)
Constructs a new SLD Layer with the given data type.
|
Modifier and Type | Method and Description |
---|---|
void |
addLayerStyle(ALcdSLDLayerStyle aLayerStyle)
Adds a style to this SLD layer.
|
TLcdSLDLayerFeatureConstraints |
getLayerFeatureConstraint()
Returns the feature constraint of this SLD layer.
|
ALcdSLDLayerStyle |
getLayerStyle(int aIndex)
Returns the style of this SLD layer at a given index.
|
int |
getLayerStyleCount()
Returns the number of styles associated with this SLD layer.
|
String |
getName()
Returns the name of this SLD layer.
|
void |
removeLayerStyle(ALcdSLDLayerStyle aLayerStyle)
Removes a style from this SLD layer.
|
void |
setLayerFeatureConstraint(TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints)
Sets the feature constraint of this SLD layer.
|
void |
setName(String aLayerName)
Sets the name of this SLD layer.
|
public ALcdSLDLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints, TLcdDataType aType)
aName
- The name of the layer.aSLDLayerStyles
- The styles of the layer.aLayerFeatureConstraints
- The layer feature constraint.aType
- The type of the layerpublic ALcdSLDLayer(TLcdDataType aType)
aType
- the type of the layerpublic String getName()
public void setName(String aLayerName)
aLayerName
- the name of this SLD layerpublic int getLayerStyleCount()
public ALcdSLDLayerStyle getLayerStyle(int aIndex) throws IndexOutOfBoundsException
aIndex
- the index of the style to return.IndexOutOfBoundsException
public void addLayerStyle(ALcdSLDLayerStyle aLayerStyle)
aLayerStyle
- the style to be added.public void removeLayerStyle(ALcdSLDLayerStyle aLayerStyle)
aLayerStyle
- the style to be removed.public TLcdSLDLayerFeatureConstraints getLayerFeatureConstraint()
public void setLayerFeatureConstraint(TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints)
aLayerFeatureConstraints
- the feature constraint of this SLD layer