XmlLiteDocument class
A parsed document: top-level comments/PIs around the single root.
Constructors
-
XmlLiteDocument(List<
XmlLiteNode> children, XmlLiteElement root)
Properties
-
children
→ List<
XmlLiteNode> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- root → XmlLiteElement
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
elementById(
String id) → XmlLiteElement? -
The element whose
Id/ID/idattribute isid, or null. -
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
Static Methods
-
parse(
Uint8List bytes) → XmlLiteDocument - Parses UTF-8 (optionally BOM-prefixed) XML. Throws FormatException on malformed input or a DTD that declares entities.
-
parseString(
String source) → XmlLiteDocument