XmlLiteElement class

An element: its qualified name, attributes (namespace declarations included, as written) and children.

Constructors

XmlLiteElement(String qname, List<XmlLiteAttribute> attributes)

Properties

attributes → List<XmlLiteAttribute>
final
childElements → Iterable<XmlLiteElement>
no setter
children → List<XmlLiteNode>
final
hashCode → int
The hash code for this object.
no setterinherited
localName → String
no setter
namespaceUri → String
This element's namespace URI.
no setter
parent ↔ XmlLiteElement?
getter/setter pairinherited
prefix → String
no setter
qname → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The concatenated text content of this element's descendants.
no setter

Methods

attribute(String qname) → String?
The value of the attribute named qname, or null.
child(String local) → XmlLiteElement?
The first child element with local name local, or null.
childrenNamed(String local) → Iterable<XmlLiteElement>
Child elements with local name local (any namespace).
descendantsNamed(String local) → Iterable<XmlLiteElement>
Every descendant element with local name local, in document order.
lookupNamespace(String prefix) → String?
The namespace URI bound to prefix here ('' for the default namespace when none is declared; null for an undeclared prefix).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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