23#if !defined(XERCESC_INCLUDE_GUARD_DOMLSPARSER_HPP)
24#define XERCESC_INCLUDE_GUARD_DOMLSPARSER_HPP
29#include <xercesc/validators/common/Grammar.hpp>
119 ACTION_APPEND_AS_CHILDREN = 1,
120 ACTION_REPLACE_CHILDREN = 2,
121 ACTION_INSERT_BEFORE = 3,
122 ACTION_INSERT_AFTER = 4,
667 const Grammar::GrammarType grammarType,
668 const bool toCache =
false) = 0;
694 const Grammar::GrammarType grammarType,
695 const bool toCache =
false) = 0;
721 const Grammar::GrammarType grammarType,
722 const bool toCache =
false) = 0;
#define CDOM_EXPORT
Definition XercesDefs.hpp:166
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
XMLUInt64 XMLFilePos
Definition Xerces_autoconf_config.hpp:139
The DOMConfiguration interface represents the configuration of a document and maintains a table of re...
Definition DOMConfiguration.hpp:351
The DOMDocument interface represents the entire XML document.
Definition DOMDocument.hpp:67
Basic interface for DOM error handlers.
Definition DOMErrorHandler.hpp:47
Definition DOMLSParserFilter.hpp:45
DOMLSParser provides an API for parsing XML documents and building the corresponding DOM document tre...
Definition DOMLSParser.hpp:48
virtual DOMDocument * parseURI(const XMLCh *const uri)=0
Parse an XML document from a location identified by a URI reference [IETF RFC 2396].
virtual Grammar * getGrammar(const XMLCh *const nameSpaceKey) const =0
Retrieve the grammar that is associated with the specified namespace key.
virtual const XMLCh * getURIText(unsigned int uriId) const =0
Returns the string corresponding to a URI id from the URI string pool.
virtual XMLFilePos getSrcOffset() const =0
Returns the current src offset within the input source.
virtual ~DOMLSParser()
Destructor.
Definition DOMLSParser.hpp:78
virtual void resetDocumentPool()=0
Reset the documents vector pool and release all the associated memory back to the system.
virtual const DOMLSParserFilter * getFilter() const =0
Get a const pointer to the application filter.
virtual DOMDocument * parseURI(const char *const uri)=0
Parse an XML document from a location identified by a URI reference [IETF RFC 2396].
virtual Grammar * loadGrammar(const DOMLSInput *source, const Grammar::GrammarType grammarType, const bool toCache=false)=0
Preparse schema grammar (XML Schema, DTD, etc.) via an input source object.
virtual bool getAsync() const =0
Return whether the parser is asynchronous.
virtual DOMConfiguration * getDomConfig()=0
Get a pointer to the DOMConfiguration object used when parsing an input source.
virtual void setFilter(DOMLSParserFilter *const filter)=0
Set the application filter.
virtual DOMNode * parseWithContext(const DOMLSInput *source, DOMNode *contextNode, const ActionType action)=0
Parse an XML fragment from a resource identified by a DOMLSInput and insert the content into an exist...
DOMLSParser()
Definition DOMLSParser.hpp:55
virtual Grammar * loadGrammar(const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0
Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
virtual Grammar * loadGrammar(const XMLCh *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0
Preparse schema grammar (XML Schema, DTD, etc.) via a file path or URL.
virtual void abort()=0
Abort the loading of the document that is currently being loaded by the DOMLSParser.
virtual void release()=0
Called to indicate that this DOMLSParser is no longer in use and that the implementation may relinqui...
virtual DOMDocument * parse(const DOMLSInput *source)=0
Parse an XML document from a resource identified by a DOMLSInput.
virtual Grammar * getRootGrammar() const =0
Retrieve the grammar where the root element is declared.
virtual void resetCachedGrammarPool()=0
Clear the cached grammar pool.
virtual bool getBusy() const =0
Return whether the parser is busy parsing.
ActionType
A set of possible actions for the parseWithContext method.
Definition DOMLSParser.hpp:118
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition DOMNode.hpp:139