Package org.geotools.ows.wms
Class StyleImpl
Object
StyleImpl
- Author:
- Richard Gould
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Because the style's name is declared as unique identifier in the interface javadocs, we will use that as our equals comparison.getName()
getTitle()
int
hashCode()
boolean
void
setAbstract
(InternationalString _abstract) void
setDefault
(boolean isDefault) void
setFeatureStyles
(List featureStyles) void
setGraphicStyles
(List graphicStyles) void
setLegendURLs
(List legendURLs) void
void
setStyleSheetURL
(URL styleSheetURL) void
setStyleURL
(URL styleURL) void
setTitle
(InternationalString title)
-
Constructor Details
-
StyleImpl
public StyleImpl() -
StyleImpl
-
-
Method Details
-
getAbstract
-
setAbstract
-
getFeatureStyles
-
setFeatureStyles
-
getGraphicStyles
-
setGraphicStyles
-
getLegendURLs
-
setLegendURLs
-
getName
-
setName
-
getStyleSheetURL
-
setStyleSheetURL
-
getStyleURL
-
setStyleURL
-
getTitle
-
setTitle
-
hashCode
public int hashCode() -
equals
Because the style's name is declared as unique identifier in the interface javadocs, we will use that as our equals comparison.So if two Styles have the same name, they are considered equal.
-
isDefault
public boolean isDefault()- Returns:
- the isDefault
-
setDefault
public void setDefault(boolean isDefault) - Parameters:
isDefault
- the isDefault to set
-