CDSECT

Properties

Link copied to clipboard

Can this event type be ignored without losing meaning.

Link copied to clipboard

Is this an event for elements that have text content.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
abstract fun createEvent(reader: XmlReader): XmlEvent

Create an XmlEvent corresponding to the event type. The parameters are taken from the reader. The reader is expected to just have read the event with this type.

Link copied to clipboard
open fun writeEvent(writer: XmlWriter, textEvent: XmlEvent.TextEvent)

Shortcut to allow writing text events (only for text event types). The reader is expected to just have read the event with this type.

abstract fun writeEvent(writer: XmlWriter, reader: XmlReader)

Read the rest of the event from the reader and write it to the writer. The reader is expected to just have read the event with this type.