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.
read-only, override
encoder Converter<List<XmlNode>, List<XmlEvent>>
Encodes a forest of XmlNode objects to a sequence of XmlEvent objects.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
inverted Codec<List<XmlEvent>, List<XmlNode>>
Inverts this. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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