public interface StyledLayerDescriptor
This interface is bound to version 1.0 of the SLD specification.
For many of us in geotools this is the reason we came along for the ride - a pretty picture. For documentation on the use of this class please consult the SLD 1.0 specification.
We may experiment with our own (or SLD 1.1) ideas but will mark such experiments for you. This is only an issue of you are considering writing out these objects for interoptability with other systems.
General stratagy for supporting multiple SLD versions (and experiments):
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleVisitor visitor)
Used to navigate a Style/SLD.
|
void |
addStyledLayer(StyledLayer layer) |
String |
getAbstract()
Getter for property abstractStr.
|
String |
getName()
Getter for property name.
|
StyledLayer[] |
getStyledLayers() |
String |
getTitle()
Getter for property title.
|
List<StyledLayer> |
layers()
Direct access to layers list.
|
void |
setAbstract(String abstractStr)
Setter for property abstractStr.
|
void |
setName(String name)
Setter for property name.
|
void |
setStyledLayers(StyledLayer[] layers) |
void |
setTitle(String title)
Setter for property title.
|
StyledLayer[] getStyledLayers()
void setStyledLayers(StyledLayer[] layers)
void addStyledLayer(StyledLayer layer)
List<StyledLayer> layers()
String getName()
void setName(String name)
name
- New value of property name.String getTitle()
void setTitle(String title)
title
- New value of property title.String getAbstract()
void setAbstract(String abstractStr)
abstractStr
- New value of property abstractStr.void accept(StyleVisitor visitor)
visitor
- Copyright © 1996–2019 Geotools. All rights reserved.