XmlAttributes class abstract
Attribute interface for nodes.
Constructors
Properties
-
attributes
→ List<
XmlAttribute> -
Return the attribute nodes of this node in document order.
no setter
- 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
, ornull
. -
getAttributeNode(
String name, {String? namespace}) → XmlAttribute? -
Return the attribute node with the given
name
, ornull
. -
getAttributeNodeStrictQualified(
String qualifiedName) → XmlAttribute? -
getAttributeStrictQualified(
String qualifiedName) → String? -
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
. -
setAttribute(
String name, String? value, {String? namespace}) → void -
Set the attribute value with the given fully qualified
name
tovalue
. If an attribute with the name already exist, its value is updated. If the value isnull
, the attribute is removed. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited