EXI to XML serialization functions.
Classes | |
| struct | EXI2SAXReader |
| struct | EXI2SAXAttribute |
Typedefs | |
| typedef int(* | StartElementHandler )(void *userData, const OSUTF8CHAR *localname, const OSUTF8CHAR *qname, const OSUTF8CHAR *const *attrs) |
| SAX start element handler callback function definition. | |
| typedef int(* | EndElementHandler )(void *userData, const OSUTF8CHAR *localname, const OSUTF8CHAR *qname) |
| SAX end element handler callback function definition. | |
| typedef int(* | CharacterDataHandler )(void *userData, const OSUTF8CHAR *value, int len) |
| SAX characters handler callback function definition. | |
Functions | |
| EXTERNEXI EXI2SAXReader * | rtEXI2SAXCreateReader (OSCTXT *pctxt, void *pUserData, StartElementHandler startElemFunc, EndElementHandler endElemFunc, CharacterDataHandler charactersFunc) |
| This function is used to create a reader structure for use by the main SAX parser function. | |
| EXTERNEXI int | rtEXI2SAXParse (EXI2SAXReader *pReader) |
| This is the main SAX parser function. | |
| EXTERNEXI int | rtExi2XmlStream (OSCTXT *pctxt, OSCTXT *poutctxt) |
| This function transcodes an EXI encoded message to an XML output stream. | |
Typedef Documentation
|
|
SAX characters handler callback function definition.
Definition at line 76 of file rtEXI2SAX.h. |
|
|
SAX end element handler callback function definition.
Definition at line 63 of file rtEXI2SAX.h. |
|
|
SAX start element handler callback function definition.
Definition at line 51 of file rtEXI2SAX.h. |
Function Documentation
|
||||||||||||||||||||||||
|
This function is used to create a reader structure for use by the main SAX parser function.
|
|
|
This is the main SAX parser function. It converts decoded EXI events to SAX callback function invocations.
|
|
||||||||||||
|
This function transcodes an EXI encoded message to an XML output stream. The input context structure describes an encoded EXI message as either an input stream or in memory in its internal buffer. The output context is assumed to contain an initialized XML output stream set up with one of the rtxStream*CreateWriter functions (for example, rtxStreamFileCreateWriter to write to a file).
|
