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
getter/setter pair
featureTypeStyles List<FeatureTypeStyle>
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

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 nonexistent 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