Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XERCESDOMPARSER_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XERCESDOMPARSER_HPP 
   27 #include <xercesc/validators/common/Grammar.hpp> 
  159     bool isCachingGrammarFromParse() 
const;
 
  171     bool isUsingCachedGrammarInParse() 
const;
 
  179     Grammar* getGrammar(
const XMLCh* 
const nameSpaceKey);
 
  186     Grammar* getRootGrammar();
 
  194     const XMLCh* getURIText(
unsigned int uriId) 
const;
 
  211     bool getIgnoreCachedDTD() 
const;
 
  292     void cacheGrammarFromParse(
const bool newState);
 
  312     void useCachedGrammarInParse(
const bool newState);
 
  328     void setIgnoreCachedDTD(
const bool newValue);
 
  361     void resetDocumentPool();
 
  398         const   unsigned int                errCode
 
  399         , 
const XMLCh* 
const                msgDomain
 
  401         , 
const XMLCh* 
const                errorText
 
  402         , 
const XMLCh* 
const                systemId
 
  403         , 
const XMLCh* 
const                publicId
 
  458         const   XMLCh* 
const    systemId
 
  542                          const Grammar::GrammarType grammarType,
 
  543                          const bool toCache = 
false);
 
  569     Grammar* loadGrammar(
const XMLCh* 
const systemId,
 
  570                          const Grammar::GrammarType grammarType,
 
  571                          const bool toCache = 
false);
 
  596     Grammar* loadGrammar(
const char* 
const systemId,
 
  597                          const Grammar::GrammarType grammarType,
 
  598                          const bool toCache = 
false);
 
  603     void resetCachedGrammarPool();
 
  666     return fErrorHandler;
 
  671     return fErrorHandler;
 
  676     return fEntityResolver;
 
  681     return fEntityResolver;
 
  686     return fXMLEntityResolver;
 
  691     return fXMLEntityResolver;
 
  
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
ErrTypes
Definition: XMLErrorReporter.hpp:48
XMLEntityResolver * getXMLEntityResolver()
Get a pointer to the entity resolver.
Definition: XercesDOMParser.hpp:684
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
virtual InputSource * resolveEntity(XMLResourceIdentifier *resourceIdentifier)=0
This method allows the entity handler to provide customized application specific entity resolution.
ErrorHandler * getErrorHandler()
Get a pointer to the error handler.
Definition: XercesDOMParser.hpp:664
XMLUInt64 XMLFileLoc
Definition: Xerces_autoconf_config.hpp:144
Definition: XMLResourceIdentifier.hpp:95
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
virtual void startInputSource(const InputSource &inputSource)
Handle a 'start input source' event.
Definition: XercesDOMParser.hpp:655
Definition: XMLGrammarPool.hpp:43
virtual void error(const unsigned int errCode, const XMLCh *const errDomain, const ErrTypes type, const XMLCh *const errorText, const XMLCh *const systemId, const XMLCh *const publicId, const XMLFileLoc lineNum, const XMLFileLoc colNum)=0
Called to report errors from the scanner or validator.
virtual bool expandSystemId(const XMLCh *const systemId, XMLBuffer &toFill)=0
This method allows the passes the scanned systemId to the entity handler, thereby giving it a chance ...
XMLUInt64 XMLFilePos
Definition: Xerces_autoconf_config.hpp:139
virtual void resetEntities()
Reset any entity handler information.
Definition: XercesDOMParser.hpp:650
Basic interface for resolving entities.
Definition: EntityResolver.hpp:86
virtual bool expandSystemId(const XMLCh *const systemId, XMLBuffer &toFill)
Expand a system id.
Definition: XercesDOMParser.hpp:644
This class implements the Document Object Model (DOM) interface.
Definition: AbstractDOMParser.hpp:54
#define PARSERS_EXPORT
Definition: XercesDefs.hpp:168
Revised interface for resolving entities.
Definition: XMLEntityResolver.hpp:99
virtual void endInputSource(const InputSource &inputSource)=0
This method get called after the scanner has finished reading from the given input source while proce...
Configurable memory manager.
Definition: MemoryManager.hpp:39
This class implements the Document Object Model (DOM) interface.
Definition: XercesDOMParser.hpp:47
This abstract class provides the interface for all validators.
Definition: XMLValidator.hpp:52
EntityResolver * getEntityResolver()
Get a pointer to the entity resolver.
Definition: XercesDOMParser.hpp:674
virtual void endInputSource(const InputSource &inputSource)
Handle an end of input source event.
Definition: XercesDOMParser.hpp:639
virtual void resetEntities()=0
This method allows the entity handler to reset itself, so that it can be used again.
virtual void startInputSource(const InputSource &inputSource)=0
This method will be called before the scanner starts reading from an input source while processing ex...
virtual void resetErrors()=0
Called before a new parse event to allow the handler to reset.
Basic interface for SAX error handlers.
Definition: ErrorHandler.hpp:60