OSXMLDefaultHandlerIF Class ReferenceThis class is derived from the SAX class DefaultHandler base class.
More...
#include <rtSaxCppParserIF.h>
Inheritance diagram for OSXMLDefaultHandlerIF:
List of all members.
|
Public Member Functions |
|
virtual | ~OSXMLDefaultHandlerIF () |
| virtual int | startElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname, const OSUTF8CHAR *const *attrs)=0 |
| | Receive notification of the beginning of an element.
|
| virtual int | characters (const OSUTF8CHAR *const chars, unsigned int length)=0 |
| | Receive notification of character data.
|
| virtual int | endElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname)=0 |
| | Receive notification of the end of an element.
|
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 264 of file rtSaxCppParserIF.h.
Member Function Documentation
| virtual int OSXMLDefaultHandlerIF::characters |
( |
const OSUTF8CHAR *const |
chars, |
|
|
unsigned int |
length |
|
) |
[pure virtual] |
|
|
|
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.
- Parameters:
-
| chars | The characters from the XML document. |
| length | The number of characters to read from the array. |
Implements OSXMLContentHandler.
Implemented in OSXMLAnyHandler, OSXMLDefaultHandler, OSXMLSimpleTypeHandler, and OSXMLSoapHandler. |
| virtual int OSXMLDefaultHandlerIF::endElement |
( |
const OSUTF8CHAR *const |
uri, |
|
|
const OSUTF8CHAR *const |
localname, |
|
|
const OSUTF8CHAR *const |
qname |
|
) |
[pure virtual] |
|
| virtual int OSXMLDefaultHandlerIF::startElement |
( |
const OSUTF8CHAR *const |
uri, |
|
|
const OSUTF8CHAR *const |
localname, |
|
|
const OSUTF8CHAR *const |
qname, |
|
|
const OSUTF8CHAR *const * |
attrs |
|
) |
[pure virtual] |
|
|
|
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.
- Parameters:
-
| uri | The URI of the asscioated namespace for this element |
| localname | The local part of the element name |
| qname | The QName of this element |
| attrs | The attributes name/value pairs attached to the element, if any. |
- See also:
- endElement
Implements OSXMLContentHandler.
Implemented in OSXMLAnyHandler, OSXMLDefaultHandler, OSXMLSimpleTypeHandler, and OSXMLSoapHandler. |
The documentation for this class was generated from the following file:
|