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
ConstructorsConstructorDescriptionCreates a newTLcdSLDNamedLayerinstance.TLcdSLDNamedLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints) Creates a newTLcdSLDNamedLayerinstance with the given name, layer styles and constraint. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if this layer is in a queryable state.voidsetQueryable(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 newTLcdSLDNamedLayerinstance. -
TLcdSLDNamedLayer
public TLcdSLDNamedLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints) Creates a newTLcdSLDNamedLayerinstance 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,
trueis 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-trueto make the layer queryable,falseotherwise.- Since:
- 2016.1
- See Also:
-