XmlStartElementEvent class
Event of an XML start element node.
Constructors
-
XmlStartElementEvent(String name, List<
XmlEventAttribute> attributes, bool isSelfClosing)
Properties
-
attributes
→ List<
XmlEventAttribute> -
final
- buffer → String?
-
Return the underlying buffer.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSelfClosing → bool
-
final
- localName → String
-
The local name, excluding the namespace prefix.
no setterinherited
- name → String
-
The fully qualified name.
final
- namespacePrefix → String?
-
The namespace prefix, or
null
.no setterinherited - namespaceUri → String?
-
The namespace URI, or
null
. Can only be resolved when the named entity has complete and up-to-dateXmlHasParent.parent
information.no setterinherited - nodeType → XmlNodeType
-
Return the node type of this node.
no setteroverride
- parent → XmlStartElementEvent?
-
Return the parent event of type XmlStartElementEvent, or
null
.no setterinherited - parentEvent → XmlStartElementEvent?
-
Return the parent event of type XmlStartElementEvent, or
null
.no setterinherited - qualifiedName → String
-
The fully qualified name (alias to name).
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int?
-
Return the start location in the input buffer, or
null
.no setterinherited - stop → int?
-
Return the start location in the input buffer, or
null
.no setterinherited
Methods
-
accept(
XmlEventVisitor visitor) → void -
Dispatch to the
visitor
based on event type.override -
attachBuffer(
String? buffer) → void -
Internal helper to attach the buffer to the event, do not call directly.
inherited
-
attachLocation(
int? start, int? stop) → void -
Internal helper to attach the location to the event, do not call directly.
inherited
-
attachParent(
XmlStartElementEvent? parent) → void -
Internal helper to attach the parent to the event, 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override