enum class xml::XNodeType

sys::Obj
  sys::Enum
    xml::XNodeType

@Js
@Serializable { simple=true }

Source

Enumerates the type of XNode and current node of XParser.

doc

const static XNodeType doc := ...

Source

Document node type by XDoc.nodeType

elem

const static XNodeType elem := ...

Source

Element node type returned by XElem.nodeType

elemEnd

const static XNodeType elemEnd := ...

Source

End of element used by XParser when pull parsing.

elemStart

const static XNodeType elemStart := ...

Source

Start of element used by XParser when pull parsing.

fromStr

static new fromStr(Str name, Bool checked := true)

Source

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 := ...

Source

Processing instruction node type returned by XPi.nodeType

text

const static XNodeType text := ...

Source

Text node type returned by XText.nodeType

vals

const static XNodeType[] vals := ...

Source

List of XNodeType values indexed by ordinal