Package org.geotools.styling
Class NamedLayerImpl
- Object
-
- StyledLayerImpl
-
- NamedLayerImpl
-
- All Implemented Interfaces:
NamedLayer,StyledLayer
public class NamedLayerImpl extends StyledLayerImpl implements NamedLayer
Default implementation of named layer.- Author:
- jamesm
-
-
Field Summary
-
Fields inherited from class StyledLayerImpl
name
-
-
Constructor Summary
Constructors Constructor Description NamedLayerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)Used to navigate a Style/SLD.voidaddStyle(Style sl)booleanequals(Object oth)FeatureTypeConstraint[]getLayerFeatureConstraints()Style[]getStyles()inthashCode()List<FeatureTypeConstraint>layerFeatureConstraints()voidsetLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)List<Style>styles()-
Methods inherited from class StyledLayerImpl
getName, setName
-
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface StyledLayer
getName, setName
-
-
-
-
Method Detail
-
layerFeatureConstraints
public List<FeatureTypeConstraint> layerFeatureConstraints()
- Specified by:
layerFeatureConstraintsin interfaceNamedLayer
-
getLayerFeatureConstraints
public FeatureTypeConstraint[] getLayerFeatureConstraints()
- Specified by:
getLayerFeatureConstraintsin interfaceNamedLayer
-
setLayerFeatureConstraints
public void setLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
- Specified by:
setLayerFeatureConstraintsin interfaceNamedLayer
-
getStyles
public Style[] getStyles()
- Specified by:
getStylesin interfaceNamedLayer
-
styles
public List<Style> styles()
- Specified by:
stylesin interfaceNamedLayer
-
addStyle
public void addStyle(Style sl)
- Specified by:
addStylein interfaceNamedLayer
-
accept
public void accept(StyleVisitor visitor)
Description copied from interface:NamedLayerUsed to navigate a Style/SLD.- Specified by:
acceptin interfaceNamedLayer
-
-