open static fun createContentHandler(streamWriter: XMLStreamWriter): ContentHandler
Create a SAX ContentHandler that writes to the given StAX XMLStreamWriter.
streamWriter - the StAX stream writer
Return
a content handler writing to the streamWriter
open static fun createContentHandler(eventWriter: XMLEventWriter): ContentHandler
Create a SAX ContentHandler that writes events to the given StAX XMLEventWriter.
eventWriter - the StAX event writer
Return
a content handler writing to the eventWriter