|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNamedStyleImpl
public class NamedStyleImpl
A NamedStyle is used to refer to a style that has a name in a WMS.
A NamedStyle is a Style that has only Name, so all setters other than
setName will throw an UnsupportedOperationException
Constructor Summary | |
---|---|
NamedStyleImpl()
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
DOCUMENT ME! |
void |
addFeatureTypeStyle(FeatureTypeStyle type)
DOCUMENT ME! |
String |
getAbstract()
DOCUMENT ME! |
Description |
getDescription()
Description for this style. |
FeatureTypeStyle[] |
getFeatureTypeStyles()
DOCUMENT ME! |
String |
getName()
Style name |
String |
getTitle()
Human readable title. |
boolean |
isDefault()
DOCUMENT ME! |
void |
setAbstract(String abstractStr)
DOCUMENT ME! |
void |
setDefault(boolean isDefault)
DOCUMENT ME! |
void |
setFeatureTypeStyles(FeatureTypeStyle[] types)
DOCUMENT ME! |
void |
setName(String name)
Set name. |
void |
setTitle(String title)
Human readable title. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedStyleImpl()
Method Detail |
---|
public String getName()
getName
in interface NamedStyle
getName
in interface Style
public void setName(String name)
setName
in interface NamedStyle
setName
in interface Style
name
- style namepublic Description getDescription()
Style
getDescription
in interface Style
public String getTitle()
getTitle
in interface NamedStyle
getTitle
in interface Style
public void setTitle(String title)
setTitle
in interface NamedStyle
setTitle
in interface Style
title
- Human readable title.
UnsupportedOperationException
- Cannot be changedpublic String getAbstract()
getAbstract
in interface NamedStyle
getAbstract
in interface Style
public void setAbstract(String abstractStr)
setAbstract
in interface NamedStyle
setAbstract
in interface Style
abstractStr
- DOCUMENT ME!
UnsupportedOperationException
- DOCUMENT ME!public boolean isDefault()
isDefault
in interface NamedStyle
isDefault
in interface Style
public void setDefault(boolean isDefault)
setDefault
in interface NamedStyle
setDefault
in interface Style
isDefault
- DOCUMENT ME!
UnsupportedOperationException
- DOCUMENT ME!public FeatureTypeStyle[] getFeatureTypeStyles()
getFeatureTypeStyles
in interface NamedStyle
getFeatureTypeStyles
in interface Style
public void setFeatureTypeStyles(FeatureTypeStyle[] types)
setFeatureTypeStyles
in interface NamedStyle
setFeatureTypeStyles
in interface Style
types
- DOCUMENT ME!
UnsupportedOperationException
- DOCUMENT ME!public void addFeatureTypeStyle(FeatureTypeStyle type)
addFeatureTypeStyle
in interface NamedStyle
addFeatureTypeStyle
in interface Style
type
- DOCUMENT ME!
UnsupportedOperationException
- DOCUMENT ME!public void accept(StyleVisitor visitor)
accept
in interface NamedStyle
accept
in interface Style
visitor
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |