XmlEventCodec class

Converts between String and XmlEvent sequences.

Inheritance

Constructors

XmlEventCodec({XmlEntityMapping? entityMapping})

Properties

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

Methods

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