Package org.geotools.ows.wms
Class StyleImpl
Object
StyleImpl
- Author:
- Richard Gould
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanBecause the style's name is declared as unique identifier in the interface javadocs, we will use that as our equals comparison.getName()getTitle()inthashCode()booleanvoidsetAbstract(InternationalString _abstract) voidsetDefault(boolean isDefault) voidsetFeatureStyles(List featureStyles) voidsetGraphicStyles(List graphicStyles) voidsetLegendURLs(List legendURLs) voidvoidsetStyleSheetURL(URL styleSheetURL) voidsetStyleURL(URL styleURL) voidsetTitle(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
-