Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6sax2contenthandler.h
Go to the documentation of this file.
1 
11 #ifndef P6SAX2CONTENTHANDLER_H__
12 #define P6SAX2CONTENTHANDLER_H__ 1
13 
14 #include "p6sax2types.h"
15 #include "p6sax2locator.h"
16 #include "p6sax2attributes.h"
17 
18 
19 #ifdef __cplusplus
20 namespace P6R {
21 extern "C" {
22 #endif
23 
32 static const P6SAX2METADATA P6SAX2META_NOFLAGS = 0x00000000;
33 static const P6SAX2METADATA P6SAX2META_INCDATA = 0x00000001;
34 
35 
60 #undef INTERFACE
61 #define INTERFACE p6ISAX2ContentHandler
63 {
81  P6DECLCOMMETHOD(characters)(P6THIS_ P6SAX2STRING* pBuffer, P6SAX2METADATA meta ) P6PURE;
82 
92  P6DECLCOMMETHOD(endDocument)(P6THIS) P6PURE;
93 
119  P6DECLCOMMETHOD(endElement)(P6THIS_ P6SAX2STRING* pURI, P6SAX2STRING* pLocalName, P6SAX2STRING* pQName ) P6PURE;
120 
137  P6DECLCOMMETHOD(endPrefixMapping)(P6THIS_ P6SAX2STRING* pPrefix ) P6PURE;
138 
152  P6DECLCOMMETHOD(ignorableWhitespace)(P6THIS_ const P6CHAR* pBuffer, P6UINT32 start, P6UINT32 length ) P6PURE;
153 
165  P6DECLCOMMETHOD(processingInstruction)(P6THIS_ P6SAX2STRING* pTarget, P6SAX2STRING* pData ) P6PURE;
166 
179  P6DECLCOMMETHOD(setDocumentLocator)(P6THIS_ p6ISAX2Locator* pObject ) P6PURE;
180 
193  P6DECLCOMMETHOD(skippedEntity)(P6THIS_ P6SAX2STRING* pName ) P6PURE;
194 
204  P6DECLCOMMETHOD(startDocument)(P6THIS) P6PURE;
205 
234  P6DECLCOMMETHOD(startElement)(P6THIS_ P6SAX2STRING* pURI,
235  P6SAX2STRING* pLocalName,
236  P6SAX2STRING* pQName,
237  P6SAX2STRING* pRawElement,
238  p6ISAX2Attributes* pAtts
239  ) P6PURE;
240 
257  P6DECLCOMMETHOD(startPrefixMapping)(P6THIS_ P6SAX2STRING* pPrefix, P6SAX2STRING* pURI ) P6PURE;
258 };
259 
260 // {6AD46931-5D6B-4d3a-9D3F-430B29912724}
261 #define IF_p6ISAX2ContentHandler {0x6ad46931,0x5d6b,0x4d3a,{0x9d,0x3f,0x43,0xb,0x29,0x91,0x27,0x24}}
262 
263 #ifdef __cplusplus
264 }
265 } // namespace
266 #endif
267 
268 
269 
270 #endif
271 
272 
273 
274 
275 
This is the standard structure used to point to tokens inside the XML document being parsed...
unsigned int P6UINT32
Definition: p6types.h:46
#define P6PURE
Definition: p6defs.h:176
This interface is created by the p6ISAX2XMLReader component and returned to the application via the P...
P6UINT32 P6SAX2METADATA
P6SAX2METADATA.
This is a standard SAX2 interface which is implemented by P6R's XML parser.
Definition: p6sax2locator.h:35
This interface is created by the P6R::p6ISAX2XMLReader component and returned to the application via ...
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.
To avoid having to copy strings or creating new strings we simply point into a set of buffers the sta...
Definition: p6sax2types.h:34
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:173
This is a standard SAX2 utility interface which is implemented by P6R's XML parser.
#define P6THIS_
Definition: p6defs.h:177
#define P6THIS
Definition: p6defs.h:178
char P6CHAR
Narrow character type.
Definition: p6types.h:84
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:172