Package org.geotools.api.style
Interface NamedLayer
- All Superinterfaces:
StyledLayer
- All Known Implementing Classes:
NamedLayerImpl
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>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) Used to navigate a Style/SLD.void
Style[]
void
setLayerFeatureConstraints
(FeatureTypeConstraint... constraints) styles()
Methods inherited from interface StyledLayer
getName, setName
-
Method Details
-
layerFeatureConstraints
List<FeatureTypeConstraint> layerFeatureConstraints() -
getLayerFeatureConstraints
FeatureTypeConstraint[] getLayerFeatureConstraints() -
setLayerFeatureConstraints
-
styles
-
getStyles
Style[] getStyles() -
addStyle
-
accept
Used to navigate a Style/SLD.
-