XmlEvent class abstract
Immutable base class for all events.
Constructors
- XmlEvent()
- Default constructor for an event.
Properties
- buffer → String?
-
Return the underlying buffer.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeType → XmlNodeType
-
Return the node type of this node.
no setter
- 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 - 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. -
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited