type
XNodeType
@Js
@Serializable { simple=true }
enum class XNodeType : Enum
enum
doc |
Document node type by |
---|---|
elem |
Element node type returned by |
text |
Text node type returned by |
pi |
Processing instruction node type returned by |
elemStart |
Start of element used by XParser when pull parsing. |
elemEnd |
End of element used by XParser when pull parsing. |
constructors
fromStr |
Return the XNodeType instance for the specified name. |
---|
fields
vals |
List of XNodeType values indexed by ordinal |
---|
Slot Details
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
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