XmlSimpleNameSyntheticImpl class

Implemented types
Implementers
Available extensions

Constructors

XmlSimpleNameSyntheticImpl(String local)

Properties

ancestorElements Iterable<XmlElement>
Return a lazy Iterable of the ancestor XmlElement nodes of this node (parent, grandparent, ...) in reverse document order.
no setterinherited
ancestors Iterable<XmlNode>
Return a lazy Iterable of the ancestors of this node (parent, grandparent, ...) in reverse document order.
no setterinherited
attributes List<XmlAttribute>
Return the attribute nodes of this node in document order.
no setterinherited
childElements Iterable<XmlElement>
Return an Iterable over the XmlElement children of this node.
no setterinherited
children → XmlNodeList<XmlNode>
Return the direct children of this node in document order.
latefinal
depth int
Return the depth of this node in its tree, a root node has depth 0.
no setterinherited
descendantElements Iterable<XmlElement>
Return a lazy Iterable of the descendants XmlElement nodes of this node (attributes, children, grandchildren, ...) in document order.
no setterinherited
descendants Iterable<XmlNode>
Return a lazy Iterable of the descendants of this node (attributes, children, grandchildren, ...) in document order.
no setterinherited
document XmlDocument?
Return the document that contains this node, or null if the node is not part of a document.
no setterinherited
firstChild XmlNode?
Return the first child of this node, or null if there are no children.
no setterinherited
firstElementChild XmlElement?
Return the first child XmlElement, or null if there are none.
no setterinherited
following Iterable<XmlNode>
Return a lazy Iterable of the nodes following this node in document order.
no setterinherited
followingElements Iterable<XmlElement>
Return a lazy Iterable of the XmlElement nodes following this node in document order.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasParent bool
Test whether the node has a parent or not.
no setterinherited
innerText String
Return the concatenated text of this node and all its descendants.
getter/setter pairinherited
innerXml String
Return the markup representing the child nodes of this node.
getter/setter pairinherited
lastChild XmlNode?
Return the last child of this node, or null if there are no children.
no setterinherited
lastElementChild XmlElement?
Return the last child XmlElement, or null if there are none.
no setterinherited
local String
Return the local name, excluding the namespace prefix.
final
namespaceUri String?
Return the namespace URI, or null.
no setterinherited
nextElementSibling XmlElement?
Return the next element sibling of this node, or null.
no setterinherited
nextSibling XmlNode?
Return the next sibling of this node, or null.
no setterinherited
nodes Iterable<XmlNode>
Return a lazy Iterable of the direct descendants of this XmlNode (attributes, children) in document order.
no setterinherited
outerXml String
Return the markup representing this node and all its child nodes.
getter/setter pairinherited
parent XmlNode?
Return the parent node of this node, or null if there is none.
no setterinherited
parentElement XmlElement?
Return the first parent of this node that is of type XmlElement, or null if there is none.
no setterinherited
preceding Iterable<XmlNode>
Return a lazy Iterable of the nodes preceding this node in document order.
no setterinherited
precedingElements Iterable<XmlElement>
Return a lazy Iterable of the XmlElement nodes preceding this node in document order.
no setterinherited
prefix String?
Return the namespace prefix, or null.
no setterinherited
previousElementSibling XmlElement?
Return the previous element sibling of this node, or null.
no setterinherited
previousSibling XmlNode?
Return the previous sibling of this node, or null.
no setterinherited
qualified String
Return the fully qualified name, including the namespace prefix.
no setterinherited
root XmlNode
Return the root of the tree in which this node is found, whether that's a document or another element.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siblingElements Iterable<XmlNode>
Returns an Iterable over the XmlElement siblings of this node. If the node has no parent or no siblings, return an empty collection.
no setterinherited
siblings Iterable<XmlNode>
Returns an Iterable over the siblings of this node. If the node has no parent or no siblings, return a collection with just this node.
no setterinherited
text String
Return the concatenated text of this node and all its descendants, for XmlData nodes return the textual value of the node.
no setterinherited

Methods

accept<T>(XmlVisitor<T> visitor) → T
Dispatch the invocation depending on this type to the visitor.
inherited
attachParent(XmlNode parent) → void
Internal helper to attach a child to this parent, do not call directly.
inherited
copy() XmlSimpleName
Return a copy of this node and all its children.
detachParent(XmlNode parent) → void
Internal helper to detach a child from its parent, do not call directly.
inherited
findAllElements(String name, {String? namespace}) Iterable<XmlElement>
Return a lazy Iterable of the recursive child elements in document order with the specified tag name.
inherited
findElements(String name, {String? namespace}) Iterable<XmlElement>
Return a lazy Iterable of the direct child elements in document order with the specified tag name and namespace.
inherited
getAttribute(String name, {String? namespace}) String?
Return the attribute value with the given name, or null.
inherited
getAttributeNode(String name, {String? namespace}) XmlAttribute?
Return the attribute node with the given name, or null.
inherited
getAttributeNodeStrictQualified(String qualifiedName) XmlAttribute?
inherited
getAttributeStrictQualified(String qualifiedName) String?
inherited
getElement(String name, {String? namespace}) XmlElement?
Return the first child element with the given name, or null.
inherited
matchName<Z>({required Z prefix(XmlPrefixName), required Z simple(XmlSimpleName)}) → Z
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAttribute(String name, {String? namespace}) → void
Removes the attribute value with the given fully qualified name.
inherited
replace(XmlNode other) → void
Replace this node with other.
inherited
setAttribute(String name, String? value, {String? namespace}) → void
Set the attribute value with the given fully qualified name to value. If an attribute with the name already exist, its value is updated. If the value is null, the attribute is removed.
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