public class StyleImpl extends Object
Modifier and Type | Method and 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) |
public StyleImpl()
public StyleImpl(String name)
public InternationalString getAbstract()
public void setAbstract(InternationalString _abstract)
public List getFeatureStyles()
public void setFeatureStyles(List featureStyles)
public List getGraphicStyles()
public void setGraphicStyles(List graphicStyles)
public List getLegendURLs()
public void setLegendURLs(List legendURLs)
public String getName()
public void setName(String name)
public URL getStyleSheetURL()
public void setStyleSheetURL(URL styleSheetURL)
public URL getStyleURL()
public void setStyleURL(URL styleURL)
public InternationalString getTitle()
public void setTitle(InternationalString title)
public boolean equals(Object obj)
So if two Styles have the same name, they are considered equal.
public boolean isDefault()
public void setDefault(boolean isDefault)
isDefault
- the isDefault to setCopyright © 1996–2019 Geotools. All rights reserved.