EventType

Enumeration of all even types reported by KtXml. Some event types are only reported when calling nextToken() (opposed to next()).

Entries

Link copied to clipboard

The parser is at the very beginning of the document and nothing was read yet.

Link copied to clipboard

Logical end of the xml document.

Link copied to clipboard

Returned from eventType, next() and nextToken() when a start tag was read.

Link copied to clipboard

Returned from eventType, next(), or nextToken() when an end tag was read. The name of the start tag, its namespace and prefix are available via the properties with these names.

Link copied to clipboard

Character data was read and will is available via the text property.

Link copied to clipboard

A CDATA sections was just read; this token is available only from calls to nextToken(). A call to next() will accumulate various text events into a single event of type TEXT. The text contained in the CDATA section is available via the text property.

Link copied to clipboard

An entity reference was just read.

Link copied to clipboard

Ignorable whitespace was just read.

Link copied to clipboard

An XML processing instruction declaration was just read.

Link copied to clipboard

An XML comment was just read.

Link copied to clipboard

An XML document type declaration was just read.

Link copied to clipboard

XML Declaration

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): EventType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.