|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectStyleImpl
public class StyleImpl
Implementation of style.
| Constructor Summary | |
|---|---|
protected |
StyleImpl()
Creates a new instance of StyleImpl |
| Method Summary | |
|---|---|
void |
accept(StyleVisitor visitor)
Used to navigate Style information during portrayal. |
Object |
accept(StyleVisitor visitor,
Object extraData)
calls the visit method of a StyleVisitor |
void |
addFeatureTypeStyle(FeatureTypeStyle type)
|
Object |
clone()
Clones the Style. |
boolean |
equals(Object oth)
Compares this Style with another. |
List<FeatureTypeStyle> |
featureTypeStyles()
FeatureTypeStyles rendered in order of appearance in this list. |
String |
getAbstract()
Deprecated. |
Symbolizer |
getDefaultSpecification()
This functionality is from an ISO specificaiton; and conflicts with the idea of an else rule presented by SLD. |
DescriptionImpl |
getDescription()
Description for this style. |
FeatureTypeStyle[] |
getFeatureTypeStyles()
Array of FeatureTypeStyles in portrayal order. |
String |
getName()
Style name (machine readable, don't show to users) |
String |
getTitle()
Deprecated. |
int |
hashCode()
Overrides hashcode. |
boolean |
isDefault()
The IsDefault element identifies whether a style is the default style of a layer, for use in SLD ‘library mode’ when rendering or for storing inside of a map server. |
void |
setAbstract(String abstractStr)
Deprecated. |
void |
setDefault(boolean isDefault)
Indicates that this is the default style. |
void |
setDefaultSpecification(Symbolizer defaultSymbolizer)
|
void |
setDescription(Description description)
|
void |
setFeatureTypeStyles(FeatureTypeStyle[] styles)
|
void |
setName(String name)
|
void |
setTitle(String title)
Deprecated. |
String |
toString()
|
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected StyleImpl()
| Method Detail |
|---|
public DescriptionImpl getDescription()
Style
getDescription in interface Style@Deprecated public String getAbstract()
Style
public FeatureTypeStyle[] getFeatureTypeStyles()
StyleFeatureTypeStyle entries are rendered in order of appearance in this list.
Note: We are using a Array here to continue with Java 1.4 deployment.
public List<FeatureTypeStyle> featureTypeStyles()
Style
featureTypeStyles in interface Stylepublic Symbolizer getDefaultSpecification()
StyleImplementations may choose to look up the first symbolizer of an elseFilter or allow this to be provided?
getDefaultSpecification in interface Stylepublic void setDefaultSpecification(Symbolizer defaultSymbolizer)
defaultSymbolizer - To be used if a feature is not rendered by any of the rulespublic void setFeatureTypeStyles(FeatureTypeStyle[] styles)
public void addFeatureTypeStyle(FeatureTypeStyle type)
public String getName()
Style
getName in interface Style@Deprecated public String getTitle()
Style
public boolean isDefault()
Style
isDefault in interface Style@Deprecated public void setAbstract(String abstractStr)
public void setDefault(boolean isDefault)
StyleAssume 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.
public void setName(String name)
@Deprecated public void setTitle(String title)
public void accept(StyleVisitor visitor)
Style
public Object clone()
clone in class ObjectRuntimeException - DOCUMENT ME!org.geotools.styling.Style#clone()public int hashCode()
hashCode in class Objectpublic boolean equals(Object oth)
Two StyleImpl are equal if they have the same properties and the same list of FeatureTypeStyles.
equals in class Objectoth - The object to compare with this for equality.
public String toString()
toString in class Object
public Object accept(StyleVisitor visitor,
Object extraData)
Style
accept in interface Stylevisitor - the style visitorpublic void setDescription(Description description)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||