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

getXMLStreamWriter

@Nullable open static fun getXMLStreamWriter(result: Result): XMLStreamWriter

Return the XMLStreamWriter for the given StAX Result.

Parameters

result - a JAXP 1.4 StAXResult

Exceptions

IllegalArgumentException - if source isn't a JAXP 1.4 StAXResult or custom StAX Result

Return
the XMLStreamReader