Provides validation of an XML document against an XML schema.
More...
#include <Libs/CommandLineModules/Core/ctkCmdLineModuleXmlValidator.h>
Provides validation of an XML document against an XML schema.
Definition at line 39 of file ctkCmdLineModuleXmlValidator.h.
◆ ctkCmdLineModuleXmlValidator()
ctkCmdLineModuleXmlValidator::ctkCmdLineModuleXmlValidator |
( |
QIODevice * |
input = 0 | ) |
|
◆ ~ctkCmdLineModuleXmlValidator()
ctkCmdLineModuleXmlValidator::~ctkCmdLineModuleXmlValidator |
( |
| ) |
|
◆ error()
virtual bool ctkCmdLineModuleXmlValidator::error |
( |
| ) |
const |
|
virtual |
◆ errorString()
virtual QString ctkCmdLineModuleXmlValidator::errorString |
( |
| ) |
const |
|
virtual |
◆ input()
QIODevice* ctkCmdLineModuleXmlValidator::input |
( |
| ) |
const |
Get the XML input device.
- Returns
- The XML input device.
◆ setInput()
void ctkCmdLineModuleXmlValidator::setInput |
( |
QIODevice * |
input | ) |
|
Set the XML input.
- Parameters
-
◆ setInputSchema()
void ctkCmdLineModuleXmlValidator::setInputSchema |
( |
QIODevice * |
input | ) |
|
Set the XML schema to be used during validation.
- Parameters
-
◆ validateInput()
virtual bool ctkCmdLineModuleXmlValidator::validateInput |
( |
| ) |
|
|
virtual |
Validate the XML input against the XML schema set via setInputSchema().
- Returns
true
if validation was successful, false
otherwise.
The documentation for this class was generated from the following file: