|
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.Objectorg.deegree.portal.context.Style
public class Style
this class encapsulates the style description as defined by the OGC Web Map Context specification
| Constructor Summary | |
|---|---|
Style(SLD sld,
boolean current)
Creates a new Style object. |
|
Style(java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
ImageURL legendURL,
boolean current)
Creates a new Style object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAbstract()
A narrative description of the current style (extracted from Capabilities by the Context document creator). |
ImageURL |
getLegendURL()
The location of an image of a map legend describing the current style (extracted from Capabilities by the Context document creator). |
java.lang.String |
getName()
The name of the style (extracted from Capabilities by the Context document creator). |
SLD |
getSld()
Each <Style> element may alternatively define the style(s) of the layer with a <SLD> element. |
java.lang.String |
getTitle()
The human-readable title of the style (extracted from Capabilities by the Context document creator). |
boolean |
isCurrent()
returns true the current style is selected. |
void |
setAbstract(java.lang.String abstract_)
|
void |
setCurrent(boolean current)
|
void |
setLegendURL(ImageURL legendURL)
|
void |
setName(java.lang.String name)
|
void |
setSld(SLD sld)
|
void |
setTitle(java.lang.String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Style(java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
ImageURL legendURL,
boolean current)
throws ContextException
name - The name of the styletitle - The human-readable title of the styleabstract_ - A narrative description of the current stylelegendURL - location of an image of a map legend describing the current stylecurrent - true the current style is selected.
ContextException
public Style(SLD sld,
boolean current)
throws ContextException
sld - define the style(s) of the layer with a current - true the current style is selected.
ContextException| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getTitle()
public java.lang.String getAbstract()
public ImageURL getLegendURL()
public SLD getSld()
public boolean isCurrent()
public void setName(java.lang.String name)
throws ContextException
name - to set
ContextException - if the name or the sld is null
public void setTitle(java.lang.String title)
throws ContextException
title - to set
ContextException - if the name or the sld is nullpublic void setAbstract(java.lang.String abstract_)
abstract_ - to setpublic void setLegendURL(ImageURL legendURL)
legendURL - to set
public void setSld(SLD sld)
throws ContextException
sld - to set
ContextException - if the name or the sld is nullpublic void setCurrent(boolean current)
current - to set
|
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