|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedStyle
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
<xsd:element name="NamedStyle">
<xsd:annotation>
<xsd:documentation>
A NamedStyle is used to refer to a style that has a name in a WMS.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:Name"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
Used to navigate Style information during portrayal. |
void |
addFeatureTypeStyle(FeatureTypeStyle type)
|
String |
getAbstract()
Deprecated. Use getDescription().getAbstract() |
FeatureTypeStyle[] |
getFeatureTypeStyles()
Array of FeatureTypeStyles in portrayal order. |
String |
getName()
Style name (machine readable, don't show to users) |
String |
getTitle()
Deprecated. Use getDescription().getTitle().toString() |
boolean |
isDefault()
Indicates that this is the default style. |
void |
setAbstract(String abstractStr)
Deprecated. Use getDescription().setAbstract() |
void |
setDefault(boolean isDefault)
Indicates that this is the default style. |
void |
setFeatureTypeStyles(FeatureTypeStyle[] types)
|
void |
setName(String name)
|
void |
setTitle(String title)
Deprecated. Use getDescription().setTitle() |
Methods inherited from interface Style |
---|
getDescription |
Method Detail |
---|
String getName()
Style
getName
in interface Style
void setName(String name)
setName
in interface Style
String getTitle()
getTitle
in interface Style
void setTitle(String title)
setTitle
in interface Style
title
- Human readible titleString getAbstract()
Style
getAbstract
in interface Style
void setAbstract(String abstractStr)
setAbstract
in interface Style
abstractStr
- Description of this styleboolean isDefault()
Style
isDefault
in interface Style
void setDefault(boolean isDefault)
Style
Assume this is kept for GeoServer enabling a WMS to track which style is considered the default. May consider providing a clientProperties mechanism similar to Swing JComponent allowing applications to mark up the Style content for custom uses.
setDefault
in interface Style
FeatureTypeStyle[] getFeatureTypeStyles()
Style
FeatureTypeStyle entries are rendered in order of appearance in this list.
Note: We are using a Array here to continue with Java 1.4 deployment.
getFeatureTypeStyles
in interface Style
void setFeatureTypeStyles(FeatureTypeStyle[] types)
setFeatureTypeStyles
in interface Style
void addFeatureTypeStyle(FeatureTypeStyle type)
addFeatureTypeStyle
in interface Style
void accept(StyleVisitor visitor)
Style
accept
in interface Style
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |