class

XNodeType

@Js
@Serializable { simple=true }
const class XNodeType : Enum

Enumerates the type of XNode and current node of XParser.

constructors fromStr

Return the XNodeType instance for the specified name

fields elem

Element node type returned by XElem.nodeType

vals

List of XNodeType values indexed by ordinal

doc

Document node type by XDoc.nodeType

pi

Processing instruction node type returned by XPi.nodeType

text

Text node type returned by XText.nodeType

elemEnd

End of element used by XParser when pull parsing

elemStart

Start of element used by XParser when pull parsing

doc const static XNodeType : doc

Document node type by XDoc.nodeType

elem const static XNodeType : elem

Element node type returned by XElem.nodeType

elemEnd const static XNodeType : elemEnd

End of element used by XParser when pull parsing.

elemStart const static XNodeType : elemStart

Start of element used by XParser when pull parsing.

fromStr static new fromStr(Str name, Bool checked)

Return the XNodeType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

pi const static XNodeType : pi

Processing instruction node type returned by XPi.nodeType

text const static XNodeType : text

Text node type returned by XText.nodeType

vals const static XNodeType[] : vals

List of XNodeType values indexed by ordinal

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST