|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
How to style a feature type. This is introduced as a convenient package that can be used independently for feature types, for example in GML Default Styling. The "layer" concept is discarded inside of this element and all processing is relative to feature types. The FeatureTypeName is allowed to be optional, but only one feature type may be in context and it must match the syntax and semantics of all attribute references inside of the FeatureTypeStyle.
The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:
<xsd:element name="FeatureTypeStyle">
<xsd:annotation>
<xsd:documentation>
A FeatureTypeStyle contains styling information specific to one
feature type. This is the SLD level that separates the 'layer'
handling from the 'feature' handling.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:Name" minOccurs="0"/>
<xsd:element ref="sld:Title" minOccurs="0"/>
<xsd:element ref="sld:Abstract" minOccurs="0"/>
<xsd:element ref="sld:FeatureTypeName" minOccurs="0"/>
<xsd:element ref="sld:SemanticTypeIdentifier" minOccurs="0"
maxOccurs="unbounded"/>
<xsd:element ref="sld:Rule" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Method Summary | |
void |
accept(StyleVisitor visitor)
|
void |
addRule(Rule rule)
|
java.lang.String |
getAbstract()
|
java.lang.String |
getFeatureTypeName()
Only features with the type name returned by this method should be styled by this feature type styler. |
java.lang.String |
getName()
|
Rule[] |
getRules()
Rules govern the appearance of any given feature to be styled by this styler. |
java.lang.String[] |
getSemanticTypeIdentifiers()
The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. |
java.lang.String |
getTitle()
|
java.util.List |
rules()
Rules govern the appearance of any given feature to be styled by this styler. |
void |
setAbstract(java.lang.String abstractStr)
|
void |
setFeatureTypeName(java.lang.String name)
Sets the type name of the features that this styler should be applied to. |
void |
setName(java.lang.String name)
|
void |
setRules(Rule[] rules)
Rules govern the appearance of any given feature to be styled by this styler. |
void |
setSemanticTypeIdentifiers(java.lang.String[] types)
The SemanticTypeIdentifiers is experimental and is intended to be used to identify, using a community-controlled name(s), what the style is suitable to be used for. |
void |
setTitle(java.lang.String title)
|
Methods inherited from interface org.geotools.event.GTComponent |
changed, getNote, getParent, removed, setNote |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getAbstract()
public void setAbstract(java.lang.String abstractStr)
public java.lang.String getFeatureTypeName()
public void setFeatureTypeName(java.lang.String name)
name
- The TypeName of the features to be styled by this instance.public java.lang.String[] getSemanticTypeIdentifiers()
public void setSemanticTypeIdentifiers(java.lang.String[] types)
types
- An array of strings representing systematic types which
could be styled by this instance.public Rule[] getRules()
public void setRules(Rule[] rules)
rules
- The set of rules to be set for this styler.public void addRule(Rule rule)
public java.util.List rules()
This is *the* list being used to mange the rules!
public void accept(StyleVisitor visitor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |