public class TLcdSLDUserLayer extends ALcdSLDLayer
Constructor and Description |
---|
TLcdSLDUserLayer()
Creates a new
TLcdSLDUserLayer instance. |
TLcdSLDUserLayer(String aName,
ALcdSLDLayerStyle[] aSLDLayerStyles,
TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints,
TLcdSLDRemoteOWS aRemoteOWS)
Creates a new
TLcdSLDUserLayer instance with the given name, layer styles and
constraints. |
TLcdSLDUserLayer(TLcdDataType aDataType)
Creates a new
TLcdSLDUserLayer instance. |
Modifier and Type | Method and Description |
---|---|
void |
addLayerStyle(ALcdSLDLayerStyle aLayerStyle)
Adds a style to this user-defined layer.
|
TLcdSLDInlineFeature |
getInlineFeature()
Returns the inline feature associated with this user-defined layer.
|
TLcdSLDRemoteOWS |
getRemoteOWS()
Returns the remote service associated with this user-defined layer.
|
void |
setInlineFeature(TLcdSLDInlineFeature aInlineFeature)
Sets an inline feature for this user-defined layer.
|
void |
setRemoteOWS(TLcdSLDRemoteOWS aRemoteOWS)
Sets a remote service for this user-defined layer.
|
getLayerFeatureConstraint, getLayerStyle, getLayerStyleCount, getName, removeLayerStyle, setLayerFeatureConstraint, setName
public TLcdSLDUserLayer()
TLcdSLDUserLayer
instance.public TLcdSLDUserLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints, TLcdSLDRemoteOWS aRemoteOWS)
TLcdSLDUserLayer
instance with the given name, layer styles and
constraints.aName
- The name of the layer.aSLDLayerStyles
- The styles of the layer.aLayerFeatureConstraints
- The layer feature constraint.aRemoteOWS
- The reference to a remote server.public TLcdSLDUserLayer(TLcdDataType aDataType)
TLcdSLDUserLayer
instance.public TLcdSLDRemoteOWS getRemoteOWS()
null
if no remote service is defined.public void setRemoteOWS(TLcdSLDRemoteOWS aRemoteOWS)
aRemoteOWS
- a remote service for this user-defined layer.public TLcdSLDInlineFeature getInlineFeature()
public void setInlineFeature(TLcdSLDInlineFeature aInlineFeature)
aInlineFeature
- an inline feature for this user-defined layer.public void addLayerStyle(ALcdSLDLayerStyle aLayerStyle)
Note that the style instance needs to be a
user-defined styles, i.e. an instance of TLcdSLDUserStyle
. This is because only
user-defined styles can be used for user-defined layers.
addLayerStyle
in class ALcdSLDLayer
aLayerStyle
- the style to be added.