Validator Plugin Extension
This type of plugin allows you to add an external validation engine from a plugin.
The name of the plugin extension is DocumentValidator and it makes it possible to contribute your own implementation of a validation engine. After the plugin is installed, if you create a new validation scenario or edit an existing validation scenario to add a validation stage, you will find the name of the new engine contributed by the plugin in the Validation Engine combo box.
To create a plugin that implements the validator extension:
- Implement the ro.sync.exml.plugin.validator.ValidatorPluginExtension interface in your plugin's libraries.
- In the plugin descriptor file, define the
<extension>
element that points to the implementation of your classes:<extension type="DocumentValidator" class="my.validator.plugin.extension"/>