XmlHasAttributes mixin

Mixin for nodes with attributes.

Mixin Applications

Properties

attributes → XmlNodeList<XmlAttribute>
Return the attribute nodes of this node in document order.
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

getAttribute(String name, {String? namespace}) String?
Return the attribute value with the given name, or null.
getAttributeNode(String name, {String? namespace}) XmlAttribute?
Return the attribute node with the given name, or null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAttribute(String name, {String? namespace}) → void
Removes the attribute value with the given fully qualified name.
inherited
setAttribute(String name, String? value, {String? namespace}) → void
Set the attribute value with the given fully qualified name to value. If an attribute with the name already exist, its value is updated. If the value is null, the attribute is removed.
toString() String
A string representation of this object.
inherited

Operators

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