类 StaxUtils
- java.lang.Object
- org.springframework.batch.item.xml.StaxUtils
public abstract class StaxUtils extends java.lang.Object
StAX utility methods.
This class is thread-safe.- 作者:
- Josh Long, Mahmoud Ben Hassine
构造器详细资料
StaxUtils
public StaxUtils()
方法详细资料
getSource
public static javax.xml.transform.Source getSource(javax.xml.stream.XMLEventReader r) throws javax.xml.stream.XMLStreamException
- 抛出:
javax.xml.stream.XMLStreamException
getResult
public static javax.xml.transform.Result getResult(javax.xml.stream.XMLEventWriter w)
createXmlInputFactory
public static javax.xml.stream.XMLInputFactory createXmlInputFactory()