|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.sld.Style_Impl
org.deegree_impl.graphics.sld.UserStyle_Impl
A user-defined allows map styling to be defined externally from a system and to be passed around in an interoperable format.
A UserStyle is at the same semantic level as a NamedStyle used in the context of a WMS. In a sense, a named style can be thought of as a reference to a hidden UserStyle that is stored inside of a map server.----------------------------------------------------------------------
Field Summary | |
private java.lang.String |
abstract_
|
private boolean |
default_
|
private java.util.ArrayList |
featureTypeStyles
|
protected java.lang.String |
name
|
private java.lang.String |
title
|
Constructor Summary | |
(package private) |
UserStyle_Impl(java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
boolean default_,
FeatureTypeStyle[] featureTypeStyles)
constructor initializing the class with the |
Method Summary | |
void |
addFeatureTypeStyle(FeatureTypeStyle featureTypeStyle)
Adds a |
java.lang.String |
exportAsXML()
exports the content of the UserStyle as XML formated String |
java.lang.String |
getAbstract()
the Abstract is a more exact description that may be a few paragraphs long. |
FeatureTypeStyle[] |
getFeatureTypeStyles()
A UserStyle can contain one or more FeatureTypeStyles which allow the rendering of features of specific types. |
java.lang.String |
getName()
The given Name is equivalent to the name of a WMS named style and is used to reference the style externally when an SLD is used in library mode and identifies the named style to redefine when an SLD is inserted into a WMS. |
java.lang.String |
getTitle()
The Title is a human-readable short description for the style that might be displayed in a GUI pick list. |
boolean |
isDefault()
The IsDefault element identifies whether a style is the default style of a layer, for use in SLD library mode when rendering or for storing inside of a map server. |
void |
removeFeatureTypeStyle(FeatureTypeStyle featureTypeStyle)
Removes a |
void |
setAbstract(java.lang.String abstract_)
sets the |
void |
setDefault(boolean default_)
sets the |
void |
setFeatureTypeStyles(FeatureTypeStyle[] featureTypeStyles)
sets the |
void |
setName(java.lang.String name)
Sets the name attribute's value of the Style. |
void |
setTitle(java.lang.String title)
sets the |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.graphics.sld.Style |
getName, setName |
Field Detail |
private java.util.ArrayList featureTypeStyles
private java.lang.String abstract_
private java.lang.String title
private boolean default_
protected java.lang.String name
Constructor Detail |
UserStyle_Impl(java.lang.String name, java.lang.String title, java.lang.String abstract_, boolean default_, FeatureTypeStyle[] featureTypeStyles)
Method Detail |
public java.lang.String getTitle()
getTitle
in interface UserStyle
public void setTitle(java.lang.String title)
setTitle
in interface UserStyle
title
- the title of the User-Stylepublic java.lang.String getAbstract()
getAbstract
in interface UserStyle
public void setAbstract(java.lang.String abstract_)
setAbstract
in interface UserStyle
abstract_
- the abstract of the User-Stylepublic boolean isDefault()
isDefault
in interface UserStyle
public void setDefault(boolean default_)
setDefault
in interface UserStyle
default_
- public FeatureTypeStyle[] getFeatureTypeStyles()
getFeatureTypeStyles
in interface UserStyle
public void setFeatureTypeStyles(FeatureTypeStyle[] featureTypeStyles)
setFeatureTypeStyles
in interface UserStyle
featureTypeStyles
- the FeatureTypeStyles of a User-Stylepublic void addFeatureTypeStyle(FeatureTypeStyle featureTypeStyle)
addFeatureTypeStyle
in interface UserStyle
featureTypeStyle
- a FeatureTypeStyle to addpublic void removeFeatureTypeStyle(FeatureTypeStyle featureTypeStyle)
removeFeatureTypeStyle
in interface UserStyle
featureTypeStyle
- a FeatureTypeStyle to removepublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
public java.lang.String getName()
getName
in interface Style
public void setName(java.lang.String name)
setName
in interface Style
name
- the name of the style
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |