Java - Streaming API for XML (StAX)

> Procedural Languages > Java > Java - Xml > Java XML - Java API for XML Processing (JAXP)

1 - About

The StAX APIs defined in javax.xml.stream provide a streaming Java technology-based, event-driven, pull-parsing API for reading and writing XML documents. StAX offers a simpler programming model than SAX and more efficient memory management than DOM.

StAX enables developers to parse and modify XML streams as events.

The Streaming API for XML (StAX) is a Java based API for pull-parsing XML.

Advertising

3 - Package

  • javax.xml.stream: Provides StAX-specific transformation APIs.

4 - Implementation

5 - Documentation / Reference