org.geotools.styling
Class NamedLayerImpl

java.lang.Object
  extended by org.geotools.styling.StyledLayerImpl
      extended by org.geotools.styling.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 org.geotools.styling.StyledLayerImpl
name
 
Constructor Summary
NamedLayerImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
          Used to navigate a Style/SLD.
 void addStyle(Style sl)
           
 boolean equals(java.lang.Object oth)
           
 FeatureTypeConstraint[] getLayerFeatureConstraints()
           
 Style[] getStyles()
           
 java.util.List<FeatureTypeConstraint> layerFeatureConstraints()
           
 void setLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
           
 java.util.List<Style> styles()
           
 
Methods inherited from class org.geotools.styling.StyledLayerImpl
getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.styling.StyledLayer
getName, setName
 

Constructor Detail

NamedLayerImpl

public NamedLayerImpl()
Method Detail

layerFeatureConstraints

public java.util.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 java.util.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(java.lang.Object oth)
Overrides:
equals in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.