spring-framework / org.springframework.util.xml / StaxUtils / createCustomStaxResult

createCustomStaxResult

open static fun createCustomStaxResult(streamWriter: XMLStreamWriter): Result

Create a custom, non-JAXP 1.4 StAX Result for the given XMLStreamWriter.

Parameters

streamWriter - the StAX stream writer

Return
a source wrapping the streamWriter

open static fun createCustomStaxResult(eventWriter: XMLEventWriter): Result

Create a custom, non-JAXP 1.4 StAX Result for the given XMLEventWriter.

Parameters

eventWriter - the StAX event writer

Return
a source wrapping the eventWriter