XmlNodeType enum

Enum of the different XML node types.

Inheritance
Available extensions

Values

ATTRIBUTE → const XmlNodeType

An attribute, e.g. id="123".

CDATA → const XmlNodeType

A character data, e.g. <![CDATA[escaped text]]>.

COMMENT → const XmlNodeType

A comment, e.g. <!-- comment -->.

DECLARATION → const XmlNodeType

A xml declaration, e.g. <?xml version='1.0'?>.

DOCUMENT_TYPE → const XmlNodeType

A document type declaration, e.g. <!DOCTYPE html>.

DOCUMENT → const XmlNodeType

A document object.

DOCUMENT_FRAGMENT → const XmlNodeType

A document fragment, e.g. #document-fragment.

ELEMENT → const XmlNodeType

An element, e.g. <item> or <item />.

PROCESSING → const XmlNodeType

A processing instruction, e.g. <?pi test?>.

TEXT → const XmlNodeType

A text, e.g. Hello World.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<XmlNodeType>
A constant List of the values in this enum, in order of their declaration.