Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6sax2xmlreader.h
Go to the documentation of this file.
1 
14 #ifndef P6SAX2XMLREADER_H__
15 #define P6SAX2XMLREADER_H__ 1
16 
17 #include "p6err.h"
18 #include "p6sax2dtdhandler.h"
19 #include "p6sax2entityresolver.h"
20 #include "p6sax2errorhandler.h"
21 #include "p6sax2contenthandler.h"
22 
23 
24 #ifdef __cplusplus
25 namespace P6R {
26 extern "C" {
27 #endif
28 
38 static const P6SAX2FLAGS P6SAX2_NOFLAGS = 0x00000000;
39 static const P6SAX2FLAGS P6SAX2_TRACEON = 0x00000001;
40 
41 
89 #undef INTERFACE
90 #define INTERFACE p6ISAX2XMLReader
92 {
105  P6DECLCOMMETHOD(initialize)(P6THIS_ P6SAX2FLAGS flags ) P6PURE;
106 
119  P6DECLCOMMETHOD(getContentHandler)(P6THIS_ p6ISAX2ContentHandler** pObject ) P6PURE;
120 
134  P6DECLCOMMETHOD(getDTDHandler)(P6THIS_ p6ISAX2DTDHandler** pObject ) P6PURE;
135 
149  P6DECLCOMMETHOD(getEntityResolver)(P6THIS_ p6ISAX2EntityResolver** pObject ) P6PURE;
150 
163  P6DECLCOMMETHOD(getErrorHandler)(P6THIS_ p6ISAX2ErrorHandler** pObject ) P6PURE;
164 
177  P6DECLCOMMETHOD(setContentHandler)(P6THIS_ p6ISAX2ContentHandler* pObject ) P6PURE;
178 
189  P6DECLCOMMETHOD(setDTDHandler)(P6THIS_ p6ISAX2DTDHandler* pObject ) P6PURE;
190 
201  P6DECLCOMMETHOD(setEntityResolver)(P6THIS_ p6ISAX2EntityResolver* pObject ) P6PURE;
202 
213  P6DECLCOMMETHOD(setErrorHandler)(P6THIS_ p6ISAX2ErrorHandler* pObject ) P6PURE;
214 
226  P6DECLCOMMETHOD(releaseAllHandlers)(P6THIS) P6PURE;
227 
241  P6DECLCOMMETHOD(getFeature)(P6THIS_ const P6CHAR* pString, P6BOOL* pResult ) P6PURE;
242 
256  P6DECLCOMMETHOD(getProperty)(P6THIS_ const P6CHAR* pString, P6VOID** pObject ) P6PURE;
257 
271  P6DECLCOMMETHOD(setFeature)(P6THIS_ const P6CHAR* pString, P6BOOL result ) P6PURE;
272 
286  P6DECLCOMMETHOD(setProperty)(P6THIS_ const P6CHAR* pString, P6VOID* pObject ) P6PURE;
287 };
288 
289 // {733ECF23-1DDC-4d18-8B30-FFD4708180C7}
290 #define IF_p6ISAX2XMLReader {0x733ecf23,0x1ddc,0x4d18,{0x8b,0x30,0xff,0xd4,0x70,0x81,0x80,0xc7}}
291 
292 // {AC64AD31-4A89-4675-B4DB-2334976282F3}
293 #define COMP_p6SAX2XMLReader {0xac64ad31,0x4a89,0x4675,{0xb4,0xdb,0x23,0x34,0x97,0x62,0x82,0xf3}}
294 
295 #ifdef __cplusplus
296 }
297 } // namespace
298 #endif
299 
300 
301 #endif
302 
303 
304 
305 
306 
The purpose of this callback is to allow the application to resolve the location of an external entit...
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
This is the main SAX interface.
Standard error codes.
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
This interface is implemented by the application making use of the p6sax2 component.
This SAX2 interface is implemented by an application using P6R's XML parser.
This SAX2 interface is implemented by an application using P6R's XML parser.
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This SAX2 interface is implemented by an application using P6R's XML parser.
P6UINT32 P6SAX2FLAGS
P6SAX2FLAGS.
This SAX2 interface is implemented by an application using P6R's XML parser.
The purpose of this callback is to notify an applicaton of DTD parsing events.
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
void P6VOID
Definition: p6types.h:109
This interface defines the methods than an application is notified of SAX2 errors during the XML pars...
#define P6THIS
Definition: p6defs.h:194
char P6CHAR
Narrow character type.
Definition: p6types.h:105
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188