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
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(XmlNode parent) → void
Internal method to attach a child to this parent, do not call directly.
inherited
detachParent(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: ' '}) String
Return an XML string of this object. [...]
inherited
writePrettyTo(StringBuffer buffer, int level, String indent) → void
Write this object in a 'pretty' format to a buffer.
inherited
writeTo(StringBuffer buffer) → void
Write this object to a buffer.
inherited

Operators

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