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 void
accept(StyleVisitor visitor)
Used to navigate a Style/SLD.void
addStyle(Style sl)
boolean
equals(Object oth)
FeatureTypeConstraint[]
getLayerFeatureConstraints()
Style[]
getStyles()
int
hashCode()
List<FeatureTypeConstraint>
layerFeatureConstraints()
void
setLayerFeatureConstraints(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:
layerFeatureConstraints
in interfaceNamedLayer
-
getLayerFeatureConstraints
public FeatureTypeConstraint[] getLayerFeatureConstraints()
- Specified by:
getLayerFeatureConstraints
in interfaceNamedLayer
-
setLayerFeatureConstraints
public void setLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
- Specified by:
setLayerFeatureConstraints
in interfaceNamedLayer
-
getStyles
public Style[] getStyles()
- Specified by:
getStyles
in interfaceNamedLayer
-
styles
public List<Style> styles()
- Specified by:
styles
in interfaceNamedLayer
-
addStyle
public void addStyle(Style sl)
- Specified by:
addStyle
in interfaceNamedLayer
-
accept
public void accept(StyleVisitor visitor)
Description copied from interface:NamedLayer
Used to navigate a Style/SLD.- Specified by:
accept
in interfaceNamedLayer
-
-