SaxHandler

The SAXHandler class will be used by all applications that use the Enterprise Framework as the ancestor for that provides some of the SAX handling functionality, and the code required for the {constructor} method is shown in Figure 11-15.

The {constructor} method has a single argument called columns, and the developers will use this argument to instruct the SAXHandler exactly how many columns the _data class member Table field will need to be instantiated with. This will correspond to the number of data elements extracted from the XML return message.

The SAXHandler class has a number of class member fields, each of which serves a different purpose within the SAX parsing process. One of the more interesting settings is the element

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.