public class SimpleLayer extends Object
Constructor and Description |
---|
SimpleLayer(String name,
Set validStyles)
SimpleLayer creation.
|
SimpleLayer(String name,
String style)
SimpleLayer creation.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getStyle() |
Set |
getValidStyles()
Returns a Set of type
String containing the names of all the styles that are
valid for this layer. |
void |
setName(String name) |
void |
setStyle(String style) |
public SimpleLayer(String name, String style)
name
- Name of layerstyle
- Name of style, null indicates default.public String getName()
public void setName(String name)
public String getStyle()
public void setStyle(String style)
public Set getValidStyles()
String
containing the names of all the styles that are
valid for this layer.Copyright © 1996–2019 Geotools. All rights reserved.