org.geotools.styling
Interface NamedLayer
- All Superinterfaces:
- GTComponent, StyledLayer
- All Known Implementing Classes:
- NamedLayerImpl
- public interface NamedLayer
- extends StyledLayer
A NamedLayer is used to refer to a layer that has a name in a WMS.
The details of this object are taken from the OGC
Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:
<xsd:element name="NamedLayer">
<xsd:annotation>
<xsd:documentation>
A NamedLayer is a layer of data that has a name advertised by a WMS.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:Name"/>
<xsd:element ref="sld:LayerFeatureConstraints" minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="sld:NamedStyle"/>
<xsd:element ref="sld:UserStyle"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
getLayerFeatureConstraints
public FeatureTypeConstraint[] getLayerFeatureConstraints()
setLayerFeatureConstraints
public void setLayerFeatureConstraints(FeatureTypeConstraint[] constraints)
getStyles
public Style[] getStyles()
addStyle
public void addStyle(Style sl)
accept
public void accept(StyleVisitor visitor)
- Used to navigate a Style/SLD.
- Parameters:
visitor
-
Copyright © GeoTools. All Rights Reserved.