javax.xml.transform.stax (Java SE 15 & JDK 15)
Description: declaration: module: java.xml, package: javax.xml.transform.stax
Keywords: javax.xml.transform.stax package

Module java.xml

# Package javax.xml.transform.stax

Provides StAX specific transformation classes.

The `StAXSource` class encapsulates a `XMLStreamReader` or `XMLEventReader` and can be used as an input where a `Source` object is accepted.

The `StAXResult` class encapsulates a `XMLStreamWriter` or `XMLEventWriter` and can be used as an output where a `Result` object is accepted.

Since:
  1.6

- Class Summary
  Class | Description
  --- | ---
  StAXResult | Acts as a holder for an XML `Result` in the form of a StAX writer,i.e.
  StAXSource | Acts as a holder for an XML `Source` in the form of a StAX reader,i.e.