XmlNodeType enum
Enum of the different XML node types.
Values
- ATTRIBUTE → const XmlNodeType
-
An attribute like
id="123". - CDATA → const XmlNodeType
-
A CDATA section like
<!CDATA[[...]]>. - COMMENT → const XmlNodeType
-
A comment like
<!-- comment -->. - DECLARATION → const XmlNodeType
-
An XML declaration like
<?xml version='1.0'?>. - DOCUMENT_TYPE → const XmlNodeType
-
A document type declaration like
<!DOCTYPE html>. - DOCUMENT → const XmlNodeType
-
A document object at the root of a document tree.
- DOCUMENT_FRAGMENT → const XmlNodeType
-
A document fragment.
- ELEMENT → const XmlNodeType
-
An element node like
<item>. - ENTITY → const XmlNodeType
-
An entity declaration like
<!ENTITY...>. - NOTATION → const XmlNodeType
-
A notation declaration like
<!NOTATION...>. - PROCESSING → const XmlNodeType
-
A processing instruction like
<?pi test?>. - TEXT → const XmlNodeType
-
The text contents of a node.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.