OSXMLDefaultHandler Class Reference
This class is derived from the SAX class DefaultHandler base class. More...
#include <rtSaxCppParser.h>
Inheritance diagram for OSXMLDefaultHandler:

Public Member Functions | |
| OSXMLDefaultHandler (OSRTContext *pContext, const OSUTF8CHAR *elemName=0, OSINT32 level=0) | |
| virtual | ~OSXMLDefaultHandler () |
| virtual int | startElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname, const OSUTF8CHAR *const *attrs) |
| Receive notification of the beginning of an element. | |
| virtual int | characters (const OSUTF8CHAR *const chars, unsigned int length) |
| Receive notification of character data. | |
| virtual int | endElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname) |
| Receive notification of the end of an element. | |
| OSINT16 | getState () |
| This method returns the current state of the decoding process. | |
| virtual void | init (int level=0) |
| void | setElemName (const OSUTF8CHAR *elemName) |
| OSBOOL | isComplete () |
Protected Attributes | |
| OSRTCtxtPtr | mpContext |
| const OSUTF8CHAR * | mpElemName |
| OSINT32 | mLevel |
| OSINT16 | mStartLevel |
| OSINT16 | mReqElemCnt |
| OSINT16 | mCurrElemIdx |
| OSINT16 | mState |
Classes | |
| struct | ErrorInfo |
Detailed Description
This class is derived from the SAX class DefaultHandler base class.It contains variables and methods specific to decoding XML messages. It is used to intercept standard SAX parser events, such as startElement, characters, endElement. This class is used as a base class for XBinder generated global element control classes (<elem>_CC).
Definition at line 58 of file rtSaxCppParser.h.
Member Function Documentation
|
||||||||||||
|
Receive notification of character data. The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information.
Implements OSXMLContentHandler. Reimplemented in OSXMLSimpleTypeHandler, and OSXMLSoapHandler. |
|
||||||||||||||||
|
Receive notification of the end of an element. The SAX parser will invoke this method at the end of every element in the XML document; there will be a corresponding startElement() event for every endElement() event (even when the element is empty).
Implements OSXMLContentHandler. Reimplemented in OSXMLAnyHandler, OSXMLAnyTypeHandler, OSXMLSimpleTypeHandler, and OSXMLSoapHandler. |
|
|
This method returns the current state of the decoding process.
Definition at line 124 of file rtSaxCppParser.h. |
|
||||||||||||||||||||
|
Receive notification of the beginning of an element. The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding endElement() event for every startElement() event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement() event.
Implements OSXMLContentHandler. Reimplemented in OSXMLAnyHandler, OSXMLAnyTypeHandler, OSXMLSimpleTypeHandler, and OSXMLSoapHandler. |
The documentation for this class was generated from the following file:
