Package org.geotools.api.style
Interface NamedLayer
-
- All Superinterfaces:
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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)Used to navigate a Style/SLD.voidaddStyle(Style sl)FeatureTypeConstraint[]getLayerFeatureConstraints()Style[]getStyles()List<FeatureTypeConstraint>layerFeatureConstraints()voidsetLayerFeatureConstraints(FeatureTypeConstraint... constraints)List<Style>styles()-
Methods inherited from interface StyledLayer
getName, setName
-
-
-
-
Method Detail
-
layerFeatureConstraints
List<FeatureTypeConstraint> layerFeatureConstraints()
-
getLayerFeatureConstraints
FeatureTypeConstraint[] getLayerFeatureConstraints()
-
setLayerFeatureConstraints
void setLayerFeatureConstraints(FeatureTypeConstraint... constraints)
-
getStyles
Style[] getStyles()
-
addStyle
void addStyle(Style sl)
-
accept
void accept(StyleVisitor visitor)
Used to navigate a Style/SLD.
-
-