XmlNormalizeEvents class

A converter that normalizes sequences of XmlEvent objects, like the .NET XmlReaderSettings EWS uses (IgnoreWhitespace, IgnoreComments, IgnoreProcessingInstructions):

  • adjacent text (and CDATA) events are merged, also across chunks, into a single XmlTextEvent whose value is the escaped source text;
  • whitespace-only text (e.g. the indentation of pretty-printed responses) and text outside the root element are dropped;
  • comments, processing instructions and doctype declarations are dropped.
Inheritance

Constructors

XmlNormalizeEvents()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<List<XmlEvent>> stream) → Stream<List<XmlEvent>>
Transforms the provided stream.
inherited
cast<RS, RT>() → Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(List<XmlEvent> input) → List<XmlEvent>
Converts input and returns the result of the conversion.
inherited
fuse<TT>(Converter<List<XmlEvent>, TT> other) → Converter<List<XmlEvent>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<List<XmlEvent>> sink) → ChunkedConversionSink<List<XmlEvent>>
Starts a chunked conversion.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited