StockHandler

Earlier in this chapter, we saw the code for our implementation of a MakeHandler class that handled the XML parsing events for the makelist.xml file, and how it utilized the enterprise curl XML parsing design pattern. We now need to create another implementation based on this pattern that will handle the events fired when parsing one of our manufacturer inventory files, such as nissan inventory.xml.

Figure 14-19. MakeSheet code listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: MakeSheet.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: Creates the layout for the Make data to be || displayed in a Sheet ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| {define-class public MakeSheet ||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

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.