27 #ifndef _RTSAXCPPANY_H_ 28 #define _RTSAXCPPANY_H_ 30 #include "rtxsrc/OSRTContext.h" 32 #include "rtxmlsrc/rtSaxCppParser.h" 35 #include "rtxsrc/rtxCppXmlString.h" 36 #include "rtxmlsrc/OSXSDAnyTypeClass.h" 44 OSRTXMLString* mpAnyMsgData;
45 OSXSDAnyTypeClass* mpAnyTypeMsgData;
47 const OSUTF8CHAR** mppMsgData;
49 EXTXMLMETHOD
void localInit (OSRTContext* pContext);
50 EXTXMLMETHOD OSBOOL isEmptyElement (
const OSUTF8CHAR* qname);
56 (OSXSDAnyTypeClass& msgData, OSRTContext* pContext,
int level = 0);
58 EXTXMLMETHOD OSXMLAnyHandler
59 (OSXSDAnyTypeClass& msgData, OSRTContext* pContext,
60 const OSUTF8CHAR* elemName);
63 EXTXMLMETHOD OSXMLAnyHandler
64 (OSRTXMLString& msgData, OSRTContext* pContext,
int level = 0);
66 EXTXMLMETHOD OSXMLAnyHandler
67 (OSRTXMLString& msgData, OSRTContext* pContext,
68 const OSUTF8CHAR* elemName);
70 EXTXMLMETHOD OSXMLAnyHandler
71 (
const OSUTF8CHAR** ppMsgData, OSRTContext* pContext,
int level = 0);
73 EXTXMLMETHOD OSXMLAnyHandler
74 (
const OSUTF8CHAR** ppMsgData, OSRTContext* pContext,
75 const OSUTF8CHAR* elemName);
77 EXTXMLMETHOD ~OSXMLAnyHandler ();
80 (
const OSUTF8CHAR*
const uri,
81 const OSUTF8CHAR*
const localname,
82 const OSUTF8CHAR*
const qname,
83 const OSUTF8CHAR*
const* attrs);
86 (
const OSUTF8CHAR*
const chars, OSUINT32 length);
89 (
const OSUTF8CHAR*
const uri,
90 const OSUTF8CHAR*
const localname,
91 const OSUTF8CHAR*
const qname);
virtual EXTXMLMETHOD 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.
This class is derived from the SAX class DefaultHandler base class.
XML low-level C encode/decode functions.
virtual EXTXMLMETHOD int characters(const OSUTF8CHAR *const chars, unsigned int length)
Receive notification of character data.
virtual EXTXMLMETHOD int endElement(const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname)
Receive notification of the end of an element.