Base class for schema validators.
More...
#include <libxml++/validators/schemavalidatorbase.h>
|
typedef const void* | BoolExpr |
| This typedef is just to make it more obvious that our operator const void* should be used like operator bool(). More...
|
|
Base class for schema validators.
- Since libxml++ 2.38:
This typedef is just to make it more obvious that our operator const void* should be used like operator bool().
xmlpp::SchemaValidatorBase::SchemaValidatorBase |
( |
| ) |
|
xmlpp::SchemaValidatorBase::~SchemaValidatorBase |
( |
| ) |
|
|
override |
void xmlpp::SchemaValidatorBase::initialize_valid |
( |
| ) |
|
|
overrideprotectedvirtual |
virtual xmlpp::SchemaValidatorBase::operator BoolExpr |
( |
| ) |
const |
|
pure virtual |
virtual void xmlpp::SchemaValidatorBase::parse_document |
( |
const Document* |
document | ) |
|
|
pure virtual |
Parse a schema definition from a document.
If the validator already contains a schema, that schema is released (deleted if the validator owns the schema).
- Parameters
-
document | A preparsed document tree, containing the schema definition. |
- Exceptions
-
Implemented in xmlpp::RelaxNGValidator, and xmlpp::XsdValidator.
virtual void xmlpp::SchemaValidatorBase::parse_file |
( |
const Glib::ustring & |
filename | ) |
|
|
pure virtual |
Parse a schema definition file.
If the validator already contains a schema, that schema is released (deleted if the validator owns the schema).
- Parameters
-
filename | The URL of the schema. |
- Exceptions
-
Implemented in xmlpp::RelaxNGValidator, and xmlpp::XsdValidator.
virtual void xmlpp::SchemaValidatorBase::parse_memory |
( |
const Glib::ustring & |
contents | ) |
|
|
pure virtual |
Parse a schema definition from a string.
If the validator already contains a schema, that schema is released (deleted if the validator owns the schema).
- Parameters
-
contents | The schema definition as a string. |
- Exceptions
-
Implemented in xmlpp::RelaxNGValidator, and xmlpp::XsdValidator.
void xmlpp::SchemaValidatorBase::release_underlying |
( |
| ) |
|
|
overrideprotectedvirtual |
virtual void xmlpp::SchemaValidatorBase::validate |
( |
const Document* |
document | ) |
|
|
pure virtual |
virtual void xmlpp::SchemaValidatorBase::validate |
( |
const Glib::ustring & |
filename | ) |
|
|
pure virtual |