O'Reilly logo

Enterprise Curl by Paul Sheehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required