XmlName class

XML entity name.

Mixed in types

Constructors

XmlName(String local, [String prefix])
Creates a qualified XmlName from a local name and an optional prefix.
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. [...]
read-only, override
local String
Return the local name, excluding the namespace prefix.
read-only
namespaceUri String
Return the namespace URI, or null.
read-only
prefix String
Return the namespace prefix, or null.
read-only
qualified String
Return the fully qualified name, including the namespace prefix.
read-only
depth int
Return the depth of this node in its tree, a root node has depth 0.
read-only, inherited
document XmlDocument
Return the document that contains this node, or null if the node is not library a document.
read-only, inherited
hasParent bool
Test whether the node has a parent or not.
read-only, inherited
parent XmlNode
Return the parent node of this node, or null if there is none.
read-only, inherited
root XmlNode
Return the root of the tree in which this node is found, whether that's a document or another element.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

accept(XmlVisitor visitor) → dynamic
Dispatch the invocation depending on this type to the visitor.
override
attachParent(covariant XmlNode parent) → void
Internal method to attach a child to this parent, do not call directly.
inherited
detachParent(covariant XmlNode parent) → void
Internal method to attach a child to this parent, do not call directly.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Return a default XML string of this object.
inherited
toXmlString({bool pretty: false, String indent: ' ', XmlEntityMapping entityMapping: const XmlDefaultEntityMapping.xml()}) String
Return an XML string of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override