Package org.geotools.ows.wms
Class SimpleLayer
- Object
-
- SimpleLayer
-
public class SimpleLayer extends Object
A simple bean that represents a layer name paired with a style name for use in requests.- Author:
- Richard Gould, Refractions Research Inc.
-
-
Constructor Summary
Constructors Constructor Description SimpleLayer(String name, String style)SimpleLayer creation.SimpleLayer(String name, Set validStyles)SimpleLayer creation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetStyle()SetgetValidStyles()Returns a Set of typeStringcontaining the names of all the styles that are valid for this layer.voidsetName(String name)voidsetStyle(String style)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getValidStyles
public Set getValidStyles()
Returns a Set of typeStringcontaining the names of all the styles that are valid for this layer.
-
-