Java - Simple API for XML (SAX)

Java Conceptuel Diagram

About

The Simple API for XML (SAX) is the event-driven, serial-access mechanism of Jaxp that does element-by-element processing.

Setting up a program to use SAX requires a bit more work than setting up to use the Document Object Model (DOM).

You cannot go back to an earlier position or leap ahead to a different position.

Package

  • Entry Point: SAXParserFactory gives a SAXParser where we can play with the document.
  • org.xml.sax: Defines the basic Sax APIs.

Jaxpintro Saxapi

Documentation / Reference





Discover More
Java Conceptuel Diagram
Java - Streaming API for XML (StAX)

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...
Java Conceptuel Diagram
Java XML - JDOM

Jdom want to provide a robust, light-weight means of reading and writing XML data without complex and memory-consumptive options. JDOM is an in-memory representation of an XML document. JDOM interoperates...
Java Conceptuel Diagram
Java XML - Java API for XML Processing (JAXP)

API JAXP (Java API for XML Processing) is an umbrella term that bundle the various low-level XML APIs in JavaSE. ie the parser standards javax/xml/parsers/package-summaryParsers Package (javax.xml.parsers):...
Java Conceptuel Diagram
Java XML - Stream of event

model in Java. Jackson: (XStream: )...
Java Conceptuel Diagram
Java XML - XStream (Xml, Json)

XStream is not a data binding tool. It is a serialization tool. The architecture of XStream consists of the four main components: Component Description Converters...
Java Conceptuel Diagram
Jaxp - Plugin

The factory APIs for SAX, STAX and XSLT let you plug in an XML implementation offered by another vendor without changing your source code. The implementation you get depends on the setting of the...
Jaxpintro Xsltapi
Jaxp - XSLT or TrAX (Transformation API for XML)

in The XSLT APIs defined in javax.xml.transform let you write XML data to a file or convert it into other forms. You can even use it in conjunction with the SAX APIs to convert legacy data to XML. ...



Share this page:
Follow us:
Task Runner