XmlTransformer class
Transformer that creates an identical copy of the visited nodes.
Subclass can override one or more of the methods to modify the generated copy.
- Mixed in types
- Annotations
-
- @Deprecated('Use `XmlNode.copy()` and mutate the DOM in-place, or create a ' 'strongly-typed `XmlVisitor` over your DOM')
Constructors
- XmlTransformer()
-
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
-
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) → XmlAttribute -
Visit an XmlAttribute node.
override
-
visitCDATA(
XmlCDATA node) → XmlCDATA -
Visit an XmlCDATA node.
override
-
visitComment(
XmlComment node) → XmlComment -
Visit an XmlComment node.
override
-
visitDeclaration(
XmlDeclaration node) → XmlDeclaration -
Visit an XmlDeclaration node.
override
-
visitDoctype(
XmlDoctype node) → XmlDoctype -
Visit an XmlDoctype node.
override
-
visitDocument(
XmlDocument node) → XmlDocument -
Visit an XmlDocument node.
override
-
visitDocumentFragment(
XmlDocumentFragment node) → XmlDocumentFragment -
Visit an XmlDocumentFragment node.
override
-
visitElement(
XmlElement node) → XmlElement -
Visit an XmlElement node.
override
-
visitName(
XmlName name) → XmlName -
Visit an XmlName.
override
-
visitProcessing(
XmlProcessing node) → XmlProcessing -
Visit an XmlProcessing node.
override
-
visitText(
XmlText node) → XmlText -
Visit an XmlText node.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited