Streaming API for XML ( StAX ) is an application programming interface ( API ) to read and write XML documents, originating from the Java programming language community.
4-491: Stax can refer to: StAX , (Computer Programming) Streaming API for reading and writing XML in Java Stax Ltd , a Japanese brand of electrostatic headphones Stax Records , an American record company Lay's Stax , a brand of potato snack chips sold by Lay's Topics referred to by the same term [REDACTED] This disambiguation page lists articles associated with
8-455: The document, and event driven algorithm like SAX has a small memory footprint and is typically much faster. These two access metaphors can be thought of as polar opposites. A tree based API allows unlimited, random access and manipulation, while an event based API is a 'one shot' pass through the source document. StAX was designed as a median between these two opposites. In the StAX metaphor,
12-425: The programmatic entry point is a cursor that represents a point within the document. The application moves the cursor forward - 'pulling' the information from the parser as it needs. This is different from an event based API - such as SAX - which 'pushes' data to the application - requiring the application to maintain state between events as necessary to keep track of location within the document. StAX has its roots in
16-539: The title Stax . If an internal link led you here, you may wish to change the link to point directly to the intended article. Retrieved from " https://en.wikipedia.org/w/index.php?title=Stax&oldid=1121216994 " Category : Disambiguation pages Hidden categories: Short description is different from Wikidata All article disambiguation pages All disambiguation pages StAX Traditionally, XML APIs are either: Both have advantages: DOM , for example, allows for random access to
#803196