Interface ChangesSchemaValidator
- All Known Implementing Classes:
DefaultChangesSchemaValidator
public interface ChangesSchemaValidator
- Since:
- 28 juil. 2008
- Version:
- $Id$
- Author:
- Olivier Lamy
-
Method Summary
Modifier and TypeMethodDescriptionvalidateXmlWithSchema
(File file, String schemaVersion, boolean failOnValidationError)
-
Method Details
-
validateXmlWithSchema
XmlValidationHandler validateXmlWithSchema(File file, String schemaVersion, boolean failOnValidationError) throws SchemaValidatorException - Parameters:
file
- File to validate.schemaVersion
- Schema version.failOnValidationError
- if false SchemaValidatorException will not be throw- Returns:
XmlValidationHandler
- Throws:
SchemaValidatorException
- if validation failed.
-