EndElement Event

Fired when an end-element tag is encountered.

Syntax

public open class DefaultXmlEventListener : XmlEventListener {
  ...
  public override fun endElement(e: XmlEndElementEvent) {}
  ...
}

public class XmlEndElementEvent {
  val namespace: String?
  val element: String?
  val qName: String?
  val isEmpty: Boolean
}

Remarks

The EndElement event is fired when an end-element tag is found in the document.

The element name is provided by the Element parameter.

The IsEmpty parameter is true when the event corresponds with an empty element declaration.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]