|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.StyleImpl
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. |
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object extraData)
|
void |
addFeatureTypeStyle(FeatureTypeStyle type)
|
java.lang.Object |
clone()
Clones the Style. |
boolean |
equals(java.lang.Object oth)
Compares this Style with another. |
java.util.List<FeatureTypeStyle> |
featureTypeStyles()
FeatureTypeStyles rendered in order of appearance in this list. |
java.lang.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. |
java.lang.String |
getName()
|
java.lang.String |
getTitle()
Deprecated. |
int |
hashCode()
Overrides hashcode. |
boolean |
isDefault()
|
void |
setAbstract(java.lang.String abstractStr)
Deprecated. |
void |
setDefault(boolean isDefault)
Indicates that this is the default style. |
void |
setDefaultSpecification(Symbolizer defaultSymbolizer)
|
void |
setDescription(org.opengis.style.Description description)
|
void |
setFeatureTypeStyles(FeatureTypeStyle[] styles)
|
void |
setName(java.lang.String name)
|
void |
setTitle(java.lang.String title)
Deprecated. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected StyleImpl()
Method Detail |
---|
public DescriptionImpl getDescription()
Style
getDescription
in interface org.opengis.style.Style
@Deprecated public java.lang.String getAbstract()
Style
public FeatureTypeStyle[] getFeatureTypeStyles()
Style
FeatureTypeStyle 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 java.util.List<FeatureTypeStyle> featureTypeStyles()
Style
featureTypeStyles
in interface org.opengis.style.Style
public Symbolizer getDefaultSpecification()
Style
Implementations may choose to look up the first symbolizer of an elseFilter or allow this to be provided?
getDefaultSpecification
in interface org.opengis.style.Style
public 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 java.lang.String getName()
getName
in interface org.opengis.style.Style
@Deprecated public java.lang.String getTitle()
Style
public boolean isDefault()
isDefault
in interface org.opengis.style.Style
@Deprecated public void setAbstract(java.lang.String abstractStr)
public void setDefault(boolean isDefault)
Style
Assume 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(java.lang.String name)
@Deprecated public void setTitle(java.lang.String title)
public void accept(StyleVisitor visitor)
Style
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.RuntimeException
- DOCUMENT ME!org.geotools.styling.Style#clone()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object oth)
Two StyleImpl are equal if they have the same properties and the same list of FeatureTypeStyles.
equals
in class java.lang.Object
oth
- The object to compare with this for equality.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object extraData)
accept
in interface org.opengis.style.Style
public void setDescription(org.opengis.style.Description description)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |