SldObjectBuilder class

An SLD string builder.

Constructors

SldObjectBuilder(String name)

Properties

currentFeatureTypeStyleBuild ↔ dynamic
getter/setter pair
currentRuleBuild ↔ dynamic
getter/setter pair
document ↔ XmlDocument
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userStyleNode ↔ dynamic
getter/setter pair

Methods

addFeatureTypeStyle(String ftsName) SldObjectBuilder
Add a new FTS with given ftsName.
addFilter(Filter filter) SldObjectBuilder
Add a filter to the rule.
addLineSymbolizer(LineStyle style) SldObjectBuilder
Add a new line symbolizer using the style object.
addPointSymbolizer(PointStyle style) SldObjectBuilder
Add a new point symbolizer using the style object.
addPolygonSymbolizer(PolygonStyle style) SldObjectBuilder
Add a new polygon symbolizer using the style object.
addRule(String ruleName) SldObjectBuilder
Add a new Rule using the ruleName.
addTextSymbolizer(TextStyle style) SldObjectBuilder
Add a new text symbolizer using the style object.
build() String
Build the SLD string from the current object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

buildFromFeatureTypeStyles(List<FeatureTypeStyle> featureTypeStyles) String
Build a SLD String from an existing tree starting from a list of featureTypeStyles.