16 #ifndef ZORBA_XMLDATAMANAGER_API_H
17 #define ZORBA_XMLDATAMANAGER_API_H
20 #include <zorba/config.h>
46 bool theDtdValidation;
47 bool theExternalEntityProcessing;
51 theDtdValidation(
false),
52 theExternalEntityProcessing(
false)
64 theDtdValidation = aEnable;
72 return theDtdValidation;
84 theExternalEntityProcessing = aEnable;
93 return theExternalEntityProcessing;
98 getDocumentManager()
const = 0;
114 getCollectionManager()
const = 0;
131 getW3CCollectionManager()
const = 0;
137 parseXML(std::istream& aStream)
const = 0;
149 parseXML(std::istream& aStream,
const String& aBaseURI)
const = 0;
164 parseXML(std::istream& aStream, ParseOptions& aOptions)
const = 0;
185 std::istream& aStream,
187 ParseOptions& aOptions)
const = 0;
194 fetch(
const String& aURI)
const = 0;
210 #ifndef ZORBA_NO_FULL_TEXT
The ParseOptions class stores various properties that affect how a document is parsed.
Using the XmlDataManager one can manage documents and collections.
The Zorba Item interface.
virtual ~XmlDataManager()
Destructor.
A StemmerProvider, given a language, provides a Stemmer for it.
void setDtdValidation(bool aEnable)
Set the property enableDtd, which specifies whether the document should be validated against its asso...
bool isExternalEntityProcessingEnabled() const
Returns true if external entity processig is enabled, false otherwise.
When registered with an XQuery object, a DiagnosticHandler handles all exceptions and warnings that o...
A TokenizerProvider provides a Tokenizer for a given language.
This class defines a set of functions for managing persistent collections.
bool isDtdValidationEnabled() const
Returns true if dtd validation is enabled, false otherwise.
void setExternalEntityProcessing(bool aEnable)
Set the property to enable or disable processing of XML external entities.