The ParseOptions class stores various properties that affect how a document is parsed. More...
#include <zorba/xmldatamanager.h>
Public Member Functions | |
bool | isDtdValidationEnabled () const |
Returns true if dtd validation is enabled, false otherwise. | |
bool | isExternalEntityProcessingEnabled () const |
Returns true if external entity processig is enabled, false otherwise. | |
ParseOptions () | |
void | setDtdValidation (bool aEnable) |
Set the property enableDtd, which specifies whether the document should be validated against its associated DTD (if any). | |
void | setExternalEntityProcessing (bool aEnable) |
Set the property to enable or disable processing of XML external entities. | |
~ParseOptions () |
The ParseOptions class stores various properties that affect how a document is parsed.
An instance of this class is passed as input to the parseXML function.
zorba::XmlDataManager::ParseOptions::ParseOptions | ( | ) | [inline] |
Definition at line 50 of file xmldatamanager.h.
zorba::XmlDataManager::ParseOptions::~ParseOptions | ( | ) | [inline] |
Definition at line 55 of file xmldatamanager.h.
bool zorba::XmlDataManager::ParseOptions::isDtdValidationEnabled | ( | ) | const [inline] |
Returns true if dtd validation is enabled, false otherwise.
Definition at line 70 of file xmldatamanager.h.
bool zorba::XmlDataManager::ParseOptions::isExternalEntityProcessingEnabled | ( | ) | const [inline] |
Returns true if external entity processig is enabled, false otherwise.
Definition at line 91 of file xmldatamanager.h.
void zorba::XmlDataManager::ParseOptions::setDtdValidation | ( | bool | aEnable | ) | [inline] |
Set the property enableDtd, which specifies whether the document should be validated against its associated DTD (if any).
Definition at line 62 of file xmldatamanager.h.
void zorba::XmlDataManager::ParseOptions::setExternalEntityProcessing | ( | bool | aEnable | ) | [inline] |
Set the property to enable or disable processing of XML external entities.
If the option is enabled, the input must conform to the syntax _extParsedEnt_ (production [78] in XML 1.0); and since there is no DTD, the content must include no entity references. The result of the function call is a sequence of nodes.
Definition at line 82 of file xmldatamanager.h.