XmlEvent

sealed class XmlEvent(val extLocationInfo: XmlReader.LocationInfo?)

A class to represent the events that can occur in XML Documents

Author

Created by pdvrieze on 16/11/15.

Inheritors

Constructors

Link copied to clipboard
protected constructor(locationInfo: String?)
protected constructor(extLocationInfo: XmlReader.LocationInfo?)

Types

Link copied to clipboard
class Attribute(    val extLocationInfo: XmlReader.LocationInfo?,     namespaceUri: CharSequence,     localName: CharSequence,     prefix: CharSequence,     value: CharSequence) : XmlEvent
Link copied to clipboard
object Companion
Link copied to clipboard
class EndDocumentEvent(val extLocationInfo: XmlReader.LocationInfo?) : XmlEvent
Link copied to clipboard
class EndElementEvent(    val extLocationInfo: XmlReader.LocationInfo?,     val namespaceUri: String,     val localName: String,     val prefix: String,     namespaceContext: IterableNamespaceContext) : XmlEvent.NamedEvent
Link copied to clipboard
class EntityRefEvent(val extLocationInfo: XmlReader.LocationInfo?, val localName: String, val text: String) : XmlEvent.TextEvent
Link copied to clipboard
abstract class NamedEvent(val extLocationInfo: XmlReader.LocationInfo?, val namespaceUri: String, val localName: String, val prefix: String) : XmlEvent
Link copied to clipboard
class NamespaceImpl(namespacePrefix: String, namespaceUri: String) : Namespace
Link copied to clipboard
class ProcessingInstructionEvent(val extLocationInfo: XmlReader.LocationInfo?, val target: String, val data: String) : XmlEvent.TextEvent
Link copied to clipboard
class StartDocumentEvent(    val extLocationInfo: XmlReader.LocationInfo?,     val encoding: String?,     val version: String?,     val standalone: Boolean?) : XmlEvent
Link copied to clipboard
class StartElementEvent(    val extLocationInfo: XmlReader.LocationInfo?,     val namespaceUri: String,     val localName: String,     val prefix: String,     val attributes: Array<out XmlEvent.Attribute>,     parentNamespaceContext: IterableNamespaceContext,     namespaceDecls: List<Namespace>) : XmlEvent.NamedEvent
Link copied to clipboard
open class TextEvent(val extLocationInfo: XmlReader.LocationInfo?, val eventType: EventType, val text: String) : XmlEvent

Properties

Link copied to clipboard
abstract val eventType: EventType
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun writeTo(writer: XmlWriter)