public interface NamedLayer extends StyledLayer
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>
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleVisitor visitor)
Used to navigate a Style/SLD.
|
void |
addStyle(Style sl) |
FeatureTypeConstraint[] |
getLayerFeatureConstraints() |
Style[] |
getStyles() |
List<FeatureTypeConstraint> |
layerFeatureConstraints() |
void |
setLayerFeatureConstraints(FeatureTypeConstraint[] constraints) |
List<Style> |
styles() |
getName, setName
List<FeatureTypeConstraint> layerFeatureConstraints()
FeatureTypeConstraint[] getLayerFeatureConstraints()
void setLayerFeatureConstraints(FeatureTypeConstraint[] constraints)
Style[] getStyles()
void addStyle(Style sl)
void accept(StyleVisitor visitor)
visitor
- Copyright © 1996–2019 Geotools. All rights reserved.