newGenericReader

abstract fun newGenericReader(input: CharSequence, expandEntities: Boolean = false): XmlReader

Create a new XML reader with the given input. This reader is generic.

Return

A platform independent XmlReader, generally nl.adaptivity.xmlutil.core.KtXmlReader

Parameters

input

The text to be parsed

expandEntities

If true, entities are directly expanded (throwing errors if not found)


abstract fun newGenericReader(reader: Reader, expandEntities: Boolean = false): XmlReader

Create a new XML reader with the given input. This reader is generic.

Return

A platform independent XmlReader, generally nl.adaptivity.xmlutil.core.KtXmlReader

Parameters

reader

The reader/stream to use as input

expandEntities

If true, entities are directly expanded (throwing errors if not found)