PI Event
Fired when a processing instruction section is encountered.
Syntax
public open class DefaultRestEventListener : RestEventListener { ... public override fun pi(e: RestPIEvent) {} ... } public class RestPIEvent { val text: String? }
Remarks
The PI event is fired whenever a processing instruction section (<? ..text... ?>) is found in the document.
The full text of the processing instruction is provided by the Text parameter.