XmlNodeType enum

Enum of the different XML Node types.

Constants

ATTRIBUTE → const XmlNodeType

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

const XmlNodeType(1)
CDATA → const XmlNodeType

Raw character data (CDATA), e.g. <![CDATA[escaped text]]>.

const XmlNodeType(3)
COMMENT → const XmlNodeType

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

const XmlNodeType(5)
DOCUMENT → const XmlNodeType

A document object.

const XmlNodeType(6)
DOCUMENT_FRAGMENT → const XmlNodeType

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

const XmlNodeType(7)
DOCUMENT_TYPE → const XmlNodeType

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

const XmlNodeType(8)
ELEMENT → const XmlNodeType

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

const XmlNodeType(0)
PROCESSING → const XmlNodeType

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

const XmlNodeType(4)
TEXT → const XmlNodeType

Text content within a node.

const XmlNodeType(2)
values → const List<XmlNodeType>

A constant List of the values in this enum, in order of their declaration.

const List<XmlNodeType>

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited