|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.FeatureTypeStyleImpl
public class FeatureTypeStyleImpl
Implementation of Feature Type Style; care is taken to ensure everything is mutable.
Constructor Summary | |
---|---|
protected |
FeatureTypeStyleImpl()
Creates a new instance of FeatureTypeStyleImpl |
|
FeatureTypeStyleImpl(org.opengis.style.FeatureTypeStyle fts)
|
protected |
FeatureTypeStyleImpl(java.util.List<Rule> arules)
|
protected |
FeatureTypeStyleImpl(Rule[] rules)
Creates a new instance of FeatureTypeStyleImpl |
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
|
void |
addRule(Rule rule)
Deprecated. |
java.lang.Object |
clone()
Creates a deep copy clone of the FeatureTypeStyle. |
boolean |
equals(java.lang.Object oth)
Compares this FeatureTypeStyleImpl with another. |
java.util.Set<org.opengis.feature.type.Name> |
featureTypeNames()
|
java.lang.String |
getAbstract()
Deprecated. |
Description |
getDescription()
Description for this style. |
org.opengis.filter.Id |
getFeatureInstanceIDs()
|
java.lang.String |
getFeatureTypeName()
Deprecated. |
java.lang.String |
getName()
|
org.opengis.metadata.citation.OnLineResource |
getOnlineResource()
|
Rule[] |
getRules()
Deprecated. |
java.lang.String[] |
getSemanticTypeIdentifiers()
Deprecated. |
java.lang.String |
getTitle()
Deprecated. |
int |
hashCode()
Overrides hashCode. |
java.util.List<Rule> |
rules()
Rules govern the appearance of any given feature to be styled by this styler. |
java.util.Set<org.opengis.style.SemanticType> |
semanticTypeIdentifiers()
|
void |
setAbstract(java.lang.String abstractStr)
Deprecated. |
void |
setFeatureTypeName(java.lang.String name)
Deprecated. |
void |
setName(java.lang.String name)
|
void |
setOnlineResource(org.opengis.metadata.citation.OnLineResource online)
It is common to have a style coming from a external xml file, this method provide a way to get the original source if there is one. |
void |
setRules(Rule[] newRules)
Deprecated. |
void |
setSemanticTypeIdentifiers(java.lang.String[] types)
Deprecated. |
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 FeatureTypeStyleImpl(Rule[] rules)
rules
- DOCUMENT ME!protected FeatureTypeStyleImpl(java.util.List<Rule> arules)
protected FeatureTypeStyleImpl()
public FeatureTypeStyleImpl(org.opengis.style.FeatureTypeStyle fts)
Method Detail |
---|
public java.util.List<Rule> rules()
FeatureTypeStyle
This is *the* list being used to manage the rules!
rules
in interface org.opengis.style.FeatureTypeStyle
@Deprecated public Rule[] getRules()
FeatureTypeStyle
@Deprecated public void setRules(Rule[] newRules)
FeatureTypeStyle
newRules
- The set of rules to be set for this styler.@Deprecated public void addRule(Rule rule)
public java.util.Set<org.opengis.style.SemanticType> semanticTypeIdentifiers()
semanticTypeIdentifiers
in interface org.opengis.style.FeatureTypeStyle
@Deprecated public java.lang.String[] getSemanticTypeIdentifiers()
FeatureTypeStyle
This method will be replaced by a live set semanticIdentifiers() in 2.6.x
@Deprecated public void setSemanticTypeIdentifiers(java.lang.String[] types)
FeatureTypeStyle
types
- An array of strings representing systematic types which
could be styled by this instance.public java.util.Set<org.opengis.feature.type.Name> featureTypeNames()
featureTypeNames
in interface org.opengis.style.FeatureTypeStyle
@Deprecated public java.lang.String getFeatureTypeName()
FeatureTypeStyle
@Deprecated public void setFeatureTypeName(java.lang.String name)
FeatureTypeStyle
name
- The TypeName of the features to be styled by this instance.public org.opengis.filter.Id getFeatureInstanceIDs()
getFeatureInstanceIDs
in interface org.opengis.style.FeatureTypeStyle
public Description getDescription()
FeatureTypeStyle
getDescription
in interface org.opengis.style.FeatureTypeStyle
public java.lang.String getName()
getName
in interface org.opengis.style.FeatureTypeStyle
public void setName(java.lang.String name)
@Deprecated public java.lang.String getAbstract()
@Deprecated public void setAbstract(java.lang.String abstractStr)
@Deprecated public java.lang.String getTitle()
@Deprecated public void setTitle(java.lang.String title)
public java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.FeatureTypeStyle
public void accept(StyleVisitor visitor)
public java.lang.Object clone()
clone
in class java.lang.Object
org.geotools.styling.FeatureTypeStyle#clone()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object oth)
Two FeatureTypeStyles are equal if they contain equal properties and an equal list of Rules.
equals
in class java.lang.Object
oth
- The other FeatureTypeStyleImpl to compare with.
public java.lang.String toString()
toString
in class java.lang.Object
public void setOnlineResource(org.opengis.metadata.citation.OnLineResource online)
FeatureTypeStyle
online
- location external file defining this style, or null if not availablepublic org.opengis.metadata.citation.OnLineResource getOnlineResource()
getOnlineResource
in interface org.opengis.style.FeatureTypeStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |