|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.FeatureTypeStyle
public class FeatureTypeStyle
The FeatureTypeStyle defines the styling that is to be applied to a single feature type of a layer). This element may also be externally re-used outside of the scope of WMSes and layers.
The FeatureTypeStyle element identifies that explicit separation in SLD between the handling of layers and the handling of features of specific feature types. The layer concept is unique to WMS and SLD, but features are used more generally, such as in WFS and GML, so this explicit separation is important.
----------------------------------------------------------------------
Constructor Summary | |
---|---|
FeatureTypeStyle()
default constructor |
|
FeatureTypeStyle(java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
java.lang.String featureTypeName,
java.lang.String[] semanticTypeIdentifier,
Rule[] rules)
constructor initializing the class with the |
Method Summary | |
---|---|
void |
addRule(Rule rule)
adds the <Rules> |
void |
addSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
adds the <SemanticTypeIdentifier> |
java.lang.String |
exportAsXML()
exports the content of the FeatureTypeStyle as XML formated String |
java.lang.String |
getAbstract()
human-readable information about the style |
java.lang.String |
getFeatureTypeName()
returns the name of the affected feature type |
java.lang.String |
getName()
The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library. |
Rule[] |
getRules()
Rules are used to group rendering instructions by feature-property conditions and map scales. |
java.lang.String[] |
getSemanticTypeIdentifier()
The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community- controlled name(s). |
java.lang.String |
getTitle()
human-readable information about the style |
void |
removeRule(Rule rule)
removes a rule |
void |
removeSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
Removes an <SemanticTypeIdentifier>. |
void |
setAbstract(java.lang.String abstract_)
sets <Abstract> |
void |
setFeatureTypeName(java.lang.String featureTypeName)
sets the name of the affected feature type |
void |
setName(java.lang.String name)
The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library. |
void |
setRules(Rule[] rules)
sets the <Rules> |
void |
setSemanticTypeIdentifier(java.lang.String[] semanticTypeIdentifiers)
Sets the SemanticTypeIdentifiers. |
void |
setTitle(java.lang.String title)
sets the <Title> |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
FeatureTypeStyle()
FeatureTypeStyle(java.lang.String name, java.lang.String title, java.lang.String abstract_, java.lang.String featureTypeName, java.lang.String[] semanticTypeIdentifier, Rule[] rules)
name
- title
- abstract_
- featureTypeName
- semanticTypeIdentifier
- rules
- Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title of the FeatureTypeStylepublic java.lang.String getAbstract()
public void setAbstract(java.lang.String abstract_)
abstract_
- an abstract of the FeatureTypeStylepublic java.lang.String getFeatureTypeName()
public void setFeatureTypeName(java.lang.String featureTypeName)
featureTypeName
- the name of the FeatureTypeStylepublic java.lang.String[] getSemanticTypeIdentifier()
public void setSemanticTypeIdentifier(java.lang.String[] semanticTypeIdentifiers)
semanticTypeIdentifiers
- SemanticTypeIdentifiers for the FeatureTypeStylepublic void addSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
semanticTypeIdentifier
- SemanticTypeIdentifier to addpublic void removeSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
semanticTypeIdentifier
- SemanticTypeIdentifier to removepublic Rule[] getRules()
public void setRules(Rule[] rules)
rules
- the rules of the FeatureTypeStyle as Arraypublic void addRule(Rule rule)
rule
- a rulepublic void removeRule(Rule rule)
rule
- a rulepublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org