XmlNodeCodec class

Converts between XmlEvent sequences and XmlNode trees.

Inheritance

Constructors

XmlNodeCodec()
const

Properties

decoder Converter<List<XmlEvent>, List<XmlNode>>
Decodes a sequence of XmlEvent objects to a forest of XmlNode objects.
final
encoder Converter<List<XmlNode>, List<XmlEvent>>
Encodes a forest of XmlNode objects to a sequence of XmlEvent objects.
final
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<List<XmlEvent>, List<XmlNode>>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(List<XmlEvent> encoded) List<XmlNode>
Decodes encoded data.
inherited
encode(List<XmlNode> input) List<XmlEvent>
Encodes input.
inherited
fuse<R>(Codec<List<XmlEvent>, R> other) Codec<List<XmlNode>, R>
Fuses this with other.
inherited
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