XmlName class abstract
XML entity name.
Constructors
- XmlName(String local, [String? prefix])
-
Creates a qualified XmlName from a
local
name and an optionalprefix
.factory - XmlName.fromString(String qualified)
-
Create a XmlName by parsing the provided
qualified
name.factory - XmlName.internal()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParent → bool
-
Test whether the node has a parent or not.
no setterinherited
- local → String
-
Return the local name, excluding the namespace prefix.
no setter
- namespaceUri → String?
-
Return the namespace URI, or
null
.no setter - parent → XmlNode?
-
Return the parent node of this node, or
null
if there is none.no setterinherited - prefix → String?
-
Return the namespace prefix, or
null
.no setter - qualified → String
-
Return the fully qualified name, including the namespace prefix.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
XmlVisitor visitor) → void -
Dispatch the invocation depending on this type to the
visitor
. -
attachParent(
covariant XmlNode parent) → void -
Internal helper to attach a child to this parent, do not call directly.
inherited
-
copy(
) → XmlName -
detachParent(
covariant XmlNode parent) → void -
Internal helper to detach a child from its parent, do not call directly.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXmlString(
{bool pretty = false, XmlEntityMapping? entityMapping, int? level, String? indent, String? newLine, Predicate< XmlNode> ? preserveWhitespace, Predicate<XmlAttribute> ? indentAttribute, Comparator<XmlAttribute> ? sortAttributes, Predicate<XmlNode> ? spaceBeforeSelfClose}) → String -
Return an XML string of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited