The SAX parser won’t build objects in memory as the DOM parser does. When XML is parsed by SAX parsers, SAX events are generated to report the parsed XML infosets. To receive the SAX events, you need to register a document handler to the SAX parser. The following are the major Oracle XDK SAX parsing handlers:
Document Handler Provides functions receiving SAX parsing events. There are several DocumentHandlers, including org.xml.sax.DefaultHandler and oracle.xml.parser.v2.XMLDocumentHandler.
Event Handler Provides error handling, including ...