#include <xmltooling/validation/ValidatorSuite.h>
Public Member Functions | |
ValidatorSuite (const char *id) | |
Creates a new suite. | |
const char * | getId () |
Gets a unique ID for this suite. | |
void | validate (const XMLObject *xmlObject) const |
Evaluates the registered validators against the given XMLObject and it's children. | |
void | registerValidator (const QName &key, Validator *validator) |
Registers a new validator for the given key. | |
void | deregisterValidators (const QName &key) |
Deregisters validators. | |
void | destroyValidators () |
Unregisters and destroys all registered validators. |
These collections can represent usage specific checks, such as those outlined in schemas or profiles of specific XML specifications.
Registered Validators must be stateless. Validators are fetched based on schema type and element name, in that order.
|
Creates a new suite.
|
|
Deregisters validators.
|
|
Gets a unique ID for this suite.
|
|
Registers a new validator for the given key.
|
|
Evaluates the registered validators against the given XMLObject and it's children.
|