Class StaxUtils

java.lang.Object
org.springframework.util.xml.StaxUtils

public abstract class StaxUtils extends Object
Convenience methods for working with the StAX API. Partly historic due to JAXP 1.3 compatibility; relying on JAXP 1.4 as included in JDK 1.6 and higher.

In particular, methods for using StAX (javax.xml.stream) in combination with the TrAX API (javax.xml.transform), and converting StAX readers/writers into SAX readers/handlers and vice-versa.

Since:
3.0
Author:
Arjen Poutsma, Juergen Hoeller