Module java.xml

# Package javax.xml.transform.stax

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

Related Packages
Package
Description
javax.xml.transform
Defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
javax.xml.transform.dom
Provides DOM specific transformation classes.
javax.xml.transform.sax
Provides SAX specific transformation classes.
javax.xml.transform.stream
Provides stream and URI specific transformation classes.
Classes
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.