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
Module:

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)
          DOCUMENT ME!
 boolean equals(Object oth)
           
 FeatureTypeConstraint[] getLayerFeatureConstraints()
           
 Style[] getStyles()
           
 void setLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
           
 
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

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

addStyle

public void addStyle(Style sl)
DOCUMENT ME!

Specified by:
addStyle in interface NamedLayer
Parameters:
sl - may be a StyleImpl or a NamedStyle

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-2009 Geotools. All Rights Reserved.