Package com.luciad.wms.sld.model
Class TLcdSLDNamedLayer
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.wms.sld.model.ALcdSLDLayer
com.luciad.wms.sld.model.TLcdSLDNamedLayer
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Represents a named layer within a Styled Layer Descriptor.
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdSLDNamedLayer
instance.TLcdSLDNamedLayer
(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints) Creates a newTLcdSLDNamedLayer
instance with the given name, layer styles and constraint. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if this layer is in a queryable state.void
setQueryable
(boolean aQueryable) Sets if this layer should be queryable or not.Methods inherited from class com.luciad.wms.sld.model.ALcdSLDLayer
addLayerStyle, getLayerFeatureConstraint, getLayerStyle, getLayerStyleCount, getName, removeLayerStyle, setLayerFeatureConstraint, setName
-
Constructor Details
-
TLcdSLDNamedLayer
public TLcdSLDNamedLayer()Creates a newTLcdSLDNamedLayer
instance. -
TLcdSLDNamedLayer
public TLcdSLDNamedLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints) Creates a newTLcdSLDNamedLayer
instance with the given name, layer styles and constraint.- Parameters:
aName
- The name of the layer.aSLDLayerStyles
- The styles of the layer.aLayerFeatureConstraints
- The layer feature constraint.
-
-
Method Details
-
isQueryable
public boolean isQueryable()Returns if this layer is in a queryable state.
By default,
true
is returned.- Returns:
- if this layer is in a queryable state.
- Since:
- 2016.1
- See Also:
-
setQueryable
public void setQueryable(boolean aQueryable) Sets if this layer should be queryable or not. This flag allows to make WMS layers non-queryable. If this layer is queryable (server-side), but this flag is set to false (client-side), this layer will not be included in the GetFeatureInfo request.
- Parameters:
aQueryable
-true
to make the layer queryable,false
otherwise.- Since:
- 2016.1
- See Also:
-