Package org.geotools.ows.wms
Class StyleImpl
- Object
-
- StyleImpl
-
public class StyleImpl extends Object
- Author:
- Richard Gould
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Because the style's name is declared as unique identifier in the interface javadocs, we will use that as our equals comparison.InternationalString
getAbstract()
List
getFeatureStyles()
List
getGraphicStyles()
List
getLegendURLs()
String
getName()
URL
getStyleSheetURL()
URL
getStyleURL()
InternationalString
getTitle()
int
hashCode()
boolean
isDefault()
void
setAbstract(InternationalString _abstract)
void
setDefault(boolean isDefault)
void
setFeatureStyles(List featureStyles)
void
setGraphicStyles(List graphicStyles)
void
setLegendURLs(List legendURLs)
void
setName(String name)
void
setStyleSheetURL(URL styleSheetURL)
void
setStyleURL(URL styleURL)
void
setTitle(InternationalString title)
-
-
-
Constructor Detail
-
StyleImpl
public StyleImpl()
-
StyleImpl
public StyleImpl(String name)
-
-
Method Detail
-
getAbstract
public InternationalString getAbstract()
-
setAbstract
public void setAbstract(InternationalString _abstract)
-
getFeatureStyles
public List getFeatureStyles()
-
setFeatureStyles
public void setFeatureStyles(List featureStyles)
-
getGraphicStyles
public List getGraphicStyles()
-
setGraphicStyles
public void setGraphicStyles(List graphicStyles)
-
getLegendURLs
public List getLegendURLs()
-
setLegendURLs
public void setLegendURLs(List legendURLs)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getStyleSheetURL
public URL getStyleSheetURL()
-
setStyleSheetURL
public void setStyleSheetURL(URL styleSheetURL)
-
getStyleURL
public URL getStyleURL()
-
setStyleURL
public void setStyleURL(URL styleURL)
-
getTitle
public InternationalString getTitle()
-
setTitle
public void setTitle(InternationalString title)
-
equals
public boolean equals(Object obj)
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
-
-