22 #if !defined(XERCESC_INCLUDE_GUARD_SAX2XMLREADER_HPP)
23 #define XERCESC_INCLUDE_GUARD_SAX2XMLREADER_HPP
28 #include <xercesc/framework/XMLPScanToken.hpp>
29 #include <xercesc/validators/common/Grammar.hpp>
112 virtual DTDHandler* getDTDHandler()
const = 0;
135 virtual bool getFeature(
const XMLCh*
const name)
const = 0;
155 virtual void* getProperty(
const XMLCh*
const name)
const = 0 ;
173 virtual void setContentHandler(
ContentHandler*
const handler) = 0;
190 virtual void setDTDHandler(
DTDHandler*
const handler) = 0;
208 virtual void setEntityResolver(
EntityResolver*
const resolver) = 0;
227 virtual void setErrorHandler(
ErrorHandler*
const handler) = 0;
252 virtual void setFeature(
const XMLCh*
const name,
const bool value) = 0;
280 virtual void setProperty(
const XMLCh*
const name,
void* value) = 0 ;
333 const XMLCh*
const systemId
357 const char*
const systemId
372 virtual DeclHandler* getDeclarationHandler()
const = 0 ;
397 virtual void setDeclarationHandler(
DeclHandler*
const handler) = 0;
415 virtual void setLexicalHandler(
LexicalHandler*
const handler) = 0;
446 virtual XMLSize_t getErrorCount()
const = 0 ;
461 virtual bool getExitOnFirstFatalError()
const = 0;
477 virtual bool getValidationConstraintFatal()
const = 0;
485 virtual Grammar* getGrammar(
const XMLCh*
const nameSpaceKey) = 0;
492 virtual Grammar* getRootGrammar() = 0;
500 virtual const XMLCh* getURIText(
unsigned int uriId)
const = 0;
526 virtual void setValidator(
XMLValidator* valueToAdopt) = 0;
549 virtual void setExitOnFirstFatalError(
const bool newState) = 0;
576 virtual void setValidationConstraintFatal(
const bool newState) = 0;
614 virtual bool parseFirst
616 const XMLCh*
const systemId
617 , XMLPScanToken& toFill
647 virtual bool parseFirst
649 const char*
const systemId
650 , XMLPScanToken& toFill
680 virtual bool parseFirst
683 , XMLPScanToken& toFill
710 virtual bool parseNext(XMLPScanToken& token) = 0;
733 virtual void parseReset(XMLPScanToken& token) = 0;
769 virtual Grammar* loadGrammar(
const InputSource& source,
770 const Grammar::GrammarType grammarType,
771 const bool toCache =
false) = 0;
797 virtual Grammar* loadGrammar(
const XMLCh*
const systemId,
798 const Grammar::GrammarType grammarType,
799 const bool toCache =
false) = 0;
824 virtual Grammar* loadGrammar(
const char*
const systemId,
825 const Grammar::GrammarType grammarType,
826 const bool toCache =
false) = 0;
831 virtual void resetCachedGrammarPool() = 0;
843 virtual void setInputBufferSize(
const XMLSize_t bufferSize);
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.borland.hpp:111
Receive notification of basic DTD-related events.
Definition: DTDHandler.hpp:59
Basic interface for resolving entities.
Definition: EntityResolver.hpp:86
Basic interface for SAX error handlers.
Definition: ErrorHandler.hpp:60
virtual ~SAX2XMLReader()
The destructor.
Definition: SAX2XMLReader.hpp:89
#define SAX2_EXPORT
Definition: XercesDefs.hpp:165
This abstract class provides the interface for the scanner to return XML document information up to t...
Definition: XMLDocumentHandler.hpp:42
Definition: SAX2XMLReader.hpp:42
SIZE_T XMLSize_t
Definition: Xerces_autoconf_config.borland.hpp:86
ValSchemes
ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.
Definition: SAX2XMLReader.hpp:70
Receive notification of general document events.
Definition: ContentHandler.hpp:60
Receive notification of DTD declaration events.
Definition: DeclHandler.hpp:48
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
SAX2XMLReader()
The default constructor.
Definition: SAX2XMLReader.hpp:85
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
This abstract class provides the interface for all validators.
Definition: XMLValidator.hpp:52
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
virtual void setInputBufferSize(const XMLSize_t bufferSize)
Set maximum input buffer size.
Definition: SAX2XMLReader.hpp:890
Receive notification of lexical events.
Definition: LexicalHandler.hpp:46