Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6sax2locator.h
Go to the documentation of this file.
1 
10 #ifndef P6SAX2Locator_H__
11 #define P6SAX2Locator_H__ 1
12 
13 #include "p6err.h"
14 #include "p6comdef.h"
15 #include "p6sax2types.h"
16 
17 namespace P6R {
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
33 interface p6ISAX2Locator : public p6ICom
34 {
50  P6COMMETHOD getColumnNumber( P6UINT32* pNumber ) = 0;
51 
68  P6COMMETHOD getLineNumber( P6UINT32* pNumber ) = 0;
69 
81  P6COMMETHOD getPublicId( const P6CHAR** pPublicId ) = 0;
82 
94  P6COMMETHOD getSystemId( const P6CHAR** pSystemId ) = 0;
95 
112  P6SAX2STRING* pNameSpaceURI ) = 0;
113 };
114 
115 // {C0F4BDC1-F09E-497a-BD27-FCB28C8C766A}
116 #define IF_p6ISAX2Locator {0xc0f4bdc1,0xf09e,0x497a,{0xbd,0x27,0xfc,0xb2,0x8c,0x8c,0x76,0x6a}}
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 } // namespace
123 
124 
125 #endif
126 
127 
128 
129 
130 
131 
132 
133 
This is the standard structure used to point to tokens inside the XML document being parsed...
virtual P6R::P6ERR getPublicId(const P6CHAR **pPublicId)=0
Standard SAX2 method, currently not implemented.
unsigned int P6UINT32
Definition: p6types.h:40
Standard error codes.
virtual P6R::P6ERR nameSpaceInScope(P6SAX2STRING *pPrefix, P6SAX2STRING *pNameSpaceURI)=0
Extension to SAX2 definition.
This is a standard SAX2 interface which is implemented by P6R's XML parser.
Definition: p6sax2locator.h:33
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:96
P6COM base interface definitions.
To avoid having to copy strings or creating new strings we simply point into a set of buffers the sta...
Definition: p6sax2types.h:34
virtual P6R::P6ERR getColumnNumber(P6UINT32 *pNumber)=0
The application making use of the XML Reader can use this interface to find out where in the XML docu...
#define P6COMMETHOD
Definition: p6types.h:872
virtual P6R::P6ERR getSystemId(const P6CHAR **pSystemId)=0
Standard SAX2 method, currently not implemented.
virtual P6R::P6ERR getLineNumber(P6UINT32 *pNumber)=0
Return the current line number, in the XML document being parsed, where the XML parser is currently p...
char P6CHAR
Narrow character type.
Definition: p6types.h:71