StAX라는 건데, 간단하지만 무척 필요했던 기능이죠. 진작에 있었으면 발음마저 므흣한 SAX잡고 고생하지 않았을텐데. 사실 04년 3월에 Final Release된 스펙입니다. (저만 몰랐단 뜻 ;;)
Benefits of StAX (Streaming API fox XML)
The Streaming API for XML gives parsing control to the programmer by exposing a simple iterator based API and an underlying stream of events. Methods such as next() and hasNext() allow an application developer to ask for the next event (pull the event) rather than handling the event in a callback. This gives a developer more procedural control over the processing of the XML document. The Streaming API also allows the programmer to stop processing the document, skip ahead to sections of the document, and get subsections of the document.