constructSingleDocument

fun constructSingleDocument(optionalNode: Node?): Any?

Ensure that the stream contains a single document and construct it

Return

constructed instance

Parameters

optionalNode
  • composed Node