XML parser interface classes provide an object-oriented interface to third-party XML parser software that is required to produce the SAX event stream that XBinder generated code uses to decode and validate XML instances. The following are the basic classes that define this interface:
OSXMLContentHandler - This is the base interface class that defines the standard SAX startElement, characters, and endElement virtual methods.
OSXMLErrorHandler - This is the base error handling class that is used to report errors in the SAX event stream. This contains methods for reporting errors at various severity levels including warning, error, and fatalError.
OSXMLReader - This is the base class for an XML reader implementation. This contains various overloaded versions of the virtual parse method. This is the entry method that an application calls to begin parsing an XML document. The rtSaxCppCreateXmlReader global function is a factory function that is used to create a concrete instance of this class.
OSXMLDefaultHandlerIF - This class is derived from the OSXMLContentHandler and OSXMLErrorHandler base classes. It is used as the base class for XBinder generated global element control classes which implement the standard SAX content handler methods.