XmlPrettyWriter class

A visitor that writes XML nodes correctly indented and with whitespaces adapted.

Inheritance

Constructors

XmlPrettyWriter(dynamic buffer, int level, String indent)

Properties

indent String
final
level int
read / write
buffer StringBuffer
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

newLine() → void
visitCDATA(XmlCDATA node) → void
Visit an XmlCDATA node.
override
visitComment(XmlComment node) → void
Visit an XmlComment node.
override
visitDoctype(XmlDoctype node) → void
Visit an XmlDoctype node.
override
visitElement(XmlElement node) → void
Visit an XmlElement node.
override
visitProcessing(XmlProcessing node) → void
Visit an XmlProcessing node.
override
visitText(XmlText node) → void
Visit an XmlText node.
override
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
visit<T>(XmlVisitable visitable) → T
Helper to visit an XmlVisitable using this visitor by dispatching through the provided visitable.
inherited
visitAttribute(XmlAttribute node) → void
Visit an XmlAttribute node.
inherited
visitDocument(XmlDocument node) → void
Visit an XmlDocument node.
inherited
visitDocumentFragment(XmlDocumentFragment node) → void
Visit an XmlDocumentFragment node.
inherited
visitName(XmlName name) → void
Visit an XmlName.
inherited
writeAttributes(XmlNode node) → void
inherited
writeChildren(XmlNode node) → void
inherited

Operators

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