SldObjectParser class

An SLD file parser.

Once parsed, the list of FeatureTypeStyle can be accessed through featureTypeStyles.

Constructors

SldObjectParser(XmlDocument document)
SldObjectParser.fromFile(File xmlFile)
SldObjectParser.fromString(String xmlString)

Properties

document XmlDocument
read / write
featureTypeStyles List<FeatureTypeStyle>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

applyForEachRule(Function ftsAndRuleFunction) → void
Apply the passed ftsAndRuleFunction to each rule found. [...]
getAllRules() List<List<Rule>>
Return the complete ordered list of rules, divided by FeatureTypeStyle.
getFirstTextStyle(bool addIfNotExists) TextStyle
Get the first available TextStyle. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parse() → void
Parse the SLD xml.
toSldString() String
toString() String
A string representation of this object. [...]
inherited

Operators

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