XmlNodeType enum

Enum of the different XML Node types.

Inheritance

Constructors

XmlNodeType()
const

Values

ATTRIBUTE → const XmlNodeType

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

CDATA → const XmlNodeType

Raw character data (CDATA), 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 node, e.g. <item> or <item />.

PROCESSING → const XmlNodeType

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

TEXT → const XmlNodeType

Text content within a node.

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.