Module java.xml
Package javax.xml.transform.stax
This package implements StAX-specific transformation APIs. It provides
classes which allow input from a StAX reader, that is,
XMLStreamReader
or XMLEventReader
,
and output to a StAX writer, that is,
XMLStreamWriter
or XMLEventWriter
.
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 XMLResult
in the form of a StAX writer,i.e.StAXSource Acts as a holder for an XMLSource
in the form of a StAX reader,i.e.