doPeek

protected open fun doPeek(): List<XmlEvent>

Get the next event to add to the queue. Children can override this to customize the events that are added to the peek buffer. Normally this method is only called when the peek buffer is empty.