XmlParentException class

Exception thrown when the parent relationship between nodes is invalid.

Inheritance

Constructors

XmlParentException(String message, {required XmlParentBase node, XmlNode? parent})
Creates a new XmlParentException.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the XML error.
finalinherited
node → XmlParentBase
final
parent XmlNode?
final
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.
override

Operators

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

Static Methods

checkMatchingParent(XmlParentBase node, XmlNode parent) → void
Ensure that node has a matching parent.
checkNoParent(XmlParentBase node) → void
Ensure that node has no parent.
checkParent(XmlParentBase node) XmlNode
Ensure that node has a parent and returns that node.