XmlElementNode class final
Implementation of XmlNode representing an XML element.
Constructors
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
-
get(
String name) → XmlNode? -
Returns the child element with the given
name.override -
getAll(
String name) → List< XmlNode> -
Returns all child elements with the given
name.override -
getAttribute(
String name) → String? -
Returns the value of an attribute by name.
override
-
getAttributes(
) → Map< String, String> -
Returns all attributes of this element as a map.
override
-
getChildren(
) → List< XmlNode> -
Returns the list of all child nodes.
override
-
getName(
) → String? -
Returns the name of this element.
override
-
getParent(
) → XmlNode? -
Returns the parent node of this node.
override
-
getText(
) → String? -
Returns the text content of this node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toObject(
) → Map< String, dynamic> -
Generic interface representing a parsed node in Jetleaf's structured
data model (JSON/YAML/other).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited