Xerces-C++: XMLDocumentHandler.hpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#if !defined(XERCESC_INCLUDE_GUARD_XMLDOCUMENTHANDLER_HPP)
23#define XERCESC_INCLUDE_GUARD_XMLDOCUMENTHANDLER_HPP
24
26#include <xercesc/util/RefVectorOf.hpp>
28
30
33
43{
44public:
45
46
47
54
78 (
79 const XMLCh* const chars
81 , const bool cdataSection
82 ) = 0;
83
92 (
93 const XMLCh* const comment
94 ) = 0;
95
106 (
107 const XMLCh* const target
108 , const XMLCh* const data
109 ) = 0;
110
119
135 (
137 , const unsigned int uriId
138 , const bool isRoot
139 , const XMLCh* const prefixName = 0
140 ) = 0;
141
150 (
152 ) = 0;
153
177 (
178 const XMLCh* const chars
180 , const bool cdataSection
181 ) = 0;
182
190
197
216 (
218 , const unsigned int uriId
219 , const XMLCh* const prefixName
220 , const RefVectorOf& attrList
222 , const bool isEmpty
223 , const bool isRoot
224 ) = 0;
225
234
253 (
254 const XMLCh* const versionStr
255 , const XMLCh* const encodingStr
256 , const XMLCh* const standaloneStr
257 , const XMLCh* const autoEncodingStr
258 ) = 0;
259
261
262
263
264protected :
265
266
267
271
272
273private:
274
275
276
279};
280
282
283#endif
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
This abstract class provides the interface for the scanner to return XML document information up to t...
Definition XMLDocumentHandler.hpp:43
virtual void endEntityReference(const XMLEntityDecl &entDecl)=0
Receive notification when a referenced entity's content ends.
virtual void startElement(const XMLElementDecl &elemDecl, const unsigned int uriId, const XMLCh *const prefixName, const RefVectorOf< XMLAttr > &attrList, const XMLSize_t attrCount, const bool isEmpty, const bool isRoot)=0
Receive notification of a new start tag.
virtual void XMLDecl(const XMLCh *const versionStr, const XMLCh *const encodingStr, const XMLCh *const standaloneStr, const XMLCh *const autoEncodingStr)=0
Receive notification of an XML declaration.
virtual void startEntityReference(const XMLEntityDecl &entDecl)=0
Receive notification when the scanner hits an entity reference.
virtual void endElement(const XMLElementDecl &elemDecl, const unsigned int uriId, const bool isRoot, const XMLCh *const prefixName=0)=0
Receive notification of the end of an element.
XMLDocumentHandler()
Definition XMLDocumentHandler.hpp:268
virtual void resetDocument()=0
Reset the document handler's state, if required.
virtual ~XMLDocumentHandler()
Definition XMLDocumentHandler.hpp:50
virtual void endDocument()=0
Receive notification after the scanner has parsed the end of the document.
virtual void docComment(const XMLCh *const comment)=0
Receive notification of comments in the XML content being parsed.
virtual void startDocument()=0
Receive notification of the start of a new document.
virtual void ignorableWhitespace(const XMLCh *const chars, const XMLSize_t length, const bool cdataSection)=0
Receive notification of ignorable whitespace in element content.
virtual void docCharacters(const XMLCh *const chars, const XMLSize_t length, const bool cdataSection)=0
Receive notification of character data.
virtual void docPI(const XMLCh *const target, const XMLCh *const data)=0
Receive notification of PI's parsed in the XML content.
This class defines the core information of an element declaration.
Definition XMLElementDecl.hpp:52
This class defines that core information that defines an XML entity, no matter what validator is used...
Definition XMLEntityDecl.hpp:51