org.springframework.batch.item.xml

## Class 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.
  Author:
    Josh Long, Mahmoud Ben Hassine

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StaxUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static javax.xml.stream.XMLInputFactory` | `createXmlInputFactory()`
    `static javax.xml.transform.Result` | `getResult(javax.xml.stream.XMLEventWriter w)`
    `static javax.xml.transform.Source` | `getSource(javax.xml.stream.XMLEventReader r)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StaxUtils

          public StaxUtils()

  - ### Method Detail

    - #### getSource

          public static javax.xml.transform.Source getSource(javax.xml.stream.XMLEventReader r)
                                                      throws javax.xml.stream.XMLStreamException

      Throws:
        `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()