XmlWriter class

A visitor that writes XML nodes exactly as they were parsed.

Mixed in types
Implementers

Constructors

XmlWriter(StringSink buffer, {XmlEntityMapping? entityMapping})

Properties

buffer StringSink
final
entityMapping XmlEntityMapping
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visit<T>(XmlHasVisitor visitable) → T
Helper to visit an XmlHasVisitor using this visitor by dispatching through the provided visitable.
inherited
visitAttribute(XmlAttribute node) → void
Visit an XmlAttribute node.
override
visitCDATA(XmlCDATA node) → void
Visit an XmlCDATA node.
override
visitComment(XmlComment node) → void
Visit an XmlComment node.
override
visitDeclaration(XmlDeclaration node) → void
Visit an XmlDeclaration node.
override
visitDoctype(XmlDoctype node) → void
Visit an XmlDoctype node.
override
visitDocument(XmlDocument node) → void
Visit an XmlDocument node.
override
visitDocumentFragment(XmlDocumentFragment node) → void
Visit an XmlDocumentFragment node.
override
visitElement(XmlElement node) → void
Visit an XmlElement node.
override
visitName(XmlName name) → void
Visit an XmlName.
override
visitProcessing(XmlProcessing node) → void
Visit an XmlProcessing node.
override
visitText(XmlText node) → void
Visit an XmlText node.
override
writeAttributes(XmlHasAttributes node) → void
writeIterable(Iterable<XmlHasVisitor> nodes, [String? separator]) → void

Operators

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