endDocument

abstract fun endDocument()(source)

Close the document. This will do checks, and update the state, but there is no actual content in an xml stream that corresponds to it.