|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.context.StyleList
encapsulates a StyleList as defined by the OGC Web Map Context specification
Field Summary | |
private Style |
current
|
private java.util.HashMap |
styles
|
Constructor Summary | |
StyleList(Style[] styles)
Creates a new StyleList object. |
Method Summary | |
void |
addStyle(Style style)
|
void |
clear()
|
java.lang.String |
exportAsXML()
Produces an XML-representation of this object. |
Style |
getCurrentStyle()
returns the currentlay |
Style |
getStyle(java.lang.String name)
|
Style[] |
getStyles()
returns an array of all styles known by a layer |
Style |
removeStyle(java.lang.String name)
|
void |
setStyles(Style[] styles)
sets alla styles known by a layer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.HashMap styles
private Style current
Constructor Detail |
public StyleList(Style[] styles) throws ContextException
styles
- Method Detail |
public Style[] getStyles()
public void setStyles(Style[] styles) throws ContextException
styles
-
ContextException
public Style getCurrentStyle()
public Style getStyle(java.lang.String name)
name
-
public void addStyle(Style style)
style
- public Style removeStyle(java.lang.String name)
name
-
public void clear()
public java.lang.String exportAsXML()
Marshallable
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |