StringXmlParser class final
Simple XML parser implementation for parsing XML strings.
- Implemented types
Constructors
- StringXmlParser(String _content)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → FutureOr< void> - Closes this resource, relinquishing any underlying resources.
-
getAttributes(
) → Map< String, String> -
Returns the attributes of the current element as a map.
override
-
getCurrentToken(
) → XmlToken? -
Returns the current token after a successful nextToken call.
override
-
getCurrentValue(
) → String? -
Returns the text or raw value associated with the current token.
override
-
getElementName(
) → String? -
Returns the current element name if at an element token.
override
-
nextToken(
) → bool -
Advances the parser to the next token.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
skip(
) → void -
Skips the entire nested structure at the current cursor position.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited