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 String
getName()
String
getStyle()
Set
getValidStyles()
Returns a Set of typeString
containing the names of all the styles that are valid for this layer.void
setName(String name)
void
setStyle(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 typeString
containing the names of all the styles that are valid for this layer.
-
-