org.geotools.styling
Class NamedLayerImpl

Object
  extended by StyledLayerImpl
      extended by 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
NamedLayerImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
          Used to navigate a Style/SLD.
 void addStyle(Style sl)
           
 boolean equals(Object oth)
           
 FeatureTypeConstraint[] getLayerFeatureConstraints()
           
 Style[] getStyles()
           
 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, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface StyledLayer
getName, setName
 

Constructor Detail

NamedLayerImpl

public NamedLayerImpl()
Method Detail

layerFeatureConstraints

public List<FeatureTypeConstraint> layerFeatureConstraints()
Specified by:
layerFeatureConstraints in interface NamedLayer

getLayerFeatureConstraints

public FeatureTypeConstraint[] getLayerFeatureConstraints()
Specified by:
getLayerFeatureConstraints in interface NamedLayer

setLayerFeatureConstraints

public void setLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
Specified by:
setLayerFeatureConstraints in interface NamedLayer

getStyles

public Style[] getStyles()
Specified by:
getStyles in interface NamedLayer

styles

public List<Style> styles()
Specified by:
styles in interface NamedLayer

addStyle

public void addStyle(Style sl)
Specified by:
addStyle in interface NamedLayer

accept

public void accept(StyleVisitor visitor)
Description copied from interface: NamedLayer
Used to navigate a Style/SLD.

Specified by:
accept in interface NamedLayer

equals

public boolean equals(Object oth)
Overrides:
equals in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.