MakeHandler

Earlier in Chapter 4, we discussed the SAX parsing process and saw how a specific implementation of the DefaultHandler was required for each XML message being processed by the VMS Motors application. The MakeHandler class provides this functionality for the makelist.xml message.

Before we see how to implement the XML parsing methods within MakeHandler, we need to consider the XML format that is being returned from the server-side process. This is because the code developed has a direct correlation to the XML file, specifically the tag names that the data is captured for. For the VMS Motors application, the server-side component returns an XML document, as shown in Figure 14-10.

If you followed the installation instructions described ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.