|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.StyledLayerDescriptor
public class StyledLayerDescriptor
StyledLayerDescriptor: This is a sequence of styled layers, represented at the first level by Layer and UserLayer elements. A "version" attribute has been added to allow the formatting of static-file
Constructor Summary | |
---|---|
StyledLayerDescriptor(AbstractLayer[] layers,
java.lang.String version)
constructor initializing the class with the |
|
StyledLayerDescriptor(java.lang.String name,
java.lang.String title,
java.lang.String version,
java.lang.String abstract_,
AbstractLayer[] layers)
|
Method Summary | |
---|---|
void |
addLayer(AbstractLayer layer)
adds the |
java.lang.String |
exportAsXML()
exports the content of the Font as XML formated String |
java.lang.String |
getAbstract()
|
AbstractLayer[] |
getLayers()
|
java.lang.String |
getName()
|
NamedLayer[] |
getNamedLayers()
A NamedLayer uses the "name" attribute to identify a layer known to the WMS and can contain zero or more styles, either NamedStyles or UserStyles. |
java.lang.String |
getTitle()
|
UserLayer[] |
getUserLayers()
A UserLayer can contain one or more UserStyles. |
java.lang.String |
getVersion()
The version attribute gives the SLD version of an SLD document, to facilitate backward compatibility with static documents stored in various different versions of the SLD spec. |
void |
removeLayer(AbstractLayer layer)
removes the |
void |
setAbstract(java.lang.String abstract_)
|
void |
setLayers(AbstractLayer[] layers)
Sets Layers |
void |
setName(java.lang.String name)
|
void |
setTitle(java.lang.String title)
|
void |
setVersion(java.lang.String version)
sets the |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
StyledLayerDescriptor(java.lang.String name, java.lang.String title, java.lang.String version, java.lang.String abstract_, AbstractLayer[] layers)
name
- title
- version
- abstract_
- layers
- public StyledLayerDescriptor(AbstractLayer[] layers, java.lang.String version)
layers
- version
- Method Detail |
---|
public AbstractLayer[] getLayers()
public void setLayers(AbstractLayer[] layers)
layers
- the Layers as Arraypublic void addLayer(AbstractLayer layer)
layer
- a Layer to addpublic void removeLayer(AbstractLayer layer)
layer
- a Layer to removepublic UserLayer[] getUserLayers()
public NamedLayer[] getNamedLayers()
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the version of the SLDpublic java.lang.String getAbstract()
public void setAbstract(java.lang.String abstract_)
abstract_
- The abstract_ to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title to set.public java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org