22 #ifndef CTKCMDLINEMODULEXMLVALIDATOR_H
23 #define CTKCMDLINEMODULEXMLVALIDATOR_H
25 #include <ctkCommandLineModulesCoreExport.h>
27 #include <QScopedPointer>
29 class ctkCmdLineModuleXmlValidatorPrivate;
85 QScopedPointer<ctkCmdLineModuleXmlValidatorPrivate> d;
Provides validation of an XML document against an XML schema.
~ctkCmdLineModuleXmlValidator()
QIODevice * input() const
Get the XML input device.
virtual QString errorString() const
Get the error string.
ctkCmdLineModuleXmlValidator(QIODevice *input=0)
void setInput(QIODevice *input)
Set the XML input.
virtual bool validateInput()
Validate the XML input against the XML schema set via setInputSchema().
virtual bool error() const
Get the error flag.
void setInputSchema(QIODevice *input)
Set the XML schema to be used during validation.